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

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

Issue 2563023002: Add //ios/chrome/app/resources group target. (Closed)
Patch Set: ... Created 4 years 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 | « ios/chrome/BUILD.gn ('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 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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/ios/rules.gni") 6 import("//build/config/ios/rules.gni")
7 import("//build/config/locales.gni") 7 import("//build/config/locales.gni")
8 import("//ios/chrome/app/resources/ios_chrome_repack.gni") 8 import("//ios/chrome/app/resources/ios_chrome_repack.gni")
9 import("//ios/chrome/tools/strings/generate_localizable_strings.gni") 9 import("//ios/chrome/tools/strings/generate_localizable_strings.gni")
10 import("//ios/public/provider/chrome/browser/build_config.gni") 10 import("//ios/public/provider/chrome/browser/build_config.gni")
11 import("//tools/grit/grit_rule.gni") 11 import("//tools/grit/grit_rule.gni")
12 12
13 grit("resources") { 13 group("resources") {
14 public_deps = [
15 ":launchscreen_xib",
16 ":quick_action_icons",
17 ":system_strings",
18 ios_application_icons_target,
19 ios_packed_resources_target,
20 ]
21 }
22
23 grit("ios_resources") {
14 source = "ios_resources.grd" 24 source = "ios_resources.grd"
15 output_dir = "$root_gen_dir/ios/chrome" 25 output_dir = "$root_gen_dir/ios/chrome"
16 use_qualified_include = true 26 use_qualified_include = true
17 outputs = [ 27 outputs = [
18 "grit/ios_resources.h", 28 "grit/ios_resources.h",
19 "ios_resources.pak", 29 "ios_resources.pak",
20 ] 30 ]
21 } 31 }
22 32
23 group("packed_resources") { 33 group("packed_resources") {
(...skipping 22 matching lines...) Expand all
46 repack("repack_unscaled_resources") { 56 repack("repack_unscaled_resources") {
47 visibility = [ ":packed_resources" ] 57 visibility = [ ":packed_resources" ]
48 sources = [ 58 sources = [
49 "$root_gen_dir/components/components_resources.pak", 59 "$root_gen_dir/components/components_resources.pak",
50 "$root_gen_dir/ios/chrome/ios_resources.pak", 60 "$root_gen_dir/ios/chrome/ios_resources.pak",
51 "$root_gen_dir/ios/web/ios_web_resources.pak", 61 "$root_gen_dir/ios/web/ios_web_resources.pak",
52 "$root_gen_dir/net/net_resources.pak", 62 "$root_gen_dir/net/net_resources.pak",
53 "$root_gen_dir/ui/resources/webui_resources.pak", 63 "$root_gen_dir/ui/resources/webui_resources.pak",
54 ] 64 ]
55 deps = [ 65 deps = [
56 ":resources", 66 ":ios_resources",
57 "//components/resources", 67 "//components/resources",
58 "//ios/web:resources", 68 "//ios/web:resources",
59 "//net:net_resources", 69 "//net:net_resources",
60 "//ui/resources", 70 "//ui/resources",
61 ] 71 ]
62 output = "$target_gen_dir/resources.pak" 72 output = "$target_gen_dir/resources.pak"
63 copy_data_to_bundle = true 73 copy_data_to_bundle = true
64 } 74 }
65 75
66 bundle_data("chromium_icons") { 76 bundle_data("chromium_icons") {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 datapack_dir = get_label_info(ios_packed_resources_target, "target_gen_dir") 130 datapack_dir = get_label_info(ios_packed_resources_target, "target_gen_dir")
121 packed_locales = ios_packed_locales_as_mac_outputs 131 packed_locales = ios_packed_locales_as_mac_outputs
122 output_filenames = [ 132 output_filenames = [
123 "InfoPlist.strings", 133 "InfoPlist.strings",
124 "Localizable.strings", 134 "Localizable.strings",
125 ] 135 ]
126 deps = [ 136 deps = [
127 ios_packed_resources_target, 137 ios_packed_resources_target,
128 ] 138 ]
129 } 139 }
OLDNEW
« no previous file with comments | « ios/chrome/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698