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 if (is_linux) { |
6 config("expat_config") { | 6 config("expat_config") { |
7 libs = [ "expat" ] | 7 libs = [ "expat" ] |
8 } | 8 } |
9 | 9 |
10 group("expat") { | 10 group("expat") { |
(...skipping 11 matching lines...) Expand all Loading... |
22 static_library("expat") { | 22 static_library("expat") { |
23 sources = [ | 23 sources = [ |
24 "files/lib/expat.h", | 24 "files/lib/expat.h", |
25 "files/lib/xmlparse.c", | 25 "files/lib/xmlparse.c", |
26 "files/lib/xmlrole.c", | 26 "files/lib/xmlrole.c", |
27 "files/lib/xmltok.c", | 27 "files/lib/xmltok.c", |
28 ] | 28 ] |
29 | 29 |
30 defines = [ "_LIB" ] | 30 defines = [ "_LIB" ] |
31 if (is_win) { | 31 if (is_win) { |
32 defines += "COMPILED_FROM_DSP" | 32 defines += [ "COMPILED_FROM_DSP" ] |
33 } else { | 33 } else { |
34 defines += "HAVE_EXPAT_CONFIG_H" | 34 defines += [ "HAVE_EXPAT_CONFIG_H" ] |
35 } | 35 } |
36 } | 36 } |
37 } | 37 } |
OLD | NEW |