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

Side by Side Diff: chrome/browser/resources/BUILD.gn

Issue 1475883002: Revert of New build flag system, convert Google Now flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//chrome/common/features.gni")
6 import("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
7 6
8 grit("memory_internals_resources") { 7 grit("memory_internals_resources") {
9 source = "memory_internals_resources.grd" 8 source = "memory_internals_resources.grd"
10 defines = chrome_grit_defines
11 outputs = [ 9 outputs = [
12 "grit/memory_internals_resources.h", 10 "grit/memory_internals_resources.h",
13 "memory_internals_resources.pak", 11 "memory_internals_resources.pak",
14 ] 12 ]
15 output_dir = "$root_gen_dir/chrome" 13 output_dir = "$root_gen_dir/chrome"
16 } 14 }
17 15
18 grit("net_internals_resources") { 16 grit("net_internals_resources") {
19 source = "net_internals_resources.grd" 17 source = "net_internals_resources.grd"
20 defines = chrome_grit_defines
21 outputs = [ 18 outputs = [
22 "grit/net_internals_resources.h", 19 "grit/net_internals_resources.h",
23 "net_internals_resources.pak", 20 "net_internals_resources.pak",
24 ] 21 ]
25 output_dir = "$root_gen_dir/chrome" 22 output_dir = "$root_gen_dir/chrome"
26 } 23 }
27 24
28 grit("invalidations_resources") { 25 grit("invalidations_resources") {
29 source = "invalidations_resources.grd" 26 source = "invalidations_resources.grd"
30 defines = chrome_grit_defines
31 outputs = [ 27 outputs = [
32 "grit/invalidations_resources.h", 28 "grit/invalidations_resources.h",
33 "invalidations_resources.pak", 29 "invalidations_resources.pak",
34 ] 30 ]
35 output_dir = "$root_gen_dir/chrome" 31 output_dir = "$root_gen_dir/chrome"
36 } 32 }
37 33
38 grit("password_manager_internals_resources") { 34 grit("password_manager_internals_resources") {
39 source = "password_manager_internals_resources.grd" 35 source = "password_manager_internals_resources.grd"
40 defines = chrome_grit_defines
41 outputs = [ 36 outputs = [
42 "grit/password_manager_internals_resources.h", 37 "grit/password_manager_internals_resources.h",
43 "password_manager_internals_resources.pak", 38 "password_manager_internals_resources.pak",
44 ] 39 ]
45 output_dir = "$root_gen_dir/chrome" 40 output_dir = "$root_gen_dir/chrome"
46 } 41 }
47 42
48 grit("signin_internals_resources") { 43 grit("signin_internals_resources") {
49 source = "signin_internals_resources.grd" 44 source = "signin_internals_resources.grd"
50 defines = chrome_grit_defines
51 outputs = [ 45 outputs = [
52 "grit/signin_internals_resources.h", 46 "grit/signin_internals_resources.h",
53 "signin_internals_resources.pak", 47 "signin_internals_resources.pak",
54 ] 48 ]
55 output_dir = "$root_gen_dir/chrome" 49 output_dir = "$root_gen_dir/chrome"
56 } 50 }
57 51
58 grit("translate_internals_resources") { 52 grit("translate_internals_resources") {
59 source = "translate_internals_resources.grd" 53 source = "translate_internals_resources.grd"
60 defines = chrome_grit_defines
61 outputs = [ 54 outputs = [
62 "grit/translate_internals_resources.h", 55 "grit/translate_internals_resources.h",
63 "translate_internals_resources.pak", 56 "translate_internals_resources.pak",
64 ] 57 ]
65 output_dir = "$root_gen_dir/chrome" 58 output_dir = "$root_gen_dir/chrome"
66 } 59 }
67 60
68 # GYP version: copy command of chrome_extra_resources 61 # GYP version: copy command of chrome_extra_resources
69 copy("extension_resource_demo") { 62 copy("extension_resource_demo") {
70 sources = [ 63 sources = [
71 "extension_resource/demo/library.js", 64 "extension_resource/demo/library.js",
72 ] 65 ]
73 outputs = [ 66 outputs = [
74 "$root_out_dir/resources/extension/demo/library.js", 67 "$root_out_dir/resources/extension/demo/library.js",
75 ] 68 ]
76 } 69 }
77 70
78 if (!is_ios) { 71 if (!is_ios) {
79 grit("component_extension_resources") { 72 grit("component_extension_resources") {
80 source = "component_extension_resources.grd" 73 source = "component_extension_resources.grd"
81 defines = chrome_grit_defines
82 outputs = [ 74 outputs = [
83 "grit/component_extension_resources.h", 75 "grit/component_extension_resources.h",
84 "grit/component_extension_resources_map.cc", 76 "grit/component_extension_resources_map.cc",
85 "grit/component_extension_resources_map.h", 77 "grit/component_extension_resources_map.h",
86 "component_extension_resources.pak", 78 "component_extension_resources.pak",
87 ] 79 ]
88 output_dir = "$root_gen_dir/chrome" 80 output_dir = "$root_gen_dir/chrome"
89 } 81 }
90 82
91 grit("settings_resources") { 83 grit("settings_resources") {
92 source = "settings/settings_resources.grd" 84 source = "settings/settings_resources.grd"
93 defines = chrome_grit_defines
94 outputs = [ 85 outputs = [
95 "grit/settings_resources.h", 86 "grit/settings_resources.h",
96 "grit/settings_resources_map.cc", 87 "grit/settings_resources_map.cc",
97 "grit/settings_resources_map.h", 88 "grit/settings_resources_map.h",
98 "settings_resources.pak", 89 "settings_resources.pak",
99 ] 90 ]
100 output_dir = "$root_gen_dir/chrome" 91 output_dir = "$root_gen_dir/chrome"
101 } 92 }
102 93
103 grit("options_resources") { 94 grit("options_resources") {
104 source = "options_resources.grd" 95 source = "options_resources.grd"
105 defines = chrome_grit_defines
106 outputs = [ 96 outputs = [
107 "grit/options_resources.h", 97 "grit/options_resources.h",
108 "options_resources.pak", 98 "options_resources.pak",
109 ] 99 ]
110 output_dir = "$root_gen_dir/chrome" 100 output_dir = "$root_gen_dir/chrome"
111 } 101 }
112 102
113 grit("options_test_resources") { 103 grit("options_test_resources") {
114 source = "options_test_resources.grd" 104 source = "options_test_resources.grd"
115 defines = chrome_grit_defines
116 outputs = [ 105 outputs = [
117 "grit/options_test_resources.h", 106 "grit/options_test_resources.h",
118 "options_test_resources.pak", 107 "options_test_resources.pak",
119 ] 108 ]
120 output_dir = "$root_gen_dir/chrome" 109 output_dir = "$root_gen_dir/chrome"
121 } 110 }
122 111
123 grit("quota_internals_resources") { 112 grit("quota_internals_resources") {
124 source = "quota_internals_resources.grd" 113 source = "quota_internals_resources.grd"
125 defines = chrome_grit_defines
126 outputs = [ 114 outputs = [
127 "grit/quota_internals_resources.h", 115 "grit/quota_internals_resources.h",
128 "quota_internals_resources.pak", 116 "quota_internals_resources.pak",
129 ] 117 ]
130 output_dir = "$root_gen_dir/chrome" 118 output_dir = "$root_gen_dir/chrome"
131 } 119 }
132 120
133 grit("sync_file_system_internals_resources") { 121 grit("sync_file_system_internals_resources") {
134 source = "sync_file_system_internals_resources.grd" 122 source = "sync_file_system_internals_resources.grd"
135 defines = chrome_grit_defines
136 outputs = [ 123 outputs = [
137 "grit/sync_file_system_internals_resources.h", 124 "grit/sync_file_system_internals_resources.h",
138 "sync_file_system_internals_resources.pak", 125 "sync_file_system_internals_resources.pak",
139 ] 126 ]
140 output_dir = "$root_gen_dir/chrome" 127 output_dir = "$root_gen_dir/chrome"
141 } 128 }
142 } 129 }
OLDNEW
« 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