| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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/ios/rules.gni") | 5 import("//build/config/ios/rules.gni") |
| 6 import("//build/config/locales.gni") |
| 7 import("//ios/chrome/app/resources/ios_chrome_repack.gni") |
| 6 | 8 |
| 7 group("resources") { | 9 group("resources") { |
| 8 public_deps = [ | 10 public_deps = [ |
| 9 ":icons", | 11 ":icons", |
| 10 ":launchscreen_xib", | 12 ":launchscreen_xib", |
| 13 ":repack_locales", |
| 11 ] | 14 ] |
| 12 } | 15 } |
| 13 | 16 |
| 14 bundle_data_ib_file("launchscreen_xib") { | 17 bundle_data_ib_file("launchscreen_xib") { |
| 15 source = "LaunchScreen.storyboard" | 18 source = "LaunchScreen.storyboard" |
| 16 } | 19 } |
| 17 | 20 |
| 18 bundle_data("icons") { | 21 bundle_data("icons") { |
| 19 sources = [ | 22 sources = [ |
| 20 "Icon-120.png", | 23 "Icon-120.png", |
| 21 "Icon-152.png", | 24 "Icon-152.png", |
| 22 "Icon-167.png", | 25 "Icon-167.png", |
| 23 "Icon-180.png", | 26 "Icon-180.png", |
| 24 "Icon-29.png", | 27 "Icon-29.png", |
| 25 "Icon-58.png", | 28 "Icon-58.png", |
| 26 "Icon-76.png", | 29 "Icon-76.png", |
| 27 "Icon-80.png", | 30 "Icon-80.png", |
| 28 "Icon-87.png", | 31 "Icon-87.png", |
| 29 ] | 32 ] |
| 30 outputs = [ | 33 outputs = [ |
| 31 "{{bundle_resources_dir}}/{{source_file_part}}", | 34 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 32 ] | 35 ] |
| 33 } | 36 } |
| 37 |
| 38 ios_chrome_repack_locales("repack_locales") { |
| 39 visibility = [ ":resources" ] |
| 40 input_locales = ios_packed_locales |
| 41 output_locales = ios_packed_locales_as_mac_outputs |
| 42 } |
| OLD | NEW |