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

Side by Side Diff: chrome/chrome_repack_locales.gni

Issue 2485673002: Bundle some ash resources into chrome for mash=1 use_ash=0 (Closed)
Patch Set: Bundle some ash resources into chrome for mash=1 use_ash=0 Created 4 years, 1 month 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/chrome_paks.gni ('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("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//chrome/common/features.gni")
8 import("//tools/grit/repack.gni") 9 import("//tools/grit/repack.gni")
9 10
10 # Wraps repack_locales(), setting the source_patterns and deps required for 11 # Wraps repack_locales(), setting the source_patterns and deps required for
11 # Chrome. 12 # Chrome.
12 # 13 #
13 # Extra Parameters: 14 # Extra Parameters:
14 # 15 #
15 # additional_source_patterns [optional] 16 # additional_source_patterns [optional]
16 # Extra source_patterns for repack_locales(). 17 # Extra source_patterns for repack_locales().
17 template("chrome_repack_locales") { 18 template("chrome_repack_locales") {
(...skipping 15 matching lines...) Expand all
33 "//chrome/app:generated_resources", 34 "//chrome/app:generated_resources",
34 "//chrome/app/resources:locale_settings", 35 "//chrome/app/resources:locale_settings",
35 "//chrome/app/resources:platform_locale_settings", 36 "//chrome/app/resources:platform_locale_settings",
36 "//components/strings:components_locale_settings", 37 "//components/strings:components_locale_settings",
37 "//components/strings:components_strings", 38 "//components/strings:components_strings",
38 ] 39 ]
39 if (defined(invoker.deps)) { 40 if (defined(invoker.deps)) {
40 deps += invoker.deps 41 deps += invoker.deps
41 } 42 }
42 43
43 if (use_ash) { 44 # Chrome --mash in non-chromeos builds need to access some ash resources
45 # in order to avoid some missing localized strings in Ash's window manager s ession.
46 # TODO(tonikitoo): Remove this when a chrome/mus is available.
47 if (use_ash || enable_package_mash_services) {
44 source_patterns += [ "${root_gen_dir}/ash/common/strings/ash_strings_" ] 48 source_patterns += [ "${root_gen_dir}/ash/common/strings/ash_strings_" ]
45 deps += [ "//ash/common/strings" ] 49 deps += [ "//ash/common/strings" ]
46 } 50 }
47 if (is_chromeos) { 51 if (is_chromeos) {
48 source_patterns += [ 52 source_patterns += [
49 "${root_gen_dir}/remoting/resources/", 53 "${root_gen_dir}/remoting/resources/",
50 "${root_gen_dir}/ui/chromeos/strings/ui_chromeos_strings_", 54 "${root_gen_dir}/ui/chromeos/strings/ui_chromeos_strings_",
51 ] 55 ]
52 deps += [ 56 deps += [
53 "//remoting/resources", 57 "//remoting/resources",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 "//chrome/app:chromium_strings", 100 "//chrome/app:chromium_strings",
97 "//components/strings:components_chromium_strings", 101 "//components/strings:components_chromium_strings",
98 ] 102 ]
99 } 103 }
100 104
101 if (defined(invoker.additional_source_patterns)) { 105 if (defined(invoker.additional_source_patterns)) {
102 source_patterns += invoker.additional_source_patterns 106 source_patterns += invoker.additional_source_patterns
103 } 107 }
104 } 108 }
105 } 109 }
OLDNEW
« no previous file with comments | « chrome/chrome_paks.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698