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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//build/config/locales.gni") 5 import("//build/config/locales.gni")
6 import("//chrome/common/features.gni") 6 import("//chrome/common/features.gni")
7 import("//extensions/features/features.gni") 7 import("//extensions/features/features.gni")
8 import("//ui/base/ui_features.gni") 8 import("//ui/base/ui_features.gni")
9 import("chrome_repack_locales.gni") 9 import("chrome_repack_locales.gni")
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 if (defined(invoker.additional_paks)) { 129 if (defined(invoker.additional_paks)) {
130 sources += invoker.additional_paks 130 sources += invoker.additional_paks
131 } 131 }
132 132
133 if (!is_android) { 133 if (!is_android) {
134 # New paks should be added here by default. 134 # New paks should be added here by default.
135 sources += [ 135 sources += [
136 "$root_gen_dir/chrome/component_extension_resources.pak", 136 "$root_gen_dir/chrome/component_extension_resources.pak",
137 "$root_gen_dir/chrome/options_resources.pak", 137 "$root_gen_dir/chrome/options_resources.pak",
138 "$root_gen_dir/chrome/settings_resources.pak", 138 "$root_gen_dir/chrome/settings_resources.pak",
139 "$root_gen_dir/chrome/sync_file_system_internals_resources.pak",
140 "$root_gen_dir/content/browser/devtools/devtools_resources.pak", 139 "$root_gen_dir/content/browser/devtools/devtools_resources.pak",
141 "$root_gen_dir/headless/headless_lib_resources.pak", 140 "$root_gen_dir/headless/headless_lib_resources.pak",
142 ] 141 ]
143 deps += [ 142 deps += [
144 "//chrome/browser/resources:component_extension_resources", 143 "//chrome/browser/resources:component_extension_resources",
145 "//chrome/browser/resources:options_resources", 144 "//chrome/browser/resources:options_resources",
146 "//chrome/browser/resources:settings_resources", 145 "//chrome/browser/resources:settings_resources",
147 "//chrome/browser/resources:sync_file_system_internals_resources",
148 "//content/browser/devtools:devtools_resources", 146 "//content/browser/devtools:devtools_resources",
149 "//headless:resources", 147 "//headless:resources",
150 ] 148 ]
151 } 149 }
150 if (enable_extensions) {
151 sources +=
152 [ "$root_gen_dir/chrome/sync_file_system_internals_resources.pak" ]
153 deps +=
154 [ "//chrome/browser/resources:sync_file_system_internals_resources" ]
155 }
152 if (is_chromeos) { 156 if (is_chromeos) {
153 sources += [ 157 sources += [
154 "$root_gen_dir/components/chrome_apps/chrome_apps_resources.pak", 158 "$root_gen_dir/components/chrome_apps/chrome_apps_resources.pak",
155 "$root_gen_dir/ui/file_manager/file_manager_resources.pak", 159 "$root_gen_dir/ui/file_manager/file_manager_resources.pak",
156 ] 160 ]
157 deps += [ 161 deps += [
158 "//components/chrome_apps:resources", 162 "//components/chrome_apps:resources",
159 "//ui/file_manager:resources", 163 "//ui/file_manager:resources",
160 ] 164 ]
161 } 165 }
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 ":${target_name}_locales", 268 ":${target_name}_locales",
265 ] 269 ]
266 if (enable_hidpi) { 270 if (enable_hidpi) {
267 public_deps += [ ":${target_name}_200_percent" ] 271 public_deps += [ ":${target_name}_200_percent" ]
268 } 272 }
269 if (defined(invoker.public_deps)) { 273 if (defined(invoker.public_deps)) {
270 public_deps += invoker.public_deps 274 public_deps += invoker.public_deps
271 } 275 }
272 } 276 }
273 } 277 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698