Index: chrome/browser/resources/BUILD.gn |
diff --git a/chrome/browser/resources/BUILD.gn b/chrome/browser/resources/BUILD.gn |
index a5949a2136bf9087848bd4ca40da17c96f3acf7d..14de7095cdc0c7e1a636ab0b50c36aa90ee94bdc 100644 |
--- a/chrome/browser/resources/BUILD.gn |
+++ b/chrome/browser/resources/BUILD.gn |
@@ -2,10 +2,12 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//chrome/common/features.gni") |
import("//tools/grit/grit_rule.gni") |
grit("memory_internals_resources") { |
source = "memory_internals_resources.grd" |
+ defines = chrome_grit_defines |
outputs = [ |
"grit/memory_internals_resources.h", |
"memory_internals_resources.pak", |
@@ -15,6 +17,7 @@ grit("memory_internals_resources") { |
grit("net_internals_resources") { |
source = "net_internals_resources.grd" |
+ defines = chrome_grit_defines |
outputs = [ |
"grit/net_internals_resources.h", |
"net_internals_resources.pak", |
@@ -24,6 +27,7 @@ grit("net_internals_resources") { |
grit("invalidations_resources") { |
source = "invalidations_resources.grd" |
+ defines = chrome_grit_defines |
outputs = [ |
"grit/invalidations_resources.h", |
"invalidations_resources.pak", |
@@ -33,6 +37,7 @@ grit("invalidations_resources") { |
grit("password_manager_internals_resources") { |
source = "password_manager_internals_resources.grd" |
+ defines = chrome_grit_defines |
outputs = [ |
"grit/password_manager_internals_resources.h", |
"password_manager_internals_resources.pak", |
@@ -42,6 +47,7 @@ grit("password_manager_internals_resources") { |
grit("signin_internals_resources") { |
source = "signin_internals_resources.grd" |
+ defines = chrome_grit_defines |
outputs = [ |
"grit/signin_internals_resources.h", |
"signin_internals_resources.pak", |
@@ -51,6 +57,7 @@ grit("signin_internals_resources") { |
grit("translate_internals_resources") { |
source = "translate_internals_resources.grd" |
+ defines = chrome_grit_defines |
outputs = [ |
"grit/translate_internals_resources.h", |
"translate_internals_resources.pak", |
@@ -71,6 +78,7 @@ copy("extension_resource_demo") { |
if (!is_ios) { |
grit("component_extension_resources") { |
source = "component_extension_resources.grd" |
+ defines = chrome_grit_defines |
outputs = [ |
"grit/component_extension_resources.h", |
"grit/component_extension_resources_map.cc", |
@@ -82,6 +90,7 @@ if (!is_ios) { |
grit("settings_resources") { |
source = "settings/settings_resources.grd" |
+ defines = chrome_grit_defines |
outputs = [ |
"grit/settings_resources.h", |
"grit/settings_resources_map.cc", |
@@ -93,6 +102,7 @@ if (!is_ios) { |
grit("options_resources") { |
source = "options_resources.grd" |
+ defines = chrome_grit_defines |
outputs = [ |
"grit/options_resources.h", |
"options_resources.pak", |
@@ -102,6 +112,7 @@ if (!is_ios) { |
grit("options_test_resources") { |
source = "options_test_resources.grd" |
+ defines = chrome_grit_defines |
outputs = [ |
"grit/options_test_resources.h", |
"options_test_resources.pak", |
@@ -111,6 +122,7 @@ if (!is_ios) { |
grit("quota_internals_resources") { |
source = "quota_internals_resources.grd" |
+ defines = chrome_grit_defines |
outputs = [ |
"grit/quota_internals_resources.h", |
"quota_internals_resources.pak", |
@@ -120,6 +132,7 @@ if (!is_ios) { |
grit("sync_file_system_internals_resources") { |
source = "sync_file_system_internals_resources.grd" |
+ defines = chrome_grit_defines |
outputs = [ |
"grit/sync_file_system_internals_resources.h", |
"sync_file_system_internals_resources.pak", |