Fix broken Android framework build.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2153953002 Review-Url: https://codereview.chromium.org/2153953002
This commit is contained in:
parent
04d62182fe
commit
ec58b86437
@ -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', ], },
|
||||
|
@ -86,13 +86,11 @@
|
||||
],
|
||||
'dependencies': [
|
||||
'freetype.gyp:freetype',
|
||||
'expat.gyp:expat',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'skia_android_framework', {
|
||||
'link_settings': { 'libraries': [ '-lexpat' ] },
|
||||
}, {
|
||||
[ 'skia_android_framework == 0', {
|
||||
'link_settings': { 'libraries': [ '-ldl' ] },
|
||||
'dependencies': [ 'expat.gyp:expat' ],
|
||||
}],
|
||||
[ 'skia_embedded_fonts', {
|
||||
'variables': {
|
||||
|
Loading…
Reference in New Issue
Block a user