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

Side by Side Diff: gyp/common_conditions.gypi

Issue 308143008: Change #def to be opt-out (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add comma Created 6 years, 6 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 | gyp/skia_for_chromium_defines.gypi » ('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 'SK_SUPPORT_ETC1'
10 ], 9 ],
11 'conditions' : [ 10 'conditions' : [
12 [ 'skia_arch_type == "arm64"', { 11 [ 'skia_arch_type == "arm64"', {
13 'cflags': [ 12 'cflags': [
14 '-ffp-contract=off', 13 '-ffp-contract=off',
15 ], 14 ],
16 }], 15 }],
17 16
18 # As of M35, Chrome requires SSE2 on x86 (and SSSE3 on Mac). 17 # As of M35, Chrome requires SSE2 on x86 (and SSSE3 on Mac).
19 [ 'skia_arch_type == "x86"', { 18 [ 'skia_arch_type == "x86"', {
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 'SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"', 312 'SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"',
314 # Still need to switch Android to the new name for N32. 313 # Still need to switch Android to the new name for N32.
315 'kNative_8888_SkColorType kN32_SkColorType', 314 'kNative_8888_SkColorType kN32_SkColorType',
316 'SK_SUPPORT_LEGACY_BLURMASKFILTER_STYLE', 315 'SK_SUPPORT_LEGACY_BLURMASKFILTER_STYLE',
317 # Needed until we fix skbug.com/2440. 316 # Needed until we fix skbug.com/2440.
318 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG', 317 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG',
319 # Transitional, for deprecated SkCanvas::SaveFlags methods. 318 # Transitional, for deprecated SkCanvas::SaveFlags methods.
320 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', 319 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1',
321 'SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX', 320 'SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX',
322 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', 321 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)',
322 'SK_IGNORE_ETC1_SUPPORT',
323 # Defines from skia_for_android_framework_defines.gypi 323 # Defines from skia_for_android_framework_defines.gypi
324 '<@(skia_for_android_framework_defines)', 324 '<@(skia_for_android_framework_defines)',
325 ], 325 ],
326 }], 326 }],
327 327
328 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "chromeos"] ', 328 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "chromeos"] ',
329 { 329 {
330 'defines': [ 330 'defines': [
331 'SK_SAMPLES_FOR_X', 331 'SK_SAMPLES_FOR_X',
332 'SK_BUILD_FOR_UNIX', 332 'SK_BUILD_FOR_UNIX',
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 'SK_BUILD_JSON_WRITER', 658 'SK_BUILD_JSON_WRITER',
659 ] 659 ]
660 }], 660 }],
661 661
662 ], # end 'conditions' 662 ], # end 'conditions'
663 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details 663 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
664 'xcode_settings': { 664 'xcode_settings': {
665 'SYMROOT': '<(DEPTH)/xcodebuild', 665 'SYMROOT': '<(DEPTH)/xcodebuild',
666 }, 666 },
667 } 667 }
OLDNEW
« no previous file with comments | « no previous file | gyp/skia_for_chromium_defines.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698