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

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

Issue 774353003: gn format // (the rest) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase net 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 | « content/browser/tracing/BUILD.gn ('k') | content/test/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("//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/repack.gni") 7 import("//tools/grit/repack.gni")
8 import("//tools/grit/grit_rule.gni") 8 import("//tools/grit/grit_rule.gni")
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 "grit/shell_resources.h", 361 "grit/shell_resources.h",
362 "shell_resources.pak", 362 "shell_resources.pak",
363 "shell_resources.rc", 363 "shell_resources.rc",
364 ] 364 ]
365 } 365 }
366 366
367 copy("copy_shell_resources") { 367 copy("copy_shell_resources") {
368 sources = [ 368 sources = [
369 "$target_gen_dir/shell_resources.pak", 369 "$target_gen_dir/shell_resources.pak",
370 ] 370 ]
371 outputs = [ "$root_out_dir/shell_resources.pak" ] 371 outputs = [
372 "$root_out_dir/shell_resources.pak",
373 ]
372 374
373 public_deps = [ 375 public_deps = [
374 ":content_shell_resources_grit", 376 ":content_shell_resources_grit",
375 ] 377 ]
376 } 378 }
377 379
378 # Font copies. 380 # Font copies.
379 if (!is_mac) { 381 if (!is_mac) {
380 copy("copy_ahem") { 382 copy("copy_ahem") {
381 visibility = [ ":*" ] 383 visibility = [ ":*" ]
382 sources = [ 384 sources = [
383 "renderer/test_runner/resources/fonts/AHEM____.TTF", 385 "renderer/test_runner/resources/fonts/AHEM____.TTF",
384 ] 386 ]
385 outputs = [ "$root_out_dir/AHEM____.TTF" ] 387 outputs = [
388 "$root_out_dir/AHEM____.TTF",
389 ]
386 } 390 }
387 } 391 }
388 if (use_x11) { 392 if (use_x11) {
389 copy("copy_x11_fonts") { 393 copy("copy_x11_fonts") {
390 visibility = [ ":*" ] 394 visibility = [ ":*" ]
391 sources = [ 395 sources = [
392 "renderer/test_runner/resources/fonts/fonts.conf", 396 "renderer/test_runner/resources/fonts/fonts.conf",
393 "//third_party/gardiner_mod/GardinerModBug.ttf", 397 "//third_party/gardiner_mod/GardinerModBug.ttf",
394 "//third_party/gardiner_mod/GardinerModCat.ttf", 398 "//third_party/gardiner_mod/GardinerModCat.ttf",
395 ] 399 ]
396 outputs = [ "$root_out_dir/{{source_file_part}}" ] 400 outputs = [
401 "$root_out_dir/{{source_file_part}}",
402 ]
397 } 403 }
398 } 404 }
399 if (is_android) { 405 if (is_android) {
400 copy("copy_android_fonts") { 406 copy("copy_android_fonts") {
401 visibility = [ ":*" ] 407 visibility = [ ":*" ]
402 sources = [ 408 sources = [
403 "renderer/test_runner/resources/fonts/android_main_fonts.xml", 409 "renderer/test_runner/resources/fonts/android_main_fonts.xml",
404 "renderer/test_runner/resources/fonts/android_fallback_fonts.xml", 410 "renderer/test_runner/resources/fonts/android_fallback_fonts.xml",
405 ] 411 ]
406 outputs = [ "$root_out_dir/{{source_file_part}}" ] 412 outputs = [
413 "$root_out_dir/{{source_file_part}}",
414 ]
407 } 415 }
408 } 416 }
409 417
410 group("resources") { 418 group("resources") {
411 public_deps = [ 419 public_deps = [
412 ":copy_shell_resources", 420 ":copy_shell_resources",
413 ] 421 ]
414 deps = [] 422 deps = []
415 423
416 if (is_mac) { 424 if (is_mac) {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 511
504 if (is_android && !is_android_webview_build) { 512 if (is_android && !is_android_webview_build) {
505 # Some tests rely on this tool. It might be nicer if these tests relied on 513 # Some tests rely on this tool. It might be nicer if these tests relied on
506 # image diff rather than having content shell depend on it. 514 # image diff rather than having content shell depend on it.
507 datadeps = [ 515 datadeps = [
508 "//tools/imagediff($host_toolchain)", 516 "//tools/imagediff($host_toolchain)",
509 ] 517 ]
510 } 518 }
511 } 519 }
512 } 520 }
OLDNEW
« no previous file with comments | « content/browser/tracing/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698