Run sysroot script in hooks. Remove some pkg-config dependencies.
diff --git a/DEPS b/DEPS
index d00d462..38de827 100644
--- a/DEPS
+++ b/DEPS
@@ -169,4 +169,10 @@
'-s', 'src/buildtools/linux64/gn.sha1',
],
},
+ {
+ 'name': 'sysroot',
+ 'pattern': '.',
+ 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
+ '--running-as-hook'],
+ },
]
diff --git a/build/config/linux/BUILD.gn b/build/config/linux/BUILD.gn
index 313837a..a72d2ca 100644
--- a/build/config/linux/BUILD.gn
+++ b/build/config/linux/BUILD.gn
@@ -33,9 +33,9 @@
libs = [ "fontconfig" ]
}
-pkg_config("freetype2") {
- packages = [ "freetype2" ]
-}
+#pkg_config("freetype2") {
+# packages = [ "freetype2" ]
+#}
pkg_config("glib") {
packages = [