Commit c33424e0 authored by dpranke@chromium.org's avatar dpranke@chromium.org

Make the GN Android builds goma-aware.

R=brettw@chromium.org
BUG=394501

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284756 0039d316-1c4b-4281-b951-d872f2087c98
parent 9a127073
...@@ -32,8 +32,14 @@ template("android_gcc_toolchain") { ...@@ -32,8 +32,14 @@ template("android_gcc_toolchain") {
# The tools should be run relative to the build dir. # The tools should be run relative to the build dir.
tool_prefix = rebase_path(invoker.tool_prefix, root_build_dir) tool_prefix = rebase_path(invoker.tool_prefix, root_build_dir)
cc = tool_prefix + "gcc" if (use_goma) {
cxx = tool_prefix + "g++" goma_prefix = "$goma_dir/gomacc "
} else {
goma_prefix = ""
}
cc = goma_prefix + tool_prefix + "gcc"
cxx = goma_prefix + tool_prefix + "g++"
ar = tool_prefix + "ar" ar = tool_prefix + "ar"
ld = cxx ld = cxx
......
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