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

Unified Diff: third_party/expat/BUILD.gn

Issue 1573323002: [Chromecast] Don't use system libexpat. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Added comment for GN chromecast case. Created 4 years, 11 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 | « no previous file | third_party/expat/expat.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/expat/BUILD.gn
diff --git a/third_party/expat/BUILD.gn b/third_party/expat/BUILD.gn
index 78ddb0531c33e35d58350e2801aefa545738fac7..533296e55c68f51d7ebb56d322c5565fbb6925c6 100644
--- a/third_party/expat/BUILD.gn
+++ b/third_party/expat/BUILD.gn
@@ -2,7 +2,10 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-if (is_linux) {
+import("//build/config/chromecast_build.gni")
+
+# Chromecast doesn't ship expat as a system library
+if (is_linux && !is_chromecast) {
config("expat_config") {
libs = [ "expat" ]
}
« no previous file with comments | « no previous file | third_party/expat/expat.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698