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 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1489 ['use_third_party_translations==1', { | 1489 ['use_third_party_translations==1', { |
1490 'grit_defines': ['-D', 'use_third_party_translations'], | 1490 'grit_defines': ['-D', 'use_third_party_translations'], |
1491 'locales': [ | 1491 'locales': [ |
1492 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', | 1492 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', |
1493 'ka', 'ku', 'kw', 'ms', 'ug' | 1493 'ka', 'ku', 'kw', 'ms', 'ug' |
1494 ], | 1494 ], |
1495 }], | 1495 }], |
1496 ['OS=="android"', { | 1496 ['OS=="android"', { |
1497 'grit_defines': ['-t', 'android', | 1497 'grit_defines': ['-t', 'android', |
1498 '-E', 'ANDROID_JAVA_TAGGED_ONLY=true'], | 1498 '-E', 'ANDROID_JAVA_TAGGED_ONLY=true'], |
| 1499 'conditions': [ |
| 1500 ['google_tv==1', { |
| 1501 'grit_defines': ['-D', 'google_tv'], |
| 1502 }], |
| 1503 ], |
1499 }], | 1504 }], |
1500 ['OS=="mac"', { | 1505 ['OS=="mac"', { |
1501 'grit_defines': ['-D', 'scale_factors=2x'], | 1506 'grit_defines': ['-D', 'scale_factors=2x'], |
1502 }], | 1507 }], |
1503 ['OS == "ios"', { | 1508 ['OS == "ios"', { |
1504 'grit_defines': [ | 1509 'grit_defines': [ |
1505 # define for iOS specific resources. | 1510 # define for iOS specific resources. |
1506 '-D', 'ios', | 1511 '-D', 'ios', |
1507 # iOS uses a whitelist to filter resources. | 1512 # iOS uses a whitelist to filter resources. |
1508 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' | 1513 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' |
(...skipping 2931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4440 # settings in target dicts. SYMROOT is a special case, because many other | 4445 # settings in target dicts. SYMROOT is a special case, because many other |
4441 # Xcode variables depend on it, including variables such as | 4446 # Xcode variables depend on it, including variables such as |
4442 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4447 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4443 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4448 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4444 # files to appear (when present) in the UI as actual files and not red | 4449 # files to appear (when present) in the UI as actual files and not red |
4445 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4450 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4446 # and therefore SYMROOT, needs to be set at the project level. | 4451 # and therefore SYMROOT, needs to be set at the project level. |
4447 'SYMROOT': '<(DEPTH)/xcodebuild', | 4452 'SYMROOT': '<(DEPTH)/xcodebuild', |
4448 }, | 4453 }, |
4449 } | 4454 } |
OLD | NEW |