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

Side by Side Diff: chrome/chrome_repack_locales.gni

Issue 2408803002: Make it possible to launch chrome --mash with ozone_platform={wayland|x11}, chromeos=0 (Closed)
Patch Set: Make it possible to launch chrome --mash with ozone_platform={wayland|x11}, chromeos=0 Created 4 years, 2 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 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("//tools/grit/repack.gni") 8 import("//tools/grit/repack.gni")
9 9
10 # Wraps repack_locales(), setting the source_patterns and deps required for 10 # Wraps repack_locales(), setting the source_patterns and deps required for
(...skipping 22 matching lines...) Expand all
33 "//chrome/app:generated_resources", 33 "//chrome/app:generated_resources",
34 "//chrome/app/resources:locale_settings", 34 "//chrome/app/resources:locale_settings",
35 "//chrome/app/resources:platform_locale_settings", 35 "//chrome/app/resources:platform_locale_settings",
36 "//components/strings:components_locale_settings", 36 "//components/strings:components_locale_settings",
37 "//components/strings:components_strings", 37 "//components/strings:components_strings",
38 ] 38 ]
39 if (defined(invoker.deps)) { 39 if (defined(invoker.deps)) {
40 deps += invoker.deps 40 deps += invoker.deps
41 } 41 }
42 42
43 if (use_ash) { 43 # TODO(tonikitoo): On Ozone builds, we are (ab)using some ash resources.
44 # There should be an variable that better represents this build configuratit on.
fwang 2016/10/12 14:33:15 Ditto.
tonikitoo 2016/10/12 14:45:07 Done.
45 if (use_ash || use_ozone) {
44 source_patterns += [ "${root_gen_dir}/ash/common/strings/ash_strings_" ] 46 source_patterns += [ "${root_gen_dir}/ash/common/strings/ash_strings_" ]
45 deps += [ "//ash/common/strings" ] 47 deps += [ "//ash/common/strings" ]
46 } 48 }
47 if (is_chromeos) { 49 if (is_chromeos) {
48 source_patterns += [ 50 source_patterns += [
49 "${root_gen_dir}/remoting/resources/", 51 "${root_gen_dir}/remoting/resources/",
50 "${root_gen_dir}/ui/chromeos/strings/ui_chromeos_strings_", 52 "${root_gen_dir}/ui/chromeos/strings/ui_chromeos_strings_",
51 ] 53 ]
52 deps += [ 54 deps += [
53 "//remoting/resources", 55 "//remoting/resources",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 "//chrome/app:chromium_strings", 99 "//chrome/app:chromium_strings",
98 "//components/strings:components_chromium_strings", 100 "//components/strings:components_chromium_strings",
99 ] 101 ]
100 } 102 }
101 103
102 if (defined(invoker.additional_source_patterns)) { 104 if (defined(invoker.additional_source_patterns)) {
103 source_patterns += invoker.additional_source_patterns 105 source_patterns += invoker.additional_source_patterns
104 } 106 }
105 } 107 }
106 } 108 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698