| 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 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 # This group contains all the targets needed to run mojo's apptest_runner. | 583 # This group contains all the targets needed to run mojo's apptest_runner. |
| 584 group("mojo_apptests") { | 584 group("mojo_apptests") { |
| 585 testonly = true | 585 testonly = true |
| 586 | 586 |
| 587 deps = [] | 587 deps = [] |
| 588 | 588 |
| 589 if (is_win || is_linux) { | 589 if (is_win || is_linux) { |
| 590 deps += [ | 590 deps += [ |
| 591 "//components/filesystem:apptests", | 591 "//components/filesystem:apptests", |
| 592 "//components/leveldb:apptests", | 592 "//components/leveldb:apptests", |
| 593 "//components/mus/ws:tests", | |
| 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 "//mojo/services/network:apptests", | 597 "//mojo/services/network:apptests", |
| 599 "//ui/views/mus:tests", | 598 "//ui/views/mus:tests", |
| 600 ] | 599 ] |
| 601 } | 600 } |
| 602 } | 601 } |
| 603 | 602 |
| 604 group("gn_only") { | 603 group("gn_only") { |
| 605 testonly = true | 604 testonly = true |
| 606 | 605 |
| 607 deps = [] | 606 deps = [] |
| 608 | 607 |
| 609 if (!is_ios) { | 608 if (!is_ios) { |
| 610 deps += [ "//mojo/common:mojo_common_perftests" ] | 609 deps += [ "//mojo/common:mojo_common_perftests" ] |
| 611 } | 610 } |
| 612 | 611 |
| 613 if (!is_android && !is_ios && !is_chromeos) { | 612 if (!is_android && !is_ios && !is_chromeos) { |
| 614 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] | 613 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] |
| 615 } | 614 } |
| 616 | 615 |
| 617 if (is_win || is_linux) { | 616 if (is_win || is_linux) { |
| 618 deps += [ | 617 deps += [ |
| 619 ":mojo_apptests", | 618 ":mojo_apptests", |
| 619 "//components/mus/ws:tests", |
| 620 "//mash:all", | 620 "//mash:all", |
| 621 "//mojo", | 621 "//mojo", |
| 622 ] | 622 ] |
| 623 } | 623 } |
| 624 | 624 |
| 625 if (is_win && use_drfuzz) { | 625 if (is_win && use_drfuzz) { |
| 626 # build libfuzzer fuzzers on Windows to run with Dr. Fuzz | 626 # build libfuzzer fuzzers on Windows to run with Dr. Fuzz |
| 627 deps += [ | 627 deps += [ |
| 628 "//testing/libfuzzer/fuzzers", | 628 "//testing/libfuzzer/fuzzers", |
| 629 "//testing/libfuzzer/tests:libfuzzer_tests", | 629 "//testing/libfuzzer/tests:libfuzzer_tests", |
| (...skipping 268 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 |