Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: build/compiled_action.gni

Issue 2944103003: Introduce dart_host_toolchain arg, remove '--checked' option from patch_sdk.py (Closed)
Patch Set: Add comment Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/dart_host_toolchain.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/compiled_action.gni
diff --git a/build/compiled_action.gni b/build/compiled_action.gni
index e4e999ac576450eea1298443719c821e13369c63..228378dc8a9a7dd6f12359410a5ce9caa89e3464 100644
--- a/build/compiled_action.gni
+++ b/build/compiled_action.gni
@@ -66,6 +66,8 @@
# saves unnecessarily compiling your tool for the target platform. But if you
# need a target build of your tool as well, just leave off the if statement.
+import("dart_host_toolchain.gni")
+
if (host_os == "win") {
_host_executable_suffix = ".exe"
} else {
@@ -97,7 +99,7 @@ template("compiled_action") {
outputs = invoker.outputs
# Constuct the host toolchain version of the tool.
- host_tool = invoker.tool + "($host_toolchain)"
+ host_tool = invoker.tool + "($dart_host_toolchain)"
# Get the path to the executable. Currently, this assumes that the tool
# does not specify output_name so that the target name is the name to use.
@@ -150,7 +152,7 @@ template("compiled_action_foreach") {
outputs = invoker.outputs
# Constuct the host toolchain version of the tool.
- host_tool = invoker.tool + "($host_toolchain)"
+ host_tool = invoker.tool + "($dart_host_toolchain)"
# Get the path to the executable. Currently, this assumes that the tool
# does not specify output_name so that the target name is the name to use.
« no previous file with comments | « no previous file | build/dart_host_toolchain.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698