OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this | 5 # This is the root build file for GN. GN will start processing by loading this |
6 # file, and recursively load all dependencies until all dependencies are either | 6 # file, and recursively load all dependencies until all dependencies are either |
7 # resolved or known not to exist (which will cause the build to fail). So if | 7 # resolved or known not to exist (which will cause the build to fail). So if |
8 # you add a new build file, there must be some path of dependencies from this | 8 # you add a new build file, there must be some path of dependencies from this |
9 # file to your new one or GN won't know about it. | 9 # file to your new one or GN won't know about it. |
10 | 10 |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 "//rlz:rlz_unittests", | 455 "//rlz:rlz_unittests", |
456 ] | 456 ] |
457 } | 457 } |
458 | 458 |
459 if (is_linux) { | 459 if (is_linux) { |
460 # The following are definitely linux-only. | 460 # The following are definitely linux-only. |
461 deps += [ | 461 deps += [ |
462 "//chrome:manpage", | 462 "//chrome:manpage", |
463 "//chrome:xdg_mime", | 463 "//chrome:xdg_mime", |
464 "//net:disk_cache_memory_test", | 464 "//net:disk_cache_memory_test", |
465 "//net:flip_in_mem_edsm_server", | |
466 "//net:flip_in_mem_edsm_server_unittests", | |
467 "//net:quic_client", | 465 "//net:quic_client", |
468 "//net:quic_server", | 466 "//net:quic_server", |
469 "//sandbox/linux:chrome_sandbox", | 467 "//sandbox/linux:chrome_sandbox", |
470 "//sandbox/linux:sandbox_linux_unittests", | 468 "//sandbox/linux:sandbox_linux_unittests", |
471 ] | 469 ] |
472 | 470 |
473 if (use_dbus) { | 471 if (use_dbus) { |
474 deps += [ | 472 deps += [ |
475 "//dbus:dbus_test_server", | 473 "//dbus:dbus_test_server", |
476 "//dbus:dbus_unittests", | 474 "//dbus:dbus_unittests", |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1041 assert(target_name != "") # Mark as used. | 1039 assert(target_name != "") # Mark as used. |
1042 sources = invoker.actual_sources | 1040 sources = invoker.actual_sources |
1043 assert( | 1041 assert( |
1044 sources == invoker.actual_sources, | 1042 sources == invoker.actual_sources, |
1045 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1043 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
1046 } | 1044 } |
1047 | 1045 |
1048 assert_valid_out_dir("_unused") { | 1046 assert_valid_out_dir("_unused") { |
1049 actual_sources = [ "$root_build_dir/foo" ] | 1047 actual_sources = [ "$root_build_dir/foo" ] |
1050 } | 1048 } |
OLD | NEW |