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

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

Issue 2696763003: Don't build chrome://settings on Android (Closed)
Patch Set: rebase Created 3 years, 10 months 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/BUILD.gn ('k') | no next file » | 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") 5 import("//chrome/common/features.gni")
6 import("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 7
8 grit("net_internals_resources") { 8 grit("net_internals_resources") {
9 source = "net_internals_resources.grd" 9 source = "net_internals_resources.grd"
10 use_qualified_include = true 10 use_qualified_include = true
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 source = "translate_internals_resources.grd" 67 source = "translate_internals_resources.grd"
68 use_qualified_include = true 68 use_qualified_include = true
69 defines = chrome_grit_defines 69 defines = chrome_grit_defines
70 outputs = [ 70 outputs = [
71 "grit/translate_internals_resources.h", 71 "grit/translate_internals_resources.h",
72 "translate_internals_resources.pak", 72 "translate_internals_resources.pak",
73 ] 73 ]
74 output_dir = "$root_gen_dir/chrome" 74 output_dir = "$root_gen_dir/chrome"
75 } 75 }
76 76
77 if (!is_ios) { 77 if (!is_ios && !is_android) {
78 grit("component_extension_resources") { 78 grit("component_extension_resources") {
79 source = "component_extension_resources.grd" 79 source = "component_extension_resources.grd"
80 80
81 # TODO(thestig): use_qualified_include = true 81 # TODO(thestig): use_qualified_include = true
82 defines = chrome_grit_defines 82 defines = chrome_grit_defines
83 if (enable_hangout_services_extension) { 83 if (enable_hangout_services_extension) {
84 defines += [ "enable_hangout_services_extension" ] 84 defines += [ "enable_hangout_services_extension" ]
85 } 85 }
86 86
87 outputs = [ 87 outputs = [
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 grit("options_test_resources") { 121 grit("options_test_resources") {
122 source = "options_test_resources.grd" 122 source = "options_test_resources.grd"
123 use_qualified_include = true 123 use_qualified_include = true
124 defines = chrome_grit_defines 124 defines = chrome_grit_defines
125 outputs = [ 125 outputs = [
126 "grit/options_test_resources.h", 126 "grit/options_test_resources.h",
127 "options_test_resources.pak", 127 "options_test_resources.pak",
128 ] 128 ]
129 output_dir = "$root_gen_dir/chrome" 129 output_dir = "$root_gen_dir/chrome"
130 } 130 }
131 }
131 132
133 if (!is_ios) {
132 grit("quota_internals_resources") { 134 grit("quota_internals_resources") {
133 source = "quota_internals_resources.grd" 135 source = "quota_internals_resources.grd"
134 use_qualified_include = true 136 use_qualified_include = true
135 defines = chrome_grit_defines 137 defines = chrome_grit_defines
136 outputs = [ 138 outputs = [
137 "grit/quota_internals_resources.h", 139 "grit/quota_internals_resources.h",
138 "quota_internals_resources.pak", 140 "quota_internals_resources.pak",
139 ] 141 ]
140 output_dir = "$root_gen_dir/chrome" 142 output_dir = "$root_gen_dir/chrome"
141 } 143 }
142 144
143 grit("sync_file_system_internals_resources") {
144 source = "sync_file_system_internals_resources.grd"
145 use_qualified_include = true
146 defines = chrome_grit_defines
147 outputs = [
148 "grit/sync_file_system_internals_resources.h",
149 "sync_file_system_internals_resources.pak",
150 ]
151 output_dir = "$root_gen_dir/chrome"
152 }
153
154 grit("webapks_ui_resources") { 145 grit("webapks_ui_resources") {
155 source = "webapks_ui_resources.grd" 146 source = "webapks_ui_resources.grd"
156 use_qualified_include = true 147 use_qualified_include = true
157 defines = chrome_grit_defines 148 defines = chrome_grit_defines
158 outputs = [ 149 outputs = [
159 "grit/webapks_ui_resources.h", 150 "grit/webapks_ui_resources.h",
160 "webapks_ui_resources.pak", 151 "webapks_ui_resources.pak",
161 ] 152 ]
162 output_dir = "$root_gen_dir/chrome" 153 output_dir = "$root_gen_dir/chrome"
163 } 154 }
155 }
156
157 if (enable_extensions) {
158 grit("sync_file_system_internals_resources") {
159 source = "sync_file_system_internals_resources.grd"
160 use_qualified_include = true
161 defines = chrome_grit_defines
162 outputs = [
163 "grit/sync_file_system_internals_resources.h",
164 "sync_file_system_internals_resources.pak",
165 ]
166 output_dir = "$root_gen_dir/chrome"
167 }
164 } 168 }
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698