Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Side by Side Diff: ui/resources/BUILD.gn

Issue 560993004: Revert of Simplify test locales in ui_unittests Framework (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/base/ui_base_tests_bundle.gypi ('k') | ui/resources/ui_resources.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 } 45 }
46 46
47 if (!is_mac) { 47 if (!is_mac) {
48 copy("copy_ui_resources_100_percent") { 48 copy("copy_ui_resources_100_percent") {
49 sources = [ "$root_gen_dir/ui/resources/ui_resources_100_percent.pak" ] 49 sources = [ "$root_gen_dir/ui/resources/ui_resources_100_percent.pak" ]
50 outputs = [ "$root_out_dir/ui_resources_100_percent.pak" ] 50 outputs = [ "$root_out_dir/ui_resources_100_percent.pak" ]
51 deps = [ "//ui/resources" ] 51 deps = [ "//ui/resources" ]
52 } 52 }
53 } 53 }
54 54
55 # On iOS and Mac the output needs to additionally be copied to another location, 55 # On iOS the output needs to additionally be copied to another location, so
56 # so we have this intermediate step. 56 # we have this intermediate step.
57 # 57 #
58 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak 58 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak
59 # (copy_ui_test_pak action) 59 # (copy_ui_test_pak action)
60 if (is_ios || is_mac) { 60 if (is_ios) {
61 copy("ui_test_pak") { 61 copy("ui_test_pak") {
62 sources = [ "$root_out_dir/ui_test.pak" ] 62 sources = [ "$root_out_dir/ui_test.pak" ]
63 outputs = [ "$root_out_dir/ui/en.lproj/locale.pak" ] 63 outputs = [ "$root_out_dir/ui/en.lproj/locale.pak" ]
64 deps = [ ":repack_ui_test_pak" ] 64 deps = [ ":repack_ui_test_pak" ]
65 } 65 }
66 } else { 66 } else {
67 group("ui_test_pak") { 67 group("ui_test_pak") {
68 deps = [ ":repack_ui_test_pak" ] 68 deps = [ ":repack_ui_test_pak" ]
69 } 69 }
70 } 70 }
71 71
72 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak 72 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak
73 repack("repack_ui_test_pak") { 73 repack("repack_ui_test_pak") {
74 # Depend on ui_test_pak instead of this one. 74 # Depend on ui_test_pak instead of this one.
75 visibility = [ ":ui_test_pak" ] 75 visibility = [ ":ui_test_pak" ]
76 76
77 sources = [ 77 sources = [
78 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", 78 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
79 "$root_gen_dir/ui/resources/webui_resources.pak", 79 "$root_gen_dir/ui/resources/webui_resources.pak",
80 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", 80 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
81 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", 81 "$root_gen_dir/ui/strings/ui_strings_en-US.pak",
82 ] 82 ]
83 83
84 output = "$root_out_dir/ui_test.pak" 84 output = "$root_out_dir/ui_test.pak"
85 85
86 deps = [ 86 deps = [
87 "//ui/resources", 87 "//ui/resources",
88 "//ui/strings", 88 "//ui/strings",
89 ] 89 ]
90 90
91 if (!is_mac) { 91 if (!is_mac) {
92 deps += [ ":copy_ui_resources_100_percent" ] 92 deps += [ ":copy_ui_resources_100_percent" ]
93 } 93 }
94 } 94 }
OLDNEW
« no previous file with comments | « ui/base/ui_base_tests_bundle.gypi ('k') | ui/resources/ui_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698