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

Side by Side Diff: content/shell/BUILD.gn

Issue 486573002: Move webkit resources over to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix GN Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/common/shell_content_client.cc » ('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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
8 import("//tools/grit/repack.gni") 8 import("//tools/grit/repack.gni")
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 deps = [ 203 deps = [
204 ":resources", 204 ":resources",
205 "//base", 205 "//base",
206 "//base:base_static", 206 "//base:base_static",
207 "//base/allocator", 207 "//base/allocator",
208 "//base/third_party/dynamic_annotations", 208 "//base/third_party/dynamic_annotations",
209 "//cc", 209 "//cc",
210 "//components/breakpad/app", 210 "//components/breakpad/app",
211 "//content:resources", 211 "//content:resources",
212 "//content/app:both", 212 "//content/app:both",
213 "//content/app/resources",
213 "//content/app/strings", 214 "//content/app/strings",
214 "//content/gpu", 215 "//content/gpu",
215 "//content/ppapi_plugin", 216 "//content/ppapi_plugin",
216 "//content/public/browser", 217 "//content/public/browser",
217 "//content/public/common", 218 "//content/public/common",
218 "//content/public/plugin", 219 "//content/public/plugin",
219 "//content/public/renderer", 220 "//content/public/renderer",
220 "//content/public/utility", 221 "//content/public/utility",
221 "//content/test:layouttest_support", 222 "//content/test:layouttest_support",
222 "//gin", 223 "//gin",
223 "//gpu", 224 "//gpu",
224 "//ipc", 225 "//ipc",
225 "//media", 226 "//media",
226 "//net", 227 "//net",
227 "//net:net_resources", 228 "//net:net_resources",
228 "//skia", 229 "//skia",
229 "//third_party/WebKit/public:blink", 230 "//third_party/WebKit/public:blink",
230 "//third_party/WebKit/public:resources", 231 "//third_party/WebKit/public:resources",
231 "//third_party/WebKit/public:test_support", 232 "//third_party/WebKit/public:test_support",
232 "//third_party/icu", 233 "//third_party/icu",
233 "//ui/base", 234 "//ui/base",
234 "//ui/events:events_base", 235 "//ui/events:events_base",
235 "//ui/gfx", 236 "//ui/gfx",
236 "//ui/gfx/geometry", 237 "//ui/gfx/geometry",
237 "//ui/gfx/ipc", 238 "//ui/gfx/ipc",
238 "//ui/gl", 239 "//ui/gl",
239 "//url", 240 "//url",
240 "//v8", 241 "//v8",
241 "//webkit/browser:storage", 242 "//webkit/browser:storage",
242 "//webkit/glue/resources",
243 #'copy_test_netscape_plugin', TODO(GYP) 243 #'copy_test_netscape_plugin', TODO(GYP)
244 ] 244 ]
245 245
246 if (is_win) { 246 if (is_win) {
247 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP) 247 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP)
248 248
249 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 249 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
250 cflags = [ "/wd4267" ] 250 cflags = [ "/wd4267" ]
251 } 251 }
252 252
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 deps += [ ":copy_x11_fonts" ] 387 deps += [ ":copy_x11_fonts" ]
388 } 388 }
389 if (is_android) { 389 if (is_android) {
390 deps += [ ":copy_android_fonts" ] 390 deps += [ ":copy_android_fonts" ]
391 } 391 }
392 } 392 }
393 393
394 repack("pak") { 394 repack("pak") {
395 sources = [ 395 sources = [
396 "$root_gen_dir/blink/public/resources/blink_resources.pak", 396 "$root_gen_dir/blink/public/resources/blink_resources.pak",
397 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak",
397 "$root_gen_dir/content/app/strings/content_strings_en-US.pak", 398 "$root_gen_dir/content/app/strings/content_strings_en-US.pak",
398 "$root_gen_dir/content/browser/tracing/tracing_resources.pak", 399 "$root_gen_dir/content/browser/tracing/tracing_resources.pak",
399 "$root_gen_dir/content/content_resources.pak", 400 "$root_gen_dir/content/content_resources.pak",
400 "$root_gen_dir/content/shell/shell_resources.pak", 401 "$root_gen_dir/content/shell/shell_resources.pak",
401 "$root_gen_dir/net/net_resources.pak", 402 "$root_gen_dir/net/net_resources.pak",
402 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", 403 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
403 "$root_gen_dir/ui/resources/webui_resources.pak", 404 "$root_gen_dir/ui/resources/webui_resources.pak",
404 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", 405 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
405 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", 406 "$root_gen_dir/ui/strings/ui_strings_en-US.pak",
406 "$root_gen_dir/webkit/webkit_resources_100_percent.pak",
407 ] 407 ]
408 408
409 deps = [ 409 deps = [
410 ":resources", 410 ":resources",
411 "//content:resources", 411 "//content:resources",
412 "//content/app/resources",
412 "//content/app/strings", 413 "//content/app/strings",
413 "//content/browser/tracing:resources", 414 "//content/browser/tracing:resources",
414 "//net:net_resources", 415 "//net:net_resources",
415 "//third_party/WebKit/public:resources", 416 "//third_party/WebKit/public:resources",
416 "//ui/resources", 417 "//ui/resources",
417 "//ui/strings", 418 "//ui/strings",
418 "//webkit/glue/resources",
419 ] 419 ]
420 420
421 if (is_android) { 421 if (is_android) {
422 output = "$root_out_dir/content_shell/assets/content_shell.pak" 422 output = "$root_out_dir/content_shell/assets/content_shell.pak"
423 } else { 423 } else {
424 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ] 424 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ]
425 deps += [ "//content/browser/devtools:resources" ] 425 deps += [ "//content/browser/devtools:resources" ]
426 output = "$root_out_dir/content_shell.pak" 426 output = "$root_out_dir/content_shell.pak"
427 } 427 }
428 } 428 }
(...skipping 29 matching lines...) Expand all
458 } 458 }
459 459
460 if (!is_android || !is_android_webview_build) { 460 if (!is_android || !is_android_webview_build) {
461 # Some tests rely on this tool. It might be nicer if these tests relied on 461 # Some tests rely on this tool. It might be nicer if these tests relied on
462 # image diff rather than having content shell depend on it. 462 # image diff rather than having content shell depend on it.
463 datadeps = [ 463 datadeps = [
464 "//tools/imagediff($host_toolchain)", 464 "//tools/imagediff($host_toolchain)",
465 ] 465 ]
466 } 466 }
467 } 467 }
OLDNEW
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/common/shell_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698