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

Unified Diff: chrome/chrome_paks.gni

Issue 2904443004: Allow generation of a chromium outdirs when enable_extensions=false (Closed)
Patch Set: Fix error from "gn gen out --check" Created 3 years, 7 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
Index: chrome/chrome_paks.gni
diff --git a/chrome/chrome_paks.gni b/chrome/chrome_paks.gni
index f9117f24fffef6ff688bb308446af577d6dd76f7..1b8c897f1262298d221eaaf0ab66af935f04ca12 100644
--- a/chrome/chrome_paks.gni
+++ b/chrome/chrome_paks.gni
@@ -136,7 +136,6 @@ template("chrome_extra_paks") {
"$root_gen_dir/chrome/component_extension_resources.pak",
"$root_gen_dir/chrome/options_resources.pak",
"$root_gen_dir/chrome/settings_resources.pak",
- "$root_gen_dir/chrome/sync_file_system_internals_resources.pak",
"$root_gen_dir/content/browser/devtools/devtools_resources.pak",
"$root_gen_dir/headless/headless_lib_resources.pak",
]
@@ -144,11 +143,16 @@ template("chrome_extra_paks") {
"//chrome/browser/resources:component_extension_resources",
"//chrome/browser/resources:options_resources",
"//chrome/browser/resources:settings_resources",
- "//chrome/browser/resources:sync_file_system_internals_resources",
"//content/browser/devtools:devtools_resources",
"//headless:resources",
]
}
+ if (enable_extensions) {
+ sources +=
+ [ "$root_gen_dir/chrome/sync_file_system_internals_resources.pak" ]
+ deps +=
+ [ "//chrome/browser/resources:sync_file_system_internals_resources" ]
+ }
if (is_chromeos) {
sources += [
"$root_gen_dir/components/chrome_apps/chrome_apps_resources.pak",

Powered by Google App Engine
This is Rietveld 408576698