OLD | NEW |
---|---|
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 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
589 'SKIA_IMPLEMENTATION=1', | 589 'SKIA_IMPLEMENTATION=1', |
590 ], | 590 ], |
591 }], | 591 }], |
592 [ 'skia_profile_enabled == 1', { | 592 [ 'skia_profile_enabled == 1', { |
593 'cflags': ['-g', '-fno-omit-frame-pointer', '-marm', '-mapcs'], | 593 'cflags': ['-g', '-fno-omit-frame-pointer', '-marm', '-mapcs'], |
594 }], | 594 }], |
595 ], | 595 ], |
596 }, | 596 }, |
597 ], | 597 ], |
598 | 598 |
599 # All platforms use SRGB except Android who define a fixed gamma exponent | |
600 [ 'skia_os != "android"', { | |
scroggo
2014/04/10 16:44:19
Don't our builders build android with skia_os == '
scroggo
2014/04/10 16:59:37
Ah yes, I did.
| |
601 'defines': [ | |
602 'SK_GAMMA_SRGB', | |
603 ], | |
604 }], | |
605 | |
599 # We can POD-style initialization of static mutexes to avoid generating | 606 # We can POD-style initialization of static mutexes to avoid generating |
600 # static initializers if we're using a pthread-compatible thread interface. | 607 # static initializers if we're using a pthread-compatible thread interface. |
601 [ 'skia_os != "win"', { | 608 [ 'skia_os != "win"', { |
602 'defines': [ | 609 'defines': [ |
603 'SK_USE_POSIX_THREADS', | 610 'SK_USE_POSIX_THREADS', |
604 ], | 611 ], |
605 }], | 612 }], |
606 ], # end 'conditions' | 613 ], # end 'conditions' |
607 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details | 614 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details |
608 'xcode_settings': { | 615 'xcode_settings': { |
609 'SYMROOT': '<(DEPTH)/xcodebuild', | 616 'SYMROOT': '<(DEPTH)/xcodebuild', |
610 }, | 617 }, |
611 } | 618 } |
OLD | NEW |