OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 # conditions used in both common.gypi and skia.gyp in chromium | 6 # conditions used in both common.gypi and skia.gyp in chromium |
7 # | 7 # |
8 { | 8 { |
9 'defines': [ | 9 'defines': [ |
10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', | 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', |
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 }, | 550 }, |
551 'defines': [ 'NDEBUG' ], | 551 'defines': [ 'NDEBUG' ], |
552 }, | 552 }, |
553 }, | 553 }, |
554 'xcode_settings': { | 554 'xcode_settings': { |
555 'ARCHS': ['armv7'], | 555 'ARCHS': ['armv7'], |
556 'CODE_SIGNING_REQUIRED': 'NO', | 556 'CODE_SIGNING_REQUIRED': 'NO', |
557 'IPHONEOS_DEPLOYMENT_TARGET': '<(ios_sdk_version)', | 557 'IPHONEOS_DEPLOYMENT_TARGET': '<(ios_sdk_version)', |
558 'SDKROOT': 'iphoneos', | 558 'SDKROOT': 'iphoneos', |
559 'TARGETED_DEVICE_FAMILY': '1,2', | 559 'TARGETED_DEVICE_FAMILY': '1,2', |
560 'OTHER_CPLUSPLUSFLAGS': [ | 560 |
561 '-std=c++0x', | 561 'CLANG_CXX_LIBRARY': 'libc++', |
562 '-stdlib=libc++', | 562 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', |
563 '-fvisibility=hidden', | 563 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions |
564 '-fvisibility-inlines-hidden', | 564 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
565 ], | 565 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics |
566 'GCC_THUMB_SUPPORT': 'NO', | 566 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', # -fvisibility=hidden |
| 567 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'NO', # -fvisibility-inlines-hidde
n |
| 568 |
| 569 'GCC_THUMB_SUPPORT': 'NO', # TODO(mtklein): why would we not want thu
mb? |
567 }, | 570 }, |
568 }, | 571 }, |
569 ], | 572 ], |
570 | 573 |
571 [ 'skia_os == "android"', | 574 [ 'skia_os == "android"', |
572 { | 575 { |
573 'defines': [ | 576 'defines': [ |
574 'SK_BUILD_FOR_ANDROID', | 577 'SK_BUILD_FOR_ANDROID', |
575 | 578 |
576 # Android Text Tuning | 579 # Android Text Tuning |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 642 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
640 }, | 643 }, |
641 }], | 644 }], |
642 | 645 |
643 ], # end 'conditions' | 646 ], # end 'conditions' |
644 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 647 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
645 'xcode_settings': { | 648 'xcode_settings': { |
646 'SYMROOT': '<(DEPTH)/xcodebuild', | 649 'SYMROOT': '<(DEPTH)/xcodebuild', |
647 }, | 650 }, |
648 } | 651 } |
OLD | NEW |