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

Side by Side Diff: gyp/common_conditions.gypi

Issue 1054993002: Streamline Thumb config. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: rebase Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | platform_tools/android/bin/android_setup.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # conditions used in both common.gypi and skia.gyp in chromium 6 # conditions used in both common.gypi and skia.gyp in chromium
7 # 7 #
8 { 8 {
9 'defines': [ 9 'defines': [
10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)',
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 }], 258 }],
259 # For profiling; reveals some costs, exaggerates others (e.g. trivial setters & getters). 259 # For profiling; reveals some costs, exaggerates others (e.g. trivial setters & getters).
260 [ 'skia_disable_inlining', { 260 [ 'skia_disable_inlining', {
261 'cflags': [ 261 'cflags': [
262 '-fno-inline', 262 '-fno-inline',
263 '-fno-default-inline', 263 '-fno-default-inline',
264 '-finline-limit=0', 264 '-finline-limit=0',
265 '-fno-omit-frame-pointer', 265 '-fno-omit-frame-pointer',
266 ], 266 ],
267 }], 267 }],
268 [ 'skia_arch_type == "arm" and arm_thumb == 1', {
269 'cflags': [
270 '-mthumb',
271 ],
272 # The --fix-cortex-a8 switch enables a link-time workaround for
273 # an erratum in certain Cortex-A8 processors. The workaround is
274 # enabled by default if you target the ARM v7-A arch profile.
275 # It can be enabled otherwise by specifying --fix-cortex-a8, or
276 # disabled unconditionally by specifying --no-fix-cortex-a8.
277 #
278 # The erratum only affects Thumb-2 code.
279 'conditions': [
280 [ 'arm_version < 7', {
281 'ldflags': [
282 '-Wl,--fix-cortex-a8',
283 ],
284 }],
285 ],
286 }],
287 [ 'skia_arch_type == "arm" and arm_version >= 7', { 268 [ 'skia_arch_type == "arm" and arm_version >= 7', {
288 'cflags': [ 269 'cflags': [
289 '-march=armv7-a', 270 '-march=armv7-a',
271 '-mthumb',
290 ], 272 ],
291 'ldflags': [ 273 'ldflags': [
292 '-march=armv7-a', 274 '-march=armv7-a',
293 ], 275 ],
294 'conditions': [ 276 'conditions': [
295 [ 'arm_neon == 1', { 277 [ 'arm_neon == 1', {
296 'defines': [ 278 'defines': [
297 'SK_ARM_HAS_NEON', 279 'SK_ARM_HAS_NEON',
298 ], 280 ],
299 'cflags': [ 281 'cflags': [
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d 647 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d
666 ], 648 ],
667 }], 649 }],
668 650
669 ], # end 'conditions' 651 ], # end 'conditions'
670 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details 652 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
671 'xcode_settings': { 653 'xcode_settings': {
672 'SYMROOT': '<(DEPTH)/xcodebuild', 654 'SYMROOT': '<(DEPTH)/xcodebuild',
673 }, 655 },
674 } 656 }
OLDNEW
« no previous file with comments | « no previous file | platform_tools/android/bin/android_setup.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698