Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: gyp/expat.gyp

Issue 2153953002: Fix broken Android framework build. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gyp/ports.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/expat.gyp
diff --git a/gyp/expat.gyp b/gyp/expat.gyp
index 90e4e44f41fa8f601d757a61b5929cf8247c184b..3eeed777b9241c4ac7ac06c8b5735230fb9b978d 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', ], },
« no previous file with comments | « no previous file | gyp/ports.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698