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

Side by Side Diff: gyp/common_conditions.gypi

Issue 369683004: remove unneeded flags for android (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 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 | « gyp/common.gypi ('k') | gyp/skia_for_android_framework_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 ], 9 ],
10 'conditions' : [ 10 'conditions' : [
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 # When built as part of the system image we can enable certian non-NDK 361 # When built as part of the system image we can enable certian non-NDK
362 # compliant optimizations. 362 # compliant optimizations.
363 'SK_BUILD_FOR_ANDROID_FRAMEWORK', 363 'SK_BUILD_FOR_ANDROID_FRAMEWORK',
364 # Optimizations for chromium (m30) 364 # Optimizations for chromium (m30)
365 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', 365 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"',
366 'IGNORE_ROT_AA_RECT_OPT', 366 'IGNORE_ROT_AA_RECT_OPT',
367 'SkLONGLONG int64_t', 367 'SkLONGLONG int64_t',
368 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', 368 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)',
369 'SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_sync.h"', 369 'SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_sync.h"',
370 'SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"', 370 'SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"',
371 # Still need to switch Android to the new name for N32.
372 'kNative_8888_SkColorType kN32_SkColorType',
373 # Needed until we fix skbug.com/2440. 371 # Needed until we fix skbug.com/2440.
374 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG', 372 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG',
375 # Transitional, for deprecated SkCanvas::SaveFlags methods. 373 # Transitional, for deprecated SkCanvas::SaveFlags methods.
376 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', 374 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1',
377 'SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX', 375 'SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX',
378 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', 376 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)',
379 'SK_IGNORE_ETC1_SUPPORT', 377 'SK_IGNORE_ETC1_SUPPORT',
380 # Defines from skia_for_android_framework_defines.gypi 378 # Defines from skia_for_android_framework_defines.gypi
381 '<@(skia_for_android_framework_defines)', 379 '<@(skia_for_android_framework_defines)',
382 ], 380 ],
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d 691 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d
694 ], 692 ],
695 }], 693 }],
696 694
697 ], # end 'conditions' 695 ], # end 'conditions'
698 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details 696 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
699 'xcode_settings': { 697 'xcode_settings': {
700 'SYMROOT': '<(DEPTH)/xcodebuild', 698 'SYMROOT': '<(DEPTH)/xcodebuild',
701 }, 699 },
702 } 700 }
OLDNEW
« no previous file with comments | « gyp/common.gypi ('k') | gyp/skia_for_android_framework_defines.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698