summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-15 19:39:14 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-15 19:39:14 +0000
commite2504c8bddb98698b98013acaba4724aaff72b56 (patch)
tree072942c8cdd2bc63a526902f7b108d01715adbf0 /tools
parent89ded531c2f2aef5577c22a9267ead1a9035d722 (diff)
downloadchromium_src-e2504c8bddb98698b98013acaba4724aaff72b56.zip
chromium_src-e2504c8bddb98698b98013acaba4724aaff72b56.tar.gz
chromium_src-e2504c8bddb98698b98013acaba4724aaff72b56.tar.bz2
Add GN build for parts of gpu and ozone.
Moves existing ozone platform flag to new .gni file with all ozone flags in it. R=piman@chromium.org, rjkroege@chromium.org, spang@chromium.org Review URL: https://codereview.chromium.org/285103002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270780 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/gn/builder.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/gn/builder.cc b/tools/gn/builder.cc
index a04d3ad..b8ef71e 100644
--- a/tools/gn/builder.cc
+++ b/tools/gn/builder.cc
@@ -447,9 +447,10 @@ bool Builder::ResolveForwardDependentConfigs(Target* target, Err* err) {
if (!configs[config_i].ptr) {
*err = Err(target->defined_from(),
"Target in forward_dependent_configs_from was not listed in the deps",
- "The target \"" + configs[config_i].label.GetUserVisibleName(false) +
- "\"\n was not present in the deps. This thing is used to forward\n"
- "configs from direct dependents.");
+ "This target has a forward_dependent_configs_from entry that was "
+ "not present in\nthe deps. A target can only forward things it "
+ "depends on. It was forwarding:\n " +
+ configs[config_i].label.GetUserVisibleName(false));
return false;
}
}