| 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 declare_args() { | 8 declare_args() { |
| 9 # Enable to include Polymer 0.8 in the binary. | 9 # Enable to include Polymer 0.8 in the binary. |
| 10 enable_polymer_v08 = false | 10 enable_polymer_v08 = false |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 } | 70 } |
| 71 } | 71 } |
| 72 | 72 |
| 73 # On iOS and Mac the string resources need to go into a locale subfolder, which | 73 # On iOS and Mac the string resources need to go into a locale subfolder, which |
| 74 # introduces an extra dependency. | 74 # introduces an extra dependency. |
| 75 # | 75 # |
| 76 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak | 76 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak |
| 77 # (copy_ui_test_pak action) | 77 # (copy_ui_test_pak action) |
| 78 if (is_ios || is_mac) { | 78 if (is_ios || is_mac) { |
| 79 group("ui_test_pak") { | 79 group("ui_test_pak") { |
| 80 deps = [ | 80 public_deps = [ |
| 81 ":repack_ui_test_pak", | 81 ":repack_ui_test_pak", |
| 82 ":repack_ui_test_mac_locale_pack", | 82 ":repack_ui_test_mac_locale_pack", |
| 83 ] | 83 ] |
| 84 } | 84 } |
| 85 } else { | 85 } else { |
| 86 copy("ui_test_pak") { | 86 copy("ui_test_pak") { |
| 87 sources = [ | 87 sources = [ |
| 88 "$root_out_dir/ui_test.pak", | 88 "$root_out_dir/ui_test.pak", |
| 89 ] | 89 ] |
| 90 outputs = [ | 90 outputs = [ |
| 91 "$root_out_dir/ui/en-US.pak", | 91 "$root_out_dir/ui/en-US.pak", |
| 92 ] | 92 ] |
| 93 deps = [ | 93 public_deps = [ |
| 94 ":repack_ui_test_pak", | 94 ":repack_ui_test_pak", |
| 95 ] | 95 ] |
| 96 } | 96 } |
| 97 } | 97 } |
| 98 | 98 |
| 99 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak | 99 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak |
| 100 repack("repack_ui_test_pak") { | 100 repack("repack_ui_test_pak") { |
| 101 # Depend on ui_test_pak instead of this one. | 101 # Depend on ui_test_pak instead of this one. |
| 102 visibility = [ ":ui_test_pak" ] | 102 visibility = [ ":ui_test_pak" ] |
| 103 | 103 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 148 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
| 149 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 149 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
| 150 ] | 150 ] |
| 151 | 151 |
| 152 output = "$root_out_dir/ui/en.lproj/locale.pak" | 152 output = "$root_out_dir/ui/en.lproj/locale.pak" |
| 153 | 153 |
| 154 deps = [ | 154 deps = [ |
| 155 "//ui/strings", | 155 "//ui/strings", |
| 156 ] | 156 ] |
| 157 } | 157 } |
| OLD | NEW |