| 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_DISTANCEFIELD_FONTS=<(skia_distancefield_fonts)', | 8 'SK_DISTANCEFIELD_FONTS=<(skia_distancefield_fonts)', |
| 9 ], | 9 ], |
| 10 'conditions' : [ | 10 'conditions' : [ |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 'cflags_cc': [ | 135 'cflags_cc': [ |
| 136 '-fno-rtti', | 136 '-fno-rtti', |
| 137 '-Wnon-virtual-dtor', | 137 '-Wnon-virtual-dtor', |
| 138 ], | 138 ], |
| 139 'conditions': [ | 139 'conditions': [ |
| 140 [ 'skia_warnings_as_errors', { | 140 [ 'skia_warnings_as_errors', { |
| 141 'cflags': [ | 141 'cflags': [ |
| 142 '-Werror', | 142 '-Werror', |
| 143 ], | 143 ], |
| 144 }], | 144 }], |
| 145 # For profiling; reveals some costs, exaggerates others (e.g. trivial
setters & getters). |
| 146 [ 'skia_disable_inlining', { |
| 147 'cflags': [ |
| 148 '-fno-inline', |
| 149 '-fno-default-inline', |
| 150 '-finline-limit=0', |
| 151 '-fno-omit-frame-pointer', |
| 152 ], |
| 153 }], |
| 145 [ 'skia_arch_type == "arm" and arm_thumb == 1', { | 154 [ 'skia_arch_type == "arm" and arm_thumb == 1', { |
| 146 'cflags': [ | 155 'cflags': [ |
| 147 '-mthumb', | 156 '-mthumb', |
| 148 ], | 157 ], |
| 149 # The --fix-cortex-a8 switch enables a link-time workaround for | 158 # The --fix-cortex-a8 switch enables a link-time workaround for |
| 150 # an erratum in certain Cortex-A8 processors. The workaround is | 159 # an erratum in certain Cortex-A8 processors. The workaround is |
| 151 # enabled by default if you target the ARM v7-A arch profile. | 160 # enabled by default if you target the ARM v7-A arch profile. |
| 152 # It can be enabled otherwise by specifying --fix-cortex-a8, or | 161 # It can be enabled otherwise by specifying --fix-cortex-a8, or |
| 153 # disabled unconditionally by specifying --no-fix-cortex-a8. | 162 # disabled unconditionally by specifying --no-fix-cortex-a8. |
| 154 # | 163 # |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 'defines': [ | 511 'defines': [ |
| 503 'SK_USE_POSIX_THREADS', | 512 'SK_USE_POSIX_THREADS', |
| 504 ], | 513 ], |
| 505 }], | 514 }], |
| 506 ], # end 'conditions' | 515 ], # end 'conditions' |
| 507 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 516 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 508 'xcode_settings': { | 517 'xcode_settings': { |
| 509 'SYMROOT': '<(DEPTH)/xcodebuild', | 518 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 510 }, | 519 }, |
| 511 } | 520 } |
| OLD | NEW |