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 1416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1427 'grit_defines': ['-D', 'use_titlecase'], | 1427 'grit_defines': ['-D', 'use_titlecase'], |
1428 }], | 1428 }], |
1429 ['use_third_party_translations==1', { | 1429 ['use_third_party_translations==1', { |
1430 'grit_defines': ['-D', 'use_third_party_translations'], | 1430 'grit_defines': ['-D', 'use_third_party_translations'], |
1431 'locales': [ | 1431 'locales': [ |
1432 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', | 1432 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', |
1433 'ka', 'ku', 'kw', 'ms', 'ug' | 1433 'ka', 'ku', 'kw', 'ms', 'ug' |
1434 ], | 1434 ], |
1435 }], | 1435 }], |
1436 ['OS=="android"', { | 1436 ['OS=="android"', { |
1437 'grit_defines': ['-D', 'android'], | 1437 'grit_defines': ['-D', 'android', |
| 1438 '-E', 'ANDROID_JAVA_TAGGED_ONLY=true'], |
1438 }], | 1439 }], |
1439 ['OS=="mac"', { | 1440 ['OS=="mac"', { |
1440 'grit_defines': ['-D', 'scale_factors=2x'], | 1441 'grit_defines': ['-D', 'scale_factors=2x'], |
1441 }], | 1442 }], |
1442 ['OS == "ios"', { | 1443 ['OS == "ios"', { |
1443 'grit_defines': [ | 1444 'grit_defines': [ |
1444 # define for iOS specific resources. | 1445 # define for iOS specific resources. |
1445 '-D', 'ios', | 1446 '-D', 'ios', |
1446 # iOS uses a whitelist to filter resources. | 1447 # iOS uses a whitelist to filter resources. |
1447 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' | 1448 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' |
(...skipping 2727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4175 # settings in target dicts. SYMROOT is a special case, because many other | 4176 # settings in target dicts. SYMROOT is a special case, because many other |
4176 # Xcode variables depend on it, including variables such as | 4177 # Xcode variables depend on it, including variables such as |
4177 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4178 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4178 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4179 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4179 # files to appear (when present) in the UI as actual files and not red | 4180 # files to appear (when present) in the UI as actual files and not red |
4180 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4181 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4181 # and therefore SYMROOT, needs to be set at the project level. | 4182 # and therefore SYMROOT, needs to be set at the project level. |
4182 'SYMROOT': '<(DEPTH)/xcodebuild', | 4183 'SYMROOT': '<(DEPTH)/xcodebuild', |
4183 }, | 4184 }, |
4184 } | 4185 } |
OLD | NEW |