aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/android/gyp_gen
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-04-02 10:47:57 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-02 10:47:57 -0700
commit2d33a1d0b03dc7cb171c6f34680f1966fa686d38 (patch)
tree765cc98a950bedd606798fdb7d6aedeb2846c298 /platform_tools/android/gyp_gen
parent83c645922839b7d742268d9c4b01e2a43fb8f81b (diff)
Streamline Thumb config.
Enable Thumb2 iff ARM v7. (We don't turn it on today for ARM <v7, and ARM v8 doesn't support it.) BUG=skia: Review URL: https://codereview.chromium.org/1054993002
Diffstat (limited to 'platform_tools/android/gyp_gen')
-rw-r--r--platform_tools/android/gyp_gen/android_framework_gyp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform_tools/android/gyp_gen/android_framework_gyp.py b/platform_tools/android/gyp_gen/android_framework_gyp.py
index 787a4d91a8..34a9eeec47 100644
--- a/platform_tools/android/gyp_gen/android_framework_gyp.py
+++ b/platform_tools/android/gyp_gen/android_framework_gyp.py
@@ -63,8 +63,8 @@ def main(target_dir, target_file, skia_arch_type, have_neon,
gyp_defines = ('skia_android_framework=1 OS=android skia_arch_type=%s '
% skia_arch_type)
if skia_arch_type == 'arm':
- # Always use thumb and version 7 for arm
- gyp_defines += 'arm_thumb=1 arm_version=7 '
+ # Always version 7 (which implies thumb) for arm
+ gyp_defines += 'arm_version=7 '
if have_neon:
gyp_defines += 'arm_neon=1 '
else: