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

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

Issue 704363002: XXX test gn format everything (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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/platform_window/x11/BUILD.gn ('k') | ui/snapshot/BUILD.gn » ('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 29 matching lines...) Expand all
40 outputs = [ 40 outputs = [
41 "grit/webui_resources.h", 41 "grit/webui_resources.h",
42 "grit/webui_resources_map.cc", 42 "grit/webui_resources_map.cc",
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 = [ "$root_gen_dir/ui/resources/ui_resources_100_percent.pak" ] 50 sources = [
51 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
52 ]
51 outputs = [ "$root_out_dir/ui_resources_100_percent.pak" ] 53 outputs = [ "$root_out_dir/ui_resources_100_percent.pak" ]
52 deps = [ "//ui/resources" ] 54 deps = [
55 "//ui/resources",
56 ]
53 } 57 }
54 } 58 }
55 59
56 # On iOS and Mac the string resources need to go into a locale subfolder, which 60 # On iOS and Mac the string resources need to go into a locale subfolder, which
57 # introduces an extra dependency. 61 # introduces an extra dependency.
58 # 62 #
59 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak 63 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak
60 # (copy_ui_test_pak action) 64 # (copy_ui_test_pak action)
61 if (is_ios || is_mac) { 65 if (is_ios || is_mac) {
62 group("ui_test_pak") { 66 group("ui_test_pak") {
63 deps = [ ":repack_ui_test_pak", ":repack_ui_test_mac_locale_pack" ] 67 deps = [
68 ":repack_ui_test_pak",
69 ":repack_ui_test_mac_locale_pack",
70 ]
64 } 71 }
65 } else { 72 } else {
66 group("ui_test_pak") { 73 group("ui_test_pak") {
67 deps = [ ":repack_ui_test_pak" ] 74 deps = [
75 ":repack_ui_test_pak",
76 ]
68 } 77 }
69 } 78 }
70 79
71 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak 80 # GYP version: ui/resources/ui_resources.gyp:ui_test_pak
72 repack("repack_ui_test_pak") { 81 repack("repack_ui_test_pak") {
73 # Depend on ui_test_pak instead of this one. 82 # Depend on ui_test_pak instead of this one.
74 visibility = [ ":ui_test_pak" ] 83 visibility = [ ":ui_test_pak" ]
75 84
76 sources = [ 85 sources = [
77 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", 86 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", 126 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
118 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", 127 "$root_gen_dir/ui/strings/ui_strings_en-US.pak",
119 ] 128 ]
120 129
121 output = "$root_out_dir/ui/en.lproj/locale.pak" 130 output = "$root_out_dir/ui/en.lproj/locale.pak"
122 131
123 deps = [ 132 deps = [
124 "//ui/strings", 133 "//ui/strings",
125 ] 134 ]
126 } 135 }
OLDNEW
« no previous file with comments | « ui/platform_window/x11/BUILD.gn ('k') | ui/snapshot/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698