OLD | NEW |
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 group("resources") { | 13 group("resources") { |
14 public_deps = [ | 14 public_deps = [ |
15 ":launchscreen_xib", | 15 ":launchscreen_xib", |
16 ":quick_action_icons", | 16 ":quick_action_icons", |
17 ":system_strings", | 17 ":system_strings", |
18 ios_application_icons_target, | 18 ios_application_icons_target, |
19 ios_packed_resources_target, | 19 ios_packed_resources_target, |
20 ] | 20 ] |
21 } | 21 } |
22 | 22 |
23 grit("ios_resources") { | 23 grit("ios_resources") { |
24 source = "ios_resources.grd" | 24 source = "ios_resources.grd" |
25 output_dir = "$root_gen_dir/ios/chrome" | 25 output_dir = "$root_gen_dir/ios/chrome" |
26 use_qualified_include = true | |
27 outputs = [ | 26 outputs = [ |
28 "grit/ios_resources.h", | 27 "grit/ios_resources.h", |
29 "ios_resources.pak", | 28 "ios_resources.pak", |
30 ] | 29 ] |
31 } | 30 } |
32 | 31 |
33 group("packed_resources") { | 32 group("packed_resources") { |
34 public_deps = [ | 33 public_deps = [ |
35 ":repack_locales", | 34 ":repack_locales", |
36 ":repack_scalable_resources", | 35 ":repack_scalable_resources", |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 datapack_dir = get_label_info(ios_packed_resources_target, "target_gen_dir") | 131 datapack_dir = get_label_info(ios_packed_resources_target, "target_gen_dir") |
133 packed_locales = ios_packed_locales_as_mac_outputs | 132 packed_locales = ios_packed_locales_as_mac_outputs |
134 output_filenames = [ | 133 output_filenames = [ |
135 "InfoPlist.strings", | 134 "InfoPlist.strings", |
136 "Localizable.strings", | 135 "Localizable.strings", |
137 ] | 136 ] |
138 deps = [ | 137 deps = [ |
139 ios_packed_resources_target, | 138 ios_packed_resources_target, |
140 ] | 139 ] |
141 } | 140 } |
OLD | NEW |