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

Side by Side Diff: components/test_runner/BUILD.gn

Issue 2460503002: content_shell: Add runtime resources into data_deps. (Closed)
Patch Set: Moving the removal to another CL. Created 4 years, 1 month 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 | « no previous file | content/shell/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 } 9 }
10 10
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 "//ui/events:dom_keycode_converter", 123 "//ui/events:dom_keycode_converter",
124 "//ui/events:events_base", 124 "//ui/events:events_base",
125 "//ui/events/blink", 125 "//ui/events/blink",
126 "//ui/gfx", 126 "//ui/gfx",
127 "//ui/gfx:test_support", 127 "//ui/gfx:test_support",
128 "//ui/gfx/geometry", 128 "//ui/gfx/geometry",
129 "//url", 129 "//url",
130 "//v8", 130 "//v8",
131 ] 131 ]
132 132
133 data_deps = [
134 ":resources",
135 ]
136
133 if (is_mac) { 137 if (is_mac) {
134 libs = [ "AppKit.framework" ] 138 libs = [ "AppKit.framework" ]
135 } 139 }
136 } 140 }
137 141
138 # Font copies. 142 # Font copies.
139 if (!is_mac) { 143 if (!is_mac) {
140 copy("copy_ahem") { 144 copy("copy_ahem") {
141 visibility = [ ":*" ] 145 visibility = [ ":*" ]
142 sources = [ 146 sources = [
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 ] 184 ]
181 185
182 outputs = [ 186 outputs = [
183 "{{bundle_resources_dir}}/{{source_file_part}}", 187 "{{bundle_resources_dir}}/{{source_file_part}}",
184 ] 188 ]
185 } 189 }
186 } 190 }
187 191
188 group("resources") { 192 group("resources") {
189 deps = [] 193 deps = []
194 data_deps = []
190 195
191 if (is_mac) { 196 if (is_mac) {
192 deps += [ ":test_runner_bundle_data" ] 197 deps += [ ":test_runner_bundle_data" ]
198 data_deps += [ ":test_runner_bundle_data" ]
193 } else { 199 } else {
194 deps += [ ":copy_ahem" ] 200 deps += [ ":copy_ahem" ]
201 data_deps += [ ":copy_ahem" ]
195 } 202 }
196 203
197 if (use_x11) { 204 if (use_x11) {
198 deps += [ ":copy_x11_fonts" ] 205 deps += [ ":copy_x11_fonts" ]
206 data_deps += [ ":copy_x11_fonts" ]
199 } 207 }
200 if (is_android) { 208 if (is_android) {
201 deps += [ ":copy_android_fonts" ] 209 deps += [ ":copy_android_fonts" ]
210 data_deps += [ ":copy_android_fonts" ]
202 } 211 }
203 } 212 }
204 213
205 if (is_win) { 214 if (is_win) {
206 executable("layout_test_helper") { 215 executable("layout_test_helper") {
207 sources = [ 216 sources = [
208 "helper/layout_test_helper_win.cc", 217 "helper/layout_test_helper_win.cc",
209 ] 218 ]
210 219
211 deps = [ 220 deps = [
212 "//build/config/sanitizers:deps", 221 "//build/config/sanitizers:deps",
213 "//build/win:default_exe_manifest", 222 "//build/win:default_exe_manifest",
214 ] 223 ]
215 } 224 }
216 } 225 }
OLDNEW
« no previous file with comments | « no previous file | content/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698