| Index: Source/platform/blink_platform.gyp
|
| diff --git a/Source/platform/blink_platform.gyp b/Source/platform/blink_platform.gyp
|
| index c209b90c8566edb268473ce2ad02110b65f67424..7fa9fc6ff4a9f40faa9af808b806ca63bb63cf8e 100644
|
| --- a/Source/platform/blink_platform.gyp
|
| +++ b/Source/platform/blink_platform.gyp
|
| @@ -367,6 +367,11 @@
|
| '<(DEPTH)/third_party/openmax_dl/dl/dl.gyp:openmax_dl',
|
| ],
|
| }],
|
| + ['target_arch=="arm"', {
|
| + 'dependencies': [
|
| + 'blink_arm_neon',
|
| + ],
|
| + }],
|
| ],
|
| 'target_conditions': [
|
| ['OS=="android"', {
|
| @@ -375,5 +380,35 @@
|
| ],
|
| }],
|
| ],
|
| + },
|
| + # The *NEON.cpp files fail to compile when -mthumb is passed. Force
|
| + # them to build in ARM mode.
|
| + # See https://bugs.webkit.org/show_bug.cgi?id=62916.
|
| + {
|
| + 'target_name': 'blink_arm_neon',
|
| + 'conditions': [
|
| + ['target_arch=="arm"', {
|
| + 'type': 'static_library',
|
| + 'dependencies': [
|
| + 'blink_common',
|
| + ],
|
| + 'hard_dependency': 1,
|
| + 'sources': [
|
| + '<@(platform_files)',
|
| + ],
|
| + 'sources/': [
|
| + ['exclude', '.*'],
|
| + ['include', 'graphics/cpu/arm/filters/.*NEON\\.(cpp|h)'],
|
| + ],
|
| + 'cflags': ['-marm'],
|
| + 'conditions': [
|
| + ['OS=="android"', {
|
| + 'cflags!': ['-mthumb'],
|
| + }],
|
| + ],
|
| + },{ # target_arch!="arm"
|
| + 'type': 'none',
|
| + }],
|
| + ],
|
| }],
|
| }
|
|
|