No longer need to use $shared_toolchain
Change-Id: Id4fae0bdaf57112606e0644611af358fa3a1db3b
diff --git a/BUILD.gn b/BUILD.gn
index ccc6f78..09feabf 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -26,7 +26,6 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-import("//build/toolchain/shared.gni")
import("//packages/package.gni")
# This is the configuration needed to use libxml2.
@@ -60,18 +59,10 @@
}
group("libxml2") {
- public_configs = [ ":libxml2_config" ]
-
- public_deps = [
- ":xml2_lib($shared_toolchain)",
- ]
+ public_deps = [ ":xml2" ]
}
-shared_library("xml2_lib") {
- visibility = [ ":*" ]
-
- output_name = "xml2"
-
+shared_library("xml2") {
sources = [
"DOCBparser.c",
"HTMLparser.c",