Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: build/config/linux/dbus/BUILD.gn

Issue 1909273002: 🐳 Move linux pkg_config() calls into separate BUILD.gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments & visibility Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/linux/atk/BUILD.gn ('k') | build/config/linux/gconf/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/linux/dbus/BUILD.gn
diff --git a/build/linux/unbundle/libxml.gn b/build/config/linux/dbus/BUILD.gn
similarity index 50%
copy from build/linux/unbundle/libxml.gn
copy to build/config/linux/dbus/BUILD.gn
index c481bd3547bb2b268a26e4582f689e53b5514728..a26ca92b5fcfdfd2b175d3cf5d481b75db4cadeb 100644
--- a/build/linux/unbundle/libxml.gn
+++ b/build/config/linux/dbus/BUILD.gn
@@ -4,15 +4,8 @@
import("//build/config/linux/pkg_config.gni")
-pkg_config("system_libxml") {
- packages = [ "libxml-2.0" ]
-}
-
-static_library("libxml") {
- sources = [
- "chromium/libxml_utils.cc",
- "chromium/libxml_utils.h",
- ]
-
- public_configs = [ ":system_libxml" ]
+# Note: if your target also depends on //dbus, you don't need to add this
+# config (it will get added automatically if you depend on //dbus).
+pkg_config("dbus") {
+ packages = [ "dbus-1" ]
}
« no previous file with comments | « build/config/linux/atk/BUILD.gn ('k') | build/config/linux/gconf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698