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/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 Loading... |
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 } |
OLD | NEW |