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 917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
928 | 928 |
929 # TODO(thakis): Make this a blacklist instead, http://crbug.com/101600 | 929 # TODO(thakis): Make this a blacklist instead, http://crbug.com/101600 |
930 'enable_wexit_time_destructors%': 0, | 930 'enable_wexit_time_destructors%': 0, |
931 | 931 |
932 # Set to 1 to compile with the built in pdf viewer. | 932 # Set to 1 to compile with the built in pdf viewer. |
933 'internal_pdf%': 0, | 933 'internal_pdf%': 0, |
934 | 934 |
935 # Set to 1 to compile with the OpenGL ES 2.0 conformance tests. | 935 # Set to 1 to compile with the OpenGL ES 2.0 conformance tests. |
936 'internal_gles2_conform_tests%': 0, | 936 'internal_gles2_conform_tests%': 0, |
937 | 937 |
938 # NOTE: When these end up in the Mac bundle, we need to replace '-' for '_' | |
tony
2013/03/11 17:55:14
Can we keep this list here and in the ios case, ov
| |
939 # so Cocoa is happy (http://crbug.com/20441). | |
940 'locales': [ | |
941 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', | |
942 'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he', | |
943 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv', | |
944 'ml', 'mr', 'ms', 'nb', 'nl', 'pl', 'pt-PT', 'ro', 'ru', | |
945 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk', | |
946 'vi', 'zh-CN', 'zh-TW', | |
947 ], | |
948 | |
949 # Pseudo locales are special locales which are used for testing and | 938 # Pseudo locales are special locales which are used for testing and |
950 # debugging. They don't get copied to the final app. For more info, | 939 # debugging. They don't get copied to the final app. For more info, |
951 # check out https://sites.google.com/a/chromium.org/dev/Home/fake-bidi | 940 # check out https://sites.google.com/a/chromium.org/dev/Home/fake-bidi |
952 'pseudo_locales': [ | 941 'pseudo_locales': [ |
953 'fake-bidi', | 942 'fake-bidi', |
954 ], | 943 ], |
955 | 944 |
956 'grit_defines': [], | 945 'grit_defines': [], |
957 | 946 |
958 # If debug_devtools is set to 1, JavaScript files for DevTools are | 947 # If debug_devtools is set to 1, JavaScript files for DevTools are |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
999 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))', | 988 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))', |
1000 | 989 |
1001 'windows_sdk_default_path': '<(DEPTH)/third_party/platformsdk_win8/files', | 990 'windows_sdk_default_path': '<(DEPTH)/third_party/platformsdk_win8/files', |
1002 'directx_sdk_default_path': '<(DEPTH)/third_party/directxsdk/files', | 991 'directx_sdk_default_path': '<(DEPTH)/third_party/directxsdk/files', |
1003 | 992 |
1004 # Whether we are using the rlz library or not. Platforms like Android send | 993 # Whether we are using the rlz library or not. Platforms like Android send |
1005 # rlz codes for searches but do not use the library. | 994 # rlz codes for searches but do not use the library. |
1006 'enable_rlz%': 0, | 995 'enable_rlz%': 0, |
1007 | 996 |
1008 'conditions': [ | 997 'conditions': [ |
998 ['OS!="ios"', { | |
999 # NOTE: When these end up in the Mac bundle, we need to replace | |
1000 # '-' for '_' so Cocoa is happy (http://crbug.com/20441). | |
1001 'locales': [ | |
1002 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', | |
1003 'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he', | |
1004 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv', | |
1005 'ml', 'mr', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', | |
1006 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk', | |
1007 'vi', 'zh-CN', 'zh-TW', | |
1008 ], | |
1009 }, { # OS=="ios" | |
1010 'locales': [ | |
1011 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'fi', | |
1012 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nl', 'pl', | |
1013 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', 'vi', | |
1014 'zh-CN', 'zh-TW', | |
1015 ], | |
1016 }], | |
1009 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(windows_sdk_defa ult_path))"=="True"', { | 1017 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(windows_sdk_defa ult_path))"=="True"', { |
1010 'windows_sdk_path%': '<(windows_sdk_default_path)', | 1018 'windows_sdk_path%': '<(windows_sdk_default_path)', |
1011 }, { | 1019 }, { |
1012 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', | 1020 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', |
1013 }], | 1021 }], |
1014 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa ult_path))"=="True"', { | 1022 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa ult_path))"=="True"', { |
1015 'directx_sdk_path%': '<(directx_sdk_default_path)', | 1023 'directx_sdk_path%': '<(directx_sdk_default_path)', |
1016 }, { | 1024 }, { |
1017 'directx_sdk_path%': '$(DXSDK_DIR)', | 1025 'directx_sdk_path%': '$(DXSDK_DIR)', |
1018 }], | 1026 }], |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1409 ['OS=="mac"', { | 1417 ['OS=="mac"', { |
1410 'grit_defines': ['-D', 'scale_factors=2x'], | 1418 'grit_defines': ['-D', 'scale_factors=2x'], |
1411 }], | 1419 }], |
1412 ['OS == "ios"', { | 1420 ['OS == "ios"', { |
1413 'grit_defines': [ | 1421 'grit_defines': [ |
1414 # define for iOS specific resources. | 1422 # define for iOS specific resources. |
1415 '-D', 'ios', | 1423 '-D', 'ios', |
1416 # iOS uses a whitelist to filter resources. | 1424 # iOS uses a whitelist to filter resources. |
1417 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' | 1425 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' |
1418 ], | 1426 ], |
1419 # iOS uses pt instead of pt-BR. | |
1420 'locales': ['pt'], | |
1421 }, { # OS != "ios" | |
1422 'locales': ['pt-BR'], | |
1423 }], | 1427 }], |
1424 ['enable_extensions==1', { | 1428 ['enable_extensions==1', { |
1425 'grit_defines': ['-D', 'enable_extensions'], | 1429 'grit_defines': ['-D', 'enable_extensions'], |
1426 }], | 1430 }], |
1427 ['enable_printing==1', { | 1431 ['enable_printing==1', { |
1428 'grit_defines': ['-D', 'enable_printing'], | 1432 'grit_defines': ['-D', 'enable_printing'], |
1429 }], | 1433 }], |
1430 ['enable_themes==1', { | 1434 ['enable_themes==1', { |
1431 'grit_defines': ['-D', 'enable_themes'], | 1435 'grit_defines': ['-D', 'enable_themes'], |
1432 }], | 1436 }], |
(...skipping 2676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4109 # settings in target dicts. SYMROOT is a special case, because many other | 4113 # settings in target dicts. SYMROOT is a special case, because many other |
4110 # Xcode variables depend on it, including variables such as | 4114 # Xcode variables depend on it, including variables such as |
4111 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4115 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4112 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4116 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4113 # files to appear (when present) in the UI as actual files and not red | 4117 # files to appear (when present) in the UI as actual files and not red |
4114 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4118 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4115 # and therefore SYMROOT, needs to be set at the project level. | 4119 # and therefore SYMROOT, needs to be set at the project level. |
4116 'SYMROOT': '<(DEPTH)/xcodebuild', | 4120 'SYMROOT': '<(DEPTH)/xcodebuild', |
4117 }, | 4121 }, |
4118 } | 4122 } |
OLD | NEW |