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

Unified Diff: chrome/browser/resources/BUILD.gn

Issue 1475513006: New build flag system, convert Google Now flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add hard dependency flags Created 5 years, 1 month 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 | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698