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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | no next file » | 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 c8edb250ebac5dc12eb76b18b214a977d52139fe..1b814864aa7f941050f0a8ca3f4d2e25a7e77b28 100644
--- a/chrome/browser/resources/BUILD.gn
+++ b/chrome/browser/resources/BUILD.gn
@@ -74,7 +74,7 @@ grit("translate_internals_resources") {
output_dir = "$root_gen_dir/chrome"
}
-if (!is_ios) {
+if (!is_ios && !is_android) {
grit("component_extension_resources") {
source = "component_extension_resources.grd"
@@ -128,7 +128,9 @@ if (!is_ios) {
]
output_dir = "$root_gen_dir/chrome"
}
+}
+if (!is_ios) {
grit("quota_internals_resources") {
source = "quota_internals_resources.grd"
use_qualified_include = true
@@ -140,24 +142,26 @@ if (!is_ios) {
output_dir = "$root_gen_dir/chrome"
}
- grit("sync_file_system_internals_resources") {
- source = "sync_file_system_internals_resources.grd"
+ grit("webapks_ui_resources") {
+ source = "webapks_ui_resources.grd"
use_qualified_include = true
defines = chrome_grit_defines
outputs = [
- "grit/sync_file_system_internals_resources.h",
- "sync_file_system_internals_resources.pak",
+ "grit/webapks_ui_resources.h",
+ "webapks_ui_resources.pak",
]
output_dir = "$root_gen_dir/chrome"
}
+}
- grit("webapks_ui_resources") {
- source = "webapks_ui_resources.grd"
+if (enable_extensions) {
+ grit("sync_file_system_internals_resources") {
+ source = "sync_file_system_internals_resources.grd"
use_qualified_include = true
defines = chrome_grit_defines
outputs = [
- "grit/webapks_ui_resources.h",
- "webapks_ui_resources.pak",
+ "grit/sync_file_system_internals_resources.h",
+ "sync_file_system_internals_resources.pak",
]
output_dir = "$root_gen_dir/chrome"
}
« 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