summaryrefslogtreecommitdiffstats
path: root/chrome/browser/BUILD.gn
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-22 16:37:26 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-22 16:37:26 +0000
commitcb0c67a8c1065412cba6b83d4adb98c23af9f0d9 (patch)
tree5a5e6ececcdfb917d4eea51be253297cabb3aa78 /chrome/browser/BUILD.gn
parentd864937d220362cbcb5a3533654a3aac9281d929 (diff)
downloadchromium_src-cb0c67a8c1065412cba6b83d4adb98c23af9f0d9.zip
chromium_src-cb0c67a8c1065412cba6b83d4adb98c23af9f0d9.tar.gz
chromium_src-cb0c67a8c1065412cba6b83d4adb98c23af9f0d9.tar.bz2
Hook up .d files and outputs to grit
Pull grit 171 to get the new deps fixes required to implement this. This removes the call to grit for querying inputs completely, and enables depfile writing to enable automatic rebuilds when things are out-of-date. Adds a new outputs variable that bypasses querying grit for outputs. This will assert that the given files exist in grit. This version allows outputs to be empty in which case it will revert to the old dynamic behavior. I'm going to land this with just the worst cases fixed to make landing easier. Then followup with converting the rest of the grit targets and removing the dynamic option. R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/407653003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284705 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/BUILD.gn')
-rw-r--r--chrome/browser/BUILD.gn4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 788b720..51f6d3a 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -612,6 +612,10 @@ static_library("browser") {
# (generate_browser_resources action)
grit("resources") {
source = "browser_resources.grd"
+ outputs = [
+ "grit/browser_resources.h",
+ "browser_resources.pak",
+ ]
omnibox_mojom_file = "$root_gen_dir/chrome/browser/ui/webui/omnibox/omnibox.mojom.js"