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

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: Add GN change. 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 if (is_linux && !is_chromecast) {
brettw 2016/01/11 23:25:33 Can this have a comment about why the checked-in e
6 config("expat_config") { 8 config("expat_config") {
7 libs = [ "expat" ] 9 libs = [ "expat" ]
8 } 10 }
9 11
10 group("expat") { 12 group("expat") {
11 public_configs = [ ":expat_config" ] 13 public_configs = [ ":expat_config" ]
12 } 14 }
13 } else { 15 } else {
14 config("expat_config") { 16 config("expat_config") {
15 include_dirs = [ "files/lib" ] 17 include_dirs = [ "files/lib" ]
(...skipping 11 matching lines...) Expand all
27 public_configs = [ ":expat_config" ] 29 public_configs = [ ":expat_config" ]
28 30
29 defines = [ "_LIB" ] 31 defines = [ "_LIB" ]
30 if (is_win) { 32 if (is_win) {
31 defines += [ "COMPILED_FROM_DSP" ] 33 defines += [ "COMPILED_FROM_DSP" ]
32 } else { 34 } else {
33 defines += [ "HAVE_EXPAT_CONFIG_H" ] 35 defines += [ "HAVE_EXPAT_CONFIG_H" ]
34 } 36 }
35 } 37 }
36 } 38 }
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