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

Side by Side Diff: gyp/common_conditions.gypi

Issue 180873012: Updates to gyp files for building Android.mk (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Also remove g Created 6 years, 9 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
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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 'cflags': [ 211 'cflags': [
212 # Skia does not enforce this usage pattern so we disable it here to avoi d 212 # Skia does not enforce this usage pattern so we disable it here to avoi d
213 # unecessary log spew when building 213 # unecessary log spew when building
214 '-Wno-unused-parameter', 214 '-Wno-unused-parameter',
215 215
216 # Android's -D_FORTIFY_SOURCE=2 extensions are incompatibile with SkStri ng. 216 # Android's -D_FORTIFY_SOURCE=2 extensions are incompatibile with SkStri ng.
217 # Revert to -D_FORTIFY_SOURCE=1 217 # Revert to -D_FORTIFY_SOURCE=1
218 '-U_FORTIFY_SOURCE', 218 '-U_FORTIFY_SOURCE',
219 '-D_FORTIFY_SOURCE=1', 219 '-D_FORTIFY_SOURCE=1',
220 ], 220 ],
221 'cflags!': [
222 '-g',
223 '-march=armv7-a',
224 '-mthumb',
225 '-mfpu=neon',
226 '-mfloat-abi=softfp',
227 ],
221 'defines': [ 228 'defines': [
222 'DCT_IFAST_SUPPORTED', 229 'DCT_IFAST_SUPPORTED',
223 # using freetype's embolden allows us to adjust fake bold settings at 230 # using freetype's embolden allows us to adjust fake bold settings at
224 # draw-time, at which point we know which SkTypeface is being drawn 231 # draw-time, at which point we know which SkTypeface is being drawn
225 'SK_USE_FREETYPE_EMBOLDEN', 232 'SK_USE_FREETYPE_EMBOLDEN',
226 # Android provides at least FreeType 2.4.0 at runtime. 233 # Android provides at least FreeType 2.4.0 at runtime.
227 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', 234 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400',
228 # Skia should not use dlopen on Android. 235 # Skia should not use dlopen on Android.
229 'SK_CAN_USE_DLOPEN=0', 236 'SK_CAN_USE_DLOPEN=0',
230 ], 237 ],
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 'defines': [ 530 'defines': [
524 'SK_USE_POSIX_THREADS', 531 'SK_USE_POSIX_THREADS',
525 ], 532 ],
526 }], 533 }],
527 ], # end 'conditions' 534 ], # end 'conditions'
528 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details 535 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
529 'xcode_settings': { 536 'xcode_settings': {
530 'SYMROOT': '<(DEPTH)/xcodebuild', 537 'SYMROOT': '<(DEPTH)/xcodebuild',
531 }, 538 },
532 } 539 }
OLDNEW
« no previous file with comments | « gyp/android_framework_lib.gyp ('k') | gyp/opts.gyp » ('j') | gyp/opts.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698