Clean up some GN/hermetic build changes.
No functional changes, just style. BUG= Review-Url: https://codereview.chromium.org/2401573005 Cr-Original-Commit-Position: refs/heads/master@{#424199} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 55e37ffdfc5d1aa4f47ae7e9bc0c8bc58ba23af5
This commit is contained in:
Родитель
17093d45bf
Коммит
bbaba8789b
|
@ -23,7 +23,7 @@ def main():
|
|||
help='Path to Xcode.')
|
||||
args, unknown_args = parser.parse_known_args()
|
||||
|
||||
if (args.developer_dir):
|
||||
if args.developer_dir:
|
||||
os.environ['DEVELOPER_DIR'] = args.developer_dir
|
||||
|
||||
ibtool_args = [
|
||||
|
|
|
@ -16,7 +16,7 @@ if __name__ == '__main__':
|
|||
help='Path to Xcode.')
|
||||
args, unknown_args = parser.parse_known_args()
|
||||
|
||||
if (args.developer_dir):
|
||||
if args.developer_dir:
|
||||
os.environ['DEVELOPER_DIR'] = args.developer_dir
|
||||
|
||||
rv = subprocess.check_call(['xcrun'] + unknown_args)
|
||||
|
|
|
@ -47,13 +47,13 @@ declare_args() {
|
|||
# obtained with gclient sync after setting the environment variable
|
||||
# FORCE_MAC_TOOLCHAIN].
|
||||
use_system_xcode = true
|
||||
|
||||
# The path to the hermetic install of Xcode. Only relevant when
|
||||
# use_system_xcode = false.
|
||||
hermetic_xcode_path =
|
||||
rebase_path("//build/mac_files/Xcode.app", "", root_build_dir)
|
||||
}
|
||||
|
||||
# The path to the hermetic install of Xcode. Only relevant when
|
||||
# use_system_xcode = false.
|
||||
hermetic_xcode_path =
|
||||
rebase_path("//build/mac_files/Xcode.app", "", root_build_dir)
|
||||
|
||||
declare_args() {
|
||||
if (is_clang) {
|
||||
# Clang compiler version. Clang files are placed at version-dependent paths.
|
||||
|
|
Загрузка…
Ссылка в новой задаче