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

Side by Side Diff: ios/chrome/app/resources/BUILD.gn

Issue 2340673002: Revert of 🍵 Refactor the various locale_paks() templates to be more shared (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « chrome/chrome_repack_locales.gni ('k') | ios/chrome/app/resources/ios_chrome_repack.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 import("//ios/chrome/app/resources/ios_chrome_repack.gni") 7 import("//ios/chrome/app/resources/ios_chrome_repack.gni")
8 8
9 grit("resources") { 9 grit("resources") {
10 source = "ios_resources.grd" 10 source = "ios_resources.grd"
(...skipping 21 matching lines...) Expand all
32 32
33 ios_chrome_repack_all_scales("repack_scalable_resources") { 33 ios_chrome_repack_all_scales("repack_scalable_resources") {
34 visibility = [ ":packed_resources" ] 34 visibility = [ ":packed_resources" ]
35 scales = [ 35 scales = [
36 "100", 36 "100",
37 "200", 37 "200",
38 "300", 38 "300",
39 ] 39 ]
40 } 40 }
41 41
42 repack("repack_unscaled_resources") { 42 ios_repack("repack_unscaled_resources") {
43 visibility = [ ":packed_resources" ] 43 visibility = [ ":packed_resources" ]
44 sources = [ 44 sources = [
45 "$root_gen_dir/components/components_resources.pak", 45 "$root_gen_dir/components/components_resources.pak",
46 "$root_gen_dir/ios/chrome/ios_resources.pak", 46 "$root_gen_dir/ios/chrome/ios_resources.pak",
47 "$root_gen_dir/ios/web/ios_web_resources.pak", 47 "$root_gen_dir/ios/web/ios_web_resources.pak",
48 "$root_gen_dir/net/net_resources.pak", 48 "$root_gen_dir/net/net_resources.pak",
49 "$root_gen_dir/ui/resources/webui_resources.pak", 49 "$root_gen_dir/ui/resources/webui_resources.pak",
50 ] 50 ]
51 deps = [ 51 deps = [
52 ":resources", 52 ":resources",
53 "//components/resources", 53 "//components/resources",
54 "//ios/web:resources", 54 "//ios/web:resources",
55 "//net:net_resources", 55 "//net:net_resources",
56 "//ui/resources", 56 "//ui/resources",
57 ] 57 ]
58 output = "$target_gen_dir/resources.pak" 58 output = "$target_gen_dir/resources.pak"
59 copy_data_to_bundle = true 59 bundle_output = "{{bundle_resources_dir}}/{{source_file_part}}"
60 } 60 }
OLDNEW
« no previous file with comments | « chrome/chrome_repack_locales.gni ('k') | ios/chrome/app/resources/ios_chrome_repack.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698