diff --git a/libc-test/test_template.gni b/libc-test/test_template.gni index c9e06dfc4d01eae33a3ee3a478cde6f3189ce0ef..d809d74ea589ec590f7ee6da4493b779931a868f 100644 --- a/libc-test/test_template.gni +++ b/libc-test/test_template.gni @@ -132,9 +132,7 @@ template("test_unittest") { } if (target_name == "test-malloc-info") { - include_dirs += [ "//third_party/libxml2/include" ] - lib_dirs = [ "//${root_out_dir}/thirdparty/libxml2" ] - libs += [ "xml2.z" ] + deps = [ "//third_party/libxml2:xml2" ] } }