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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/expat/expat.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 if (is_linux) { 5 import("//build/config/chromecast_build.gni")
6
7 # Chromecast doesn't ship expat as a system library
8 if (is_linux && !is_chromecast) {
6 config("expat_config") { 9 config("expat_config") {
7 libs = [ "expat" ] 10 libs = [ "expat" ]
8 } 11 }
9 12
10 group("expat") { 13 group("expat") {
11 public_configs = [ ":expat_config" ] 14 public_configs = [ ":expat_config" ]
12 } 15 }
13 } else { 16 } else {
14 config("expat_config") { 17 config("expat_config") {
15 include_dirs = [ "files/lib" ] 18 include_dirs = [ "files/lib" ]
(...skipping 11 matching lines...) Expand all
27 public_configs = [ ":expat_config" ] 30 public_configs = [ ":expat_config" ]
28 31
29 defines = [ "_LIB" ] 32 defines = [ "_LIB" ]
30 if (is_win) { 33 if (is_win) {
31 defines += [ "COMPILED_FROM_DSP" ] 34 defines += [ "COMPILED_FROM_DSP" ]
32 } else { 35 } else {
33 defines += [ "HAVE_EXPAT_CONFIG_H" ] 36 defines += [ "HAVE_EXPAT_CONFIG_H" ]
34 } 37 }
35 } 38 }
36 } 39 }
OLDNEW
« 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