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

Side by Side Diff: gyp/common_conditions.gypi

Issue 494113002: Temporarily adjust Matrix.isSimilarity test tolerance on 64-bit ARM devices (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 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 | tests/MatrixTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # conditions used in both common.gypi and skia.gyp in chromium 1 # conditions used in both common.gypi and skia.gyp in chromium
2 # 2 #
3 { 3 {
4 'defines': [ 4 'defines': [
5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', 5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)',
6 'SK_SUPPORT_GPU=<(skia_gpu)', 6 'SK_SUPPORT_GPU=<(skia_gpu)',
7 'SK_SUPPORT_OPENCL=<(skia_opencl)', 7 'SK_SUPPORT_OPENCL=<(skia_opencl)',
8 'SK_FORCE_DISTANCEFIELD_FONTS=<(skia_force_distancefield_fonts)', 8 'SK_FORCE_DISTANCEFIELD_FONTS=<(skia_force_distancefield_fonts)',
9 ], 9 ],
10 'conditions' : [ 10 'conditions' : [
11 ['skia_pic', { 11 ['skia_pic', {
12 'cflags': [ 12 'cflags': [
13 '-fPIC', 13 '-fPIC',
14 ], 14 ],
15 'conditions' : [ 15 'conditions' : [
16 # FIXME: The reason we don't do this on Android is due to the way 16 # FIXME: The reason we don't do this on Android is due to the way
17 # we build the executables/skia_launcher on Android. See 17 # we build the executables/skia_launcher on Android. See
18 # https://codereview.chromium.org/406613003/diff/1/gyp/common_conditions.g ypi#newcode455 18 # https://codereview.chromium.org/406613003/diff/1/gyp/common_conditions.g ypi#newcode455
19 ['skia_os != "android"', { 19 ['skia_os != "android"', {
20 'target_conditions': [ 20 'target_conditions': [
21 [ '_type == "executable"', { 21 [ '_type == "executable"', {
22 'cflags': [ '-fPIE' ], 22 'cflags': [ '-fPIE' ],
23 'ldflags': [ '-pie' ], 23 'ldflags': [ '-pie' ],
24 }], 24 }],
25 ], 25 ],
26 }], 26 }],
27 ], 27 ],
28 }], 28 }],
29 [ 'skia_arch_type == "arm64"', {
30 'cflags': [
31 '-ffp-contract=off',
32 ],
33 }],
34 29
35 # As of M35, Chrome requires SSE2 on x86 (and SSSE3 on Mac). 30 # As of M35, Chrome requires SSE2 on x86 (and SSSE3 on Mac).
36 [ 'skia_arch_type == "x86"', { 31 [ 'skia_arch_type == "x86"', {
37 'cflags': [ 32 'cflags': [
38 '-msse2', 33 '-msse2',
39 '-mfpmath=sse', 34 '-mfpmath=sse',
40 ], 35 ],
41 }], 36 }],
42 37
43 [ 'skia_os == "win"', 38 [ 'skia_os == "win"',
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 [ 'skia_is_bot', { 629 [ 'skia_is_bot', {
635 'defines': [ 'SK_CRASH_HANDLER' ], 630 'defines': [ 'SK_CRASH_HANDLER' ],
636 }], 631 }],
637 632
638 ], # end 'conditions' 633 ], # end 'conditions'
639 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details 634 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
640 'xcode_settings': { 635 'xcode_settings': {
641 'SYMROOT': '<(DEPTH)/xcodebuild', 636 'SYMROOT': '<(DEPTH)/xcodebuild',
642 }, 637 },
643 } 638 }
OLDNEW
« no previous file with comments | « no previous file | tests/MatrixTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698