OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
944 ### 'gtest_target_type': 'shared_libary', | 944 ### 'gtest_target_type': 'shared_libary', |
945 | 945 |
946 # Uses system APIs for decoding audio and video. | 946 # Uses system APIs for decoding audio and video. |
947 'use_libffmpeg%': '0', | 947 'use_libffmpeg%': '0', |
948 | 948 |
949 # Always use the chromium skia. The use_system_harfbuzz needs to | 949 # Always use the chromium skia. The use_system_harfbuzz needs to |
950 # match use_system_skia. | 950 # match use_system_skia. |
951 'use_system_skia%': '0', | 951 'use_system_skia%': '0', |
952 'use_system_harfbuzz%': '0', | 952 'use_system_harfbuzz%': '0', |
953 | 953 |
954 # Use the system icu. | |
955 'use_system_icu%': 0, | |
956 | |
957 # TODO(yfriedman): Remove once unit_tests can link for Android. | 954 # TODO(yfriedman): Remove once unit_tests can link for Android. |
958 # To override it specify: | 955 # To override it specify: |
959 # GYP_DEFINES="$GYP_DEFINES android_unit_test_target_type=executable" | 956 # GYP_DEFINES="$GYP_DEFINES android_unit_test_target_type=executable" |
960 # android_gyp | 957 # android_gyp |
961 'android_unit_test_target_type%': 'static_library', | 958 'android_unit_test_target_type%': 'static_library', |
962 | 959 |
963 'conditions': [ | 960 # Always use the system zlib. |
964 # Choose static link by build type. | 961 'use_system_zlib%': 1, |
965 ['android_build_type==0', { | 962 |
966 'static_link_system_icu%': 1, | |
967 }, { | |
968 'static_link_system_icu%': 0, | |
969 }], | |
970 ], | |
971 # TODO(steveblock): Investigate using the system versions of sqlite and | 963 # TODO(steveblock): Investigate using the system versions of sqlite and |
972 # libjpeg. | 964 # libjpeg. |
973 # Enable to use system sqlite. | 965 # Enable to use system sqlite. |
974 'use_system_sqlite%': 0, # '<(android_build_type)', | 966 'use_system_sqlite%': 0, # '<(android_build_type)', |
975 # Enable to use system libjpeg. | 967 # Enable to use system libjpeg. |
976 'use_system_libjpeg%': 0, # '<(android_build_type)', | 968 'use_system_libjpeg%': 0, # '<(android_build_type)', |
977 # Enable to use the system expat. | 969 # Enable to use the system expat. |
978 'use_system_expat%': '<(android_build_type)', | 970 'use_system_expat%': '<(android_build_type)', |
979 # Enable to use the system stlport, otherwise statically | 971 # Enable to use the system stlport, otherwise statically |
980 # link the NDK one? | 972 # link the NDK one? |
981 'use_system_stlport%': '<(android_build_type)', | 973 'use_system_stlport%': '<(android_build_type)', |
| 974 # Enable to use the system ICU. |
| 975 'use_system_icu%': '<(android_build_type)', |
982 # Copy it out one scope. | 976 # Copy it out one scope. |
983 'android_build_type%': '<(android_build_type)', | 977 'android_build_type%': '<(android_build_type)', |
984 }], # OS=="android" | 978 }], # OS=="android" |
985 ['OS=="mac"', { | 979 ['OS=="mac"', { |
986 # Enable clang on mac by default! | 980 # Enable clang on mac by default! |
987 'clang%': 1, | 981 'clang%': 1, |
988 # Compile in Breakpad support by default so that it can be | 982 # Compile in Breakpad support by default so that it can be |
989 # tested, even if it is not enabled by default at runtime. | 983 # tested, even if it is not enabled by default at runtime. |
990 'mac_breakpad_compiled_in%': 1, | 984 'mac_breakpad_compiled_in%': 1, |
991 'conditions': [ | 985 'conditions': [ |
(...skipping 2304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3296 # settings in target dicts. SYMROOT is a special case, because many other | 3290 # settings in target dicts. SYMROOT is a special case, because many other |
3297 # Xcode variables depend on it, including variables such as | 3291 # Xcode variables depend on it, including variables such as |
3298 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3292 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3299 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3293 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3300 # files to appear (when present) in the UI as actual files and not red | 3294 # files to appear (when present) in the UI as actual files and not red |
3301 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3295 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3302 # and therefore SYMROOT, needs to be set at the project level. | 3296 # and therefore SYMROOT, needs to be set at the project level. |
3303 'SYMROOT': '<(DEPTH)/xcodebuild', | 3297 'SYMROOT': '<(DEPTH)/xcodebuild', |
3304 }, | 3298 }, |
3305 } | 3299 } |
OLD | NEW |