| 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/public/provider/chrome/browser/build_config.gni") | 10 import("//ios/public/provider/chrome/browser/build_config.gni") |
| 10 import("//tools/grit/grit_rule.gni") | 11 import("//tools/grit/grit_rule.gni") |
| 11 | 12 |
| 12 grit("resources") { | 13 grit("resources") { |
| 13 source = "ios_resources.grd" | 14 source = "ios_resources.grd" |
| 14 output_dir = "$root_gen_dir/ios/chrome" | 15 output_dir = "$root_gen_dir/ios/chrome" |
| 15 use_qualified_include = true | 16 use_qualified_include = true |
| 16 outputs = [ | 17 outputs = [ |
| 17 "grit/ios_resources.h", | 18 "grit/ios_resources.h", |
| 18 "ios_resources.pak", | 19 "ios_resources.pak", |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 "{{bundle_resources_dir}}/{{source_file_part}}", | 107 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 107 ] | 108 ] |
| 108 } | 109 } |
| 109 | 110 |
| 110 bundle_data_xib("launchscreen_xib") { | 111 bundle_data_xib("launchscreen_xib") { |
| 111 source = "LaunchScreen.xib" | 112 source = "LaunchScreen.xib" |
| 112 deps = [ | 113 deps = [ |
| 113 ios_launchscreen_assets_target, | 114 ios_launchscreen_assets_target, |
| 114 ] | 115 ] |
| 115 } | 116 } |
| 117 |
| 118 generate_localizable_strings("system_strings") { |
| 119 config_file = "chrome_localize_strings_config.plist" |
| 120 datapack_dir = get_label_info(ios_packed_resources_target, "target_gen_dir") |
| 121 packed_locales = ios_packed_locales_as_mac_outputs |
| 122 output_filenames = [ |
| 123 "InfoPlist.strings", |
| 124 "Localizable.strings", |
| 125 ] |
| 126 deps = [ |
| 127 ios_packed_resources_target, |
| 128 ] |
| 129 } |
| OLD | NEW |