diff --git a/config/mac/compile_xib.py b/config/mac/compile_xib.py index f37ab2d69..4923d8298 100644 --- a/config/mac/compile_xib.py +++ b/config/mac/compile_xib.py @@ -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 = [ diff --git a/config/mac/xcrun.py b/config/mac/xcrun.py index bdf15ffff..1f8dc203b 100644 --- a/config/mac/xcrun.py +++ b/config/mac/xcrun.py @@ -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) diff --git a/toolchain/toolchain.gni b/toolchain/toolchain.gni index dab5b77c7..678b91ac8 100644 --- a/toolchain/toolchain.gni +++ b/toolchain/toolchain.gni @@ -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.