| 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 public_deps = [ | 10 public_deps = [ |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 public_deps = [ | 69 public_deps = [ |
| 70 ":repack_ui_test_mac_locale_pack", | 70 ":repack_ui_test_mac_locale_pack", |
| 71 ":repack_ui_test_pak", | 71 ":repack_ui_test_pak", |
| 72 ] | 72 ] |
| 73 } | 73 } |
| 74 | 74 |
| 75 # This needs to be a separate target from ui_test_pak as ui_base_unittests | 75 # This needs to be a separate target from ui_test_pak as ui_base_unittests |
| 76 # wants the generate .pak file in the bundle to be named en.lpro/locale.pak | 76 # wants the generate .pak file in the bundle to be named en.lpro/locale.pak |
| 77 # while components_unittests wants it to be named ui_test.pak. | 77 # while components_unittests wants it to be named ui_test.pak. |
| 78 bundle_data("ui_test_pak_bundle_data") { | 78 bundle_data("ui_test_pak_bundle_data") { |
| 79 testonly = true |
| 79 public_deps = [ | 80 public_deps = [ |
| 80 ":ui_test_pak", | 81 ":ui_test_pak", |
| 81 ] | 82 ] |
| 82 sources = [ | 83 sources = [ |
| 83 "$root_out_dir/ui_test.pak", | 84 "$root_out_dir/ui_test.pak", |
| 84 ] | 85 ] |
| 85 outputs = [ | 86 outputs = [ |
| 86 "{{bundle_resources_dir}}/en.lproj/locale.pak", | 87 "{{bundle_resources_dir}}/en.lproj/locale.pak", |
| 87 ] | 88 ] |
| 88 } | 89 } |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 181 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
| 181 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 182 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
| 182 ] | 183 ] |
| 183 | 184 |
| 184 output = "$root_out_dir/ui/en.lproj/locale.pak" | 185 output = "$root_out_dir/ui/en.lproj/locale.pak" |
| 185 | 186 |
| 186 deps = [ | 187 deps = [ |
| 187 "//ui/strings", | 188 "//ui/strings", |
| 188 ] | 189 ] |
| 189 } | 190 } |
| OLD | NEW |