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

Side by Side Diff: gyp/common_conditions.gypi

Issue 375943003: Build Android with SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase 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 | « no previous file | tests/CanvasStateTest.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' : [
(...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 # Needed until we fix skbug.com/2440.
372 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG',
373 # Transitional, for deprecated SkCanvas::SaveFlags methods. 371 # Transitional, for deprecated SkCanvas::SaveFlags methods.
374 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', 372 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1',
375 'SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX', 373 'SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX',
376 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', 374 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)',
377 'SK_IGNORE_ETC1_SUPPORT', 375 'SK_IGNORE_ETC1_SUPPORT',
378 # Defines from skia_for_android_framework_defines.gypi 376 # Defines from skia_for_android_framework_defines.gypi
379 '<@(skia_for_android_framework_defines)', 377 '<@(skia_for_android_framework_defines)',
380 ], 378 ],
381 }], 379 }],
382 380
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 '-fuse-ld=gold', 660 '-fuse-ld=gold',
663 ], 661 ],
664 }], 662 }],
665 [ 'skia_shared_lib', { 663 [ 'skia_shared_lib', {
666 'cflags': [ 664 'cflags': [
667 '-fPIC', 665 '-fPIC',
668 ], 666 ],
669 'defines': [ 667 'defines': [
670 'SKIA_DLL', 668 'SKIA_DLL',
671 'SKIA_IMPLEMENTATION=1', 669 'SKIA_IMPLEMENTATION=1',
670 # Needed until we fix skbug.com/2440.
671 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG',
672 ], 672 ],
673 }], 673 }],
674 [ 'skia_profile_enabled == 1', { 674 [ 'skia_profile_enabled == 1', {
675 'cflags': ['-g', '-fno-omit-frame-pointer', '-marm', '-mapcs'], 675 'cflags': ['-g', '-fno-omit-frame-pointer', '-marm', '-mapcs'],
676 }], 676 }],
677 ], 677 ],
678 }, 678 },
679 ], 679 ],
680 680
681 # We can POD-style initialization of static mutexes to avoid generating 681 # We can POD-style initialization of static mutexes to avoid generating
682 # static initializers if we're using a pthread-compatible thread interface. 682 # static initializers if we're using a pthread-compatible thread interface.
683 [ 'skia_os != "win"', { 683 [ 'skia_os != "win"', {
684 'defines': [ 684 'defines': [
685 'SK_USE_POSIX_THREADS', 685 'SK_USE_POSIX_THREADS',
686 ], 686 ],
687 }], 687 }],
688 688
689 [ 'skia_moz2d', { 689 [ 'skia_moz2d', {
690 'defines': [ 690 'defines': [
691 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d 691 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d
692 ], 692 ],
693 }], 693 }],
694 694
695 ], # end 'conditions' 695 ], # end 'conditions'
696 # 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
697 'xcode_settings': { 697 'xcode_settings': {
698 'SYMROOT': '<(DEPTH)/xcodebuild', 698 'SYMROOT': '<(DEPTH)/xcodebuild',
699 }, 699 },
700 } 700 }
OLDNEW
« no previous file with comments | « no previous file | tests/CanvasStateTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698