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
3 # found in the LICENSE file.
6 import("//build/config/android/config.gni")
10 config("expat_config") {
15 direct_dependent_configs = [ ":expat_config" ]
18 # TODO(GYP) Android needs direct dependent includes of
19 # <android_src>/external/expat/lib
21 config("expat_config") {
22 include_dirs = [ "files/lib" ]
24 include_dirs += [ "$android_src/external/expat/lib" ]
26 defines = [ "XML_STATIC" ]
29 static_library("expat") {
32 "files/lib/xmlparse.c",
33 "files/lib/xmlrole.c",
37 direct_dependent_configs = [ ":expat_config" ]
41 defines += [ "COMPILED_FROM_DSP" ]
43 defines += [ "HAVE_EXPAT_CONFIG_H" ]