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

Side by Side Diff: gyp/common_conditions.gypi

Issue 164793002: Small fixes for auto generating Android.mk (Closed) Base URL: https://skia.googlesource.com/skia.git@skia_android_framework
Patch Set: Remove Android.mk Created 6 years, 10 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/common_variables.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_DISTANCEFIELD_FONTS=<(skia_distancefield_fonts)', 8 'SK_DISTANCEFIELD_FONTS=<(skia_distancefield_fonts)',
9 ], 9 ],
10 'conditions' : [ 10 'conditions' : [
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 '-g', 123 '-g',
124 '-fno-exceptions', 124 '-fno-exceptions',
125 '-fstrict-aliasing', 125 '-fstrict-aliasing',
126 126
127 '-Wall', 127 '-Wall',
128 '-Wextra', 128 '-Wextra',
129 '-Winit-self', 129 '-Winit-self',
130 '-Wpointer-arith', 130 '-Wpointer-arith',
131 131
132 '-Wno-unused-parameter', 132 '-Wno-unused-parameter',
133 '-Wno-c++11-extensions',
134 ], 133 ],
135 'cflags_cc': [ 134 'cflags_cc': [
136 '-fno-rtti', 135 '-fno-rtti',
137 '-Wnon-virtual-dtor', 136 '-Wnon-virtual-dtor',
138 ], 137 ],
139 'conditions': [ 138 'conditions': [
139 [ 'skia_android_framework==0', {
140 'cflags': [
141 # This flag is not supported by Android build system.
142 '-Wno-c++11-extensions',
143 ],
144 }],
140 [ 'skia_warnings_as_errors', { 145 [ 'skia_warnings_as_errors', {
141 'cflags': [ 146 'cflags': [
142 '-Werror', 147 '-Werror',
143 ], 148 ],
144 }], 149 }],
145 # For profiling; reveals some costs, exaggerates others (e.g. trivial setters & getters). 150 # For profiling; reveals some costs, exaggerates others (e.g. trivial setters & getters).
146 [ 'skia_disable_inlining', { 151 [ 'skia_disable_inlining', {
147 'cflags': [ 152 'cflags': [
148 '-fno-inline', 153 '-fno-inline',
149 '-fno-default-inline', 154 '-fno-default-inline',
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 'defines': [ 516 'defines': [
512 'SK_USE_POSIX_THREADS', 517 'SK_USE_POSIX_THREADS',
513 ], 518 ],
514 }], 519 }],
515 ], # end 'conditions' 520 ], # end 'conditions'
516 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details 521 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
517 'xcode_settings': { 522 'xcode_settings': {
518 'SYMROOT': '<(DEPTH)/xcodebuild', 523 'SYMROOT': '<(DEPTH)/xcodebuild',
519 }, 524 },
520 } 525 }
OLDNEW
« no previous file with comments | « no previous file | gyp/common_variables.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698