OLD | NEW |
---|---|
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 Loading... | |
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 } |
OLD | NEW |