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 6328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6339 }, { | 6339 }, { |
6340 'SDKROOT': '<(mac_sdk_path)', # -isysroot | 6340 'SDKROOT': '<(mac_sdk_path)', # -isysroot |
6341 }], | 6341 }], |
6342 ], | 6342 ], |
6343 }], | 6343 }], |
6344 ['OS=="ios"', { | 6344 ['OS=="ios"', { |
6345 # Target both iPhone and iPad. | 6345 # Target both iPhone and iPad. |
6346 'TARGETED_DEVICE_FAMILY': '1,2', | 6346 'TARGETED_DEVICE_FAMILY': '1,2', |
6347 'conditions': [ | 6347 'conditions': [ |
6348 ['ios_sdk_path==""', { | 6348 ['ios_sdk_path==""', { |
6349 'SDKROOT': 'iphonesimulator<(ios_sdk)', # -isysroot | 6349 'SDKROOT': 'iphoneos<(ios_sdk)', # -isysroot |
6350 }, { | 6350 }, { |
6351 'SDKROOT': '<(ios_sdk_path)', # -isysroot | 6351 'SDKROOT': '<(ios_sdk_path)', # -isysroot |
6352 }], | 6352 }], |
6353 ], | 6353 ], |
6354 }], | 6354 }], |
6355 ], | 6355 ], |
6356 | 6356 |
6357 # The Xcode generator will look for an xcode_settings section at the root | 6357 # The Xcode generator will look for an xcode_settings section at the root |
6358 # of each dict and use it to apply settings on a file-wide basis. Most | 6358 # of each dict and use it to apply settings on a file-wide basis. Most |
6359 # settings should not be here, they should be in target-specific | 6359 # settings should not be here, they should be in target-specific |
6360 # xcode_settings sections, or better yet, should use non-Xcode-specific | 6360 # xcode_settings sections, or better yet, should use non-Xcode-specific |
6361 # settings in target dicts. SYMROOT is a special case, because many other | 6361 # settings in target dicts. SYMROOT is a special case, because many other |
6362 # Xcode variables depend on it, including variables such as | 6362 # Xcode variables depend on it, including variables such as |
6363 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6363 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6364 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6364 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6365 # files to appear (when present) in the UI as actual files and not red | 6365 # files to appear (when present) in the UI as actual files and not red |
6366 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6366 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6367 # and therefore SYMROOT, needs to be set at the project level. | 6367 # and therefore SYMROOT, needs to be set at the project level. |
6368 'SYMROOT': '<(DEPTH)/xcodebuild', | 6368 'SYMROOT': '<(DEPTH)/xcodebuild', |
6369 }, | 6369 }, |
6370 } | 6370 } |
OLD | NEW |