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

Side by Side Diff: gyp/common_conditions.gypi

Issue 920703005: Stop adding mssse3 & m32/m64 for Android framework. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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 | no next file » | 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_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)', 8 'SK_FORCE_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)',
9 ], 9 ],
10 'conditions' : [ 10 'conditions' : [
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 ], 220 ],
221 'cflags_cc': [ 221 'cflags_cc': [
222 '-std=c++11', 222 '-std=c++11',
223 '-fno-rtti', 223 '-fno-rtti',
224 '-Wnon-virtual-dtor', 224 '-Wnon-virtual-dtor',
225 '-Wno-invalid-offsetof', # GCC <4.6 is old-school strict about what i s POD. 225 '-Wno-invalid-offsetof', # GCC <4.6 is old-school strict about what i s POD.
226 ], 226 ],
227 'conditions': [ 227 'conditions': [
228 [ 'skia_os != "chromeos"', { 228 [ 'skia_os != "chromeos"', {
229 'conditions': [ 229 'conditions': [
230 [ 'skia_arch_type == "x86_64"', { 230 [ 'skia_arch_type == "x86_64" and not skia_android_framework', {
231 'cflags': [ 231 'cflags': [
232 '-m64', 232 '-m64',
233 ], 233 ],
234 'ldflags': [ 234 'ldflags': [
235 '-m64', 235 '-m64',
236 ], 236 ],
237 }], 237 }],
238 [ 'skia_arch_type == "x86"', { 238 [ 'skia_arch_type == "x86" and not skia_android_framework', {
239 'cflags': [ 239 'cflags': [
240 '-m32', 240 '-m32',
241 ], 241 ],
242 'ldflags': [ 242 'ldflags': [
243 '-m32', 243 '-m32',
244 ], 244 ],
245 }], 245 }],
246 ], 246 ],
247 }], 247 }],
248 [ 'skia_warnings_as_errors', { 248 [ 'skia_warnings_as_errors', {
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 ], 629 ],
630 'conditions': [ 630 'conditions': [
631 [ '"x86" in skia_arch_type', { 631 [ '"x86" in skia_arch_type', {
632 'cflags': [ 632 'cflags': [
633 '-mssse3', 633 '-mssse3',
634 ], 634 ],
635 }], 635 }],
636 [ 'skia_android_framework', { 636 [ 'skia_android_framework', {
637 'cflags!': [ 637 'cflags!': [
638 '-fuse-ld=gold', 638 '-fuse-ld=gold',
639 '-mssse3',
639 ], 640 ],
640 }], 641 }],
641 [ 'skia_shared_lib', { 642 [ 'skia_shared_lib', {
642 'defines': [ 643 'defines': [
643 'SKIA_DLL', 644 'SKIA_DLL',
644 'SKIA_IMPLEMENTATION=1', 645 'SKIA_IMPLEMENTATION=1',
645 # Needed until we fix skbug.com/2440. 646 # Needed until we fix skbug.com/2440.
646 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG', 647 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG',
647 ], 648 ],
648 }], 649 }],
649 [ 'skia_profile_enabled == 1', { 650 [ 'skia_profile_enabled == 1', {
650 'cflags': ['-g', '-fno-omit-frame-pointer', '-marm', '-mapcs'], 651 'cflags': ['-g', '-fno-omit-frame-pointer', '-marm', '-mapcs'],
651 }], 652 }],
652 ], 653 ],
653 }, 654 },
654 ], 655 ],
655 656
656 [ 'skia_moz2d', { 657 [ 'skia_moz2d', {
657 'defines': [ 658 'defines': [
658 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d 659 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d
659 ], 660 ],
660 }], 661 }],
661 662
662 ], # end 'conditions' 663 ], # end 'conditions'
663 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details 664 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
664 'xcode_settings': { 665 'xcode_settings': {
665 'SYMROOT': '<(DEPTH)/xcodebuild', 666 'SYMROOT': '<(DEPTH)/xcodebuild',
666 }, 667 },
667 } 668 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698