Index: chrome/browser/BUILD.gn |
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn |
index 90973f330ecb5ec26b667d2af3c5581c1b37af37..33ef8ee8e81ac521dccf9ffbcef4d48b5276aa96 100644 |
--- a/chrome/browser/BUILD.gn |
+++ b/chrome/browser/BUILD.gn |
@@ -923,9 +923,6 @@ grit("resources") { |
"browser_resources.pak", |
] |
- omnibox_mojom_file = |
- "$root_gen_dir/chrome/browser/ui/webui/omnibox/omnibox.mojom.js" |
- |
grit_flags = [ |
"-E", |
"about_credits_file=" + rebase_path(about_credits_file, root_build_dir), |
@@ -933,7 +930,7 @@ grit("resources") { |
"additional_modules_list_file=" + |
rebase_path(additional_modules_list_file, root_build_dir), |
"-E", |
- "omnibox_mojom_file=" + rebase_path(omnibox_mojom_file, root_build_dir), |
+ "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), |
] |
deps = [ |
@@ -942,11 +939,9 @@ grit("resources") { |
# Depend only on the generated mojo bindings since we read the .mojom.js |
# file, rather than the whole mojo target which will link the C++ bindings. |
+ "//chrome/browser/ui/webui/engagement:mojo_bindings__generator", |
"//chrome/browser/ui/webui/omnibox:mojo_bindings__generator", |
] |
- inputs = [ |
- omnibox_mojom_file, |
- ] |
} |
# GYP version: chrome/chrome_resource.gyp:about_credits |