| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 "grit/webui_resources_map.h", | 43 "grit/webui_resources_map.h", |
| 44 "webui_resources.pak", | 44 "webui_resources.pak", |
| 45 ] | 45 ] |
| 46 } | 46 } |
| 47 | 47 |
| 48 if (!is_mac) { | 48 if (!is_mac) { |
| 49 copy("copy_ui_resources_100_percent") { | 49 copy("copy_ui_resources_100_percent") { |
| 50 sources = [ | 50 sources = [ |
| 51 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", | 51 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", |
| 52 ] | 52 ] |
| 53 outputs = [ "$root_out_dir/ui_resources_100_percent.pak" ] | 53 outputs = [ |
| 54 "$root_out_dir/ui_resources_100_percent.pak", |
| 55 ] |
| 54 deps = [ | 56 deps = [ |
| 55 "//ui/resources", | 57 "//ui/resources", |
| 56 ] | 58 ] |
| 57 } | 59 } |
| 58 } | 60 } |
| 59 | 61 |
| 60 # 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 |
| 61 # introduces an extra dependency. | 63 # introduces an extra dependency. |
| 62 # | 64 # |
| 63 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak | 65 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 128 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
| 127 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 129 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
| 128 ] | 130 ] |
| 129 | 131 |
| 130 output = "$root_out_dir/ui/en.lproj/locale.pak" | 132 output = "$root_out_dir/ui/en.lproj/locale.pak" |
| 131 | 133 |
| 132 deps = [ | 134 deps = [ |
| 133 "//ui/strings", | 135 "//ui/strings", |
| 134 ] | 136 ] |
| 135 } | 137 } |
| OLD | NEW |