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 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 } | 582 } |
583 | 583 |
584 # This group contains all the targets needed to run mojo's apptest_runner. | 584 # This group contains all the targets needed to run mojo's apptest_runner. |
585 group("mojo_apptests") { | 585 group("mojo_apptests") { |
586 testonly = true | 586 testonly = true |
587 | 587 |
588 deps = [] | 588 deps = [] |
589 | 589 |
590 if (is_win || is_linux) { | 590 if (is_win || is_linux) { |
591 deps += [ | 591 deps += [ |
592 "//components/filesystem:apptests", | |
593 "//components/leveldb:apptests", | 592 "//components/leveldb:apptests", |
594 "//components/resource_provider:apptests", | 593 "//components/resource_provider:apptests", |
595 "//components/resource_provider:resource_provider_unittests", | 594 "//components/resource_provider:resource_provider_unittests", |
596 "//mash/wm:tests", | 595 "//mash/wm:tests", |
597 "//media/mojo/services:tests", | 596 "//media/mojo/services:tests", |
598 "//ui/views/mus:tests", | 597 "//ui/views/mus:tests", |
599 ] | 598 ] |
600 } | 599 } |
601 } | 600 } |
602 | 601 |
(...skipping 29 matching lines...) Expand all Loading... |
632 | 631 |
633 if (is_linux && !is_chromeos && !is_chromecast) { | 632 if (is_linux && !is_chromeos && !is_chromecast) { |
634 # TODO(GYP): Figure out if any of these should be in gn_all | 633 # TODO(GYP): Figure out if any of these should be in gn_all |
635 # and figure out how cross-platform they are | 634 # and figure out how cross-platform they are |
636 deps += [ | 635 deps += [ |
637 ":gn_mojo_targets", | 636 ":gn_mojo_targets", |
638 "//chrome/browser/resources:extension_resource_demo", | 637 "//chrome/browser/resources:extension_resource_demo", |
639 "//chrome/installer/util:strings", | 638 "//chrome/installer/util:strings", |
640 "//chrome/tools/convert_dict", | 639 "//chrome/tools/convert_dict", |
641 "//components/constrained_window:unit_tests", | 640 "//components/constrained_window:unit_tests", |
| 641 "//components/filesystem:unittests", |
642 "//components/metrics:serialization", | 642 "//components/metrics:serialization", |
643 "//components/password_manager/content/renderer:browser_tests", | 643 "//components/password_manager/content/renderer:browser_tests", |
644 "//components/rappor:unit_tests", | 644 "//components/rappor:unit_tests", |
645 "//components/sessions:unit_tests", | 645 "//components/sessions:unit_tests", |
646 "//media/blink:media_blink_unittests", | 646 "//media/blink:media_blink_unittests", |
647 "//media/cast:udp_proxy", | 647 "//media/cast:udp_proxy", |
648 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest", | 648 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest", |
649 "//storage/browser:dump_file_system", | 649 "//storage/browser:dump_file_system", |
650 "//testing/libfuzzer/fuzzers", | 650 "//testing/libfuzzer/fuzzers", |
651 "//testing/libfuzzer/tests:libfuzzer_tests", | 651 "//testing/libfuzzer/tests:libfuzzer_tests", |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
898 assert(target_name != "") # Mark as used. | 898 assert(target_name != "") # Mark as used. |
899 sources = invoker.actual_sources | 899 sources = invoker.actual_sources |
900 assert( | 900 assert( |
901 sources == invoker.actual_sources, | 901 sources == invoker.actual_sources, |
902 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 902 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
903 } | 903 } |
904 | 904 |
905 assert_valid_out_dir("_unused") { | 905 assert_valid_out_dir("_unused") { |
906 actual_sources = [ "$root_build_dir/foo" ] | 906 actual_sources = [ "$root_build_dir/foo" ] |
907 } | 907 } |
OLD | NEW |