| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 public_deps = [ | 69 public_deps = [ |
| 70 ":repack_ui_test_mac_locale_pack", |
| 70 ":repack_ui_test_pak", | 71 ":repack_ui_test_pak", |
| 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 ] |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 165 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
| 166 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 166 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
| 167 ] | 167 ] |
| 168 | 168 |
| 169 output = "$root_out_dir/ui/en.lproj/locale.pak" | 169 output = "$root_out_dir/ui/en.lproj/locale.pak" |
| 170 | 170 |
| 171 deps = [ | 171 deps = [ |
| 172 "//ui/strings", | 172 "//ui/strings", |
| 173 ] | 173 ] |
| 174 } | 174 } |
| OLD | NEW |