Commit 4b943995 authored by brettw@chromium.org's avatar brettw@chromium.org

Use the new trim modes in the GN build.

This uses the new "trim" input conversion option and also the default arguments to exec script to clean up some calls.

R=bbudge@chromium.org, bbudge

Review URL: https://codereview.chromium.org/138693003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287873 0039d316-1c4b-4281-b951-d872f2087c98
parent 5dbb45f0
......@@ -29,7 +29,7 @@ ld = cxx
# file of the win tool.
gyp_mac_tool_source =
rebase_path("//tools/gyp/pylib/gyp/mac_tool.py", root_build_dir)
exec_script("setup_toolchain.py", [ gyp_mac_tool_source ], "value")
exec_script("setup_toolchain.py", [ gyp_mac_tool_source ])
# Shared toolchain definition. Invocations should set toolchain_os to set the
# build args in this definition.
......
......@@ -16,8 +16,7 @@ assert(is_win)
gyp_win_tool_path = rebase_path("//tools/gyp/pylib/gyp/win_tool.py",
root_build_dir)
exec_script("setup_toolchain.py",
[ visual_studio_path, gyp_win_tool_path, windows_sdk_path ],
"string")
[ visual_studio_path, gyp_win_tool_path, windows_sdk_path ])
stamp_command = "$python_path gyp-win-tool stamp \$out"
copy_command = "$python_path gyp-win-tool recursive-mirror \$in \$out"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment