OLD | NEW |
1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 declare_args() { | 6 declare_args() { |
7 } | 7 } |
8 | 8 |
9 import("../third_party.gni") | 9 import("../third_party.gni") |
10 | 10 |
11 third_party("expat") { | 11 third_party("expat") { |
12 public_include_dirs = [ "../externals/expat" ] | 12 public_include_dirs = [ "../externals/expat/lib" ] |
13 | 13 |
14 defines = [ "HAVE_MEMMOVE" ] | 14 defines = [ "HAVE_MEMMOVE" ] |
15 | 15 |
16 sources = [ | 16 sources = [ |
17 "../externals/expat/lib/xmlparse.c", | 17 "../externals/expat/lib/xmlparse.c", |
18 "../externals/expat/lib/xmlrole.c", | 18 "../externals/expat/lib/xmlrole.c", |
19 "../externals/expat/lib/xmltok.c", | 19 "../externals/expat/lib/xmltok.c", |
20 ] | 20 ] |
21 } | 21 } |
OLD | NEW |