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" ] |
} |