aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/expat.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'gyp/expat.gyp')
-rw-r--r--gyp/expat.gyp18
1 files changed, 16 insertions, 2 deletions
diff --git a/gyp/expat.gyp b/gyp/expat.gyp
index 90e4e44f41..3eeed777b9 100644
--- a/gyp/expat.gyp
+++ b/gyp/expat.gyp
@@ -6,8 +6,22 @@
# Build expat from source.
{
- 'targets': [{
- 'target_name': 'expat',
+ 'targets': [
+ {
+ 'target_name': 'expat',
+ 'type': 'none',
+ 'conditions': [
+ [ 'skia_android_framework', {
+ 'dependencies': [ 'android_deps.gyp:expat' ],
+ 'export_dependent_settings': [ 'android_deps.gyp:expat' ],
+ },{
+ 'dependencies': [ 'expat.gyp:expat_static' ],
+ 'export_dependent_settings': [ 'expat.gyp:expat_static' ],
+ }]
+ ]
+ },
+ {
+ 'target_name': 'expat_static',
'type': 'static_library',
'cflags': [ '-Wno-missing-field-initializers' ],
'xcode_settings': { 'WARNING_CFLAGS': [ '-Wno-missing-field-initializers', ], },