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

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

Issue 1137693006: Revert of Fix missing GN dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « mojo/mojo_application_package.gni ('k') | no next file » | 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 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
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 public_deps = [ 80 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 public_deps = [ 93 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
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 }
OLDNEW
« no previous file with comments | « mojo/mojo_application_package.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698