OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 import("//tools/grit/repack.gni") | 6 import("//tools/grit/repack.gni") |
7 | 7 |
8 # GYP version: ui/resources/ui_resources.gyp:ui_resources | 8 # GYP version: ui/resources/ui_resources.gyp:ui_resources |
9 group("resources") { | 9 group("resources") { |
10 deps = [ | 10 deps = [ |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 } | 59 } |
60 } | 60 } |
61 | 61 |
62 # On iOS and Mac the string resources need to go into a locale subfolder, which | 62 # On iOS and Mac the string resources need to go into a locale subfolder, which |
63 # introduces an extra dependency. | 63 # introduces an extra dependency. |
64 # | 64 # |
65 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak | 65 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak |
66 # (copy_ui_test_pak action) | 66 # (copy_ui_test_pak action) |
67 if (is_ios || is_mac) { | 67 if (is_ios || is_mac) { |
68 group("ui_test_pak") { | 68 group("ui_test_pak") { |
69 deps = [ | 69 public_deps = [ |
70 ":repack_ui_test_pak", | 70 ":repack_ui_test_pak", |
71 ":repack_ui_test_mac_locale_pack", | 71 ":repack_ui_test_mac_locale_pack", |
72 ] | 72 ] |
73 } | 73 } |
74 } else { | 74 } else { |
75 copy("ui_test_pak") { | 75 copy("ui_test_pak") { |
76 sources = [ | 76 sources = [ |
77 "$root_out_dir/ui_test.pak", | 77 "$root_out_dir/ui_test.pak", |
78 ] | 78 ] |
79 outputs = [ | 79 outputs = [ |
80 "$root_out_dir/ui/en-US.pak", | 80 "$root_out_dir/ui/en-US.pak", |
81 ] | 81 ] |
82 deps = [ | 82 public_deps = [ |
83 ":repack_ui_test_pak", | 83 ":repack_ui_test_pak", |
84 ] | 84 ] |
85 } | 85 } |
86 } | 86 } |
87 | 87 |
88 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak | 88 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak |
89 repack("repack_ui_test_pak") { | 89 repack("repack_ui_test_pak") { |
90 # Depend on ui_test_pak instead of this one. | 90 # Depend on ui_test_pak instead of this one. |
91 visibility = [ ":ui_test_pak" ] | 91 visibility = [ ":ui_test_pak" ] |
92 | 92 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 137 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
138 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 138 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
139 ] | 139 ] |
140 | 140 |
141 output = "$root_out_dir/ui/en.lproj/locale.pak" | 141 output = "$root_out_dir/ui/en.lproj/locale.pak" |
142 | 142 |
143 deps = [ | 143 deps = [ |
144 "//ui/strings", | 144 "//ui/strings", |
145 ] | 145 ] |
146 } | 146 } |
OLD | NEW |