| 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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 "//third_party/openh264:processing", | 631 "//third_party/openh264:processing", |
| 632 ] | 632 ] |
| 633 } | 633 } |
| 634 } | 634 } |
| 635 | 635 |
| 636 # This group contains all the targets needed to run mojo's apptest_runner. | 636 # This group contains all the targets needed to run mojo's apptest_runner. |
| 637 group("mojo_apptests") { | 637 group("mojo_apptests") { |
| 638 testonly = true | 638 testonly = true |
| 639 | 639 |
| 640 deps = [] | 640 deps = [] |
| 641 data_deps = [] |
| 642 data = [] |
| 641 | 643 |
| 642 if (is_win || is_linux) { | 644 if (is_win || is_linux) { |
| 643 deps += [ | 645 deps += [ "//services/shell/standalone" ] |
| 644 "//components/resource_provider:resource_provider_unittests", | 646 data_deps = [ |
| 645 "//mash:mash_unittests", | 647 "//media/mojo/services:media_apptests", |
| 646 "//media/mojo/services:tests", | 648 ] |
| 647 "//ui/views/mus:tests", | 649 if (is_linux) { |
| 650 data_deps += [ "//tools/xdisplaycheck" ] |
| 651 } |
| 652 data += [ |
| 653 "//mojo/tools/apptest_runner.py", |
| 654 "//mojo/tools/data/apptests", |
| 655 "//mojo/tools/mopy/", |
| 656 "//testing/xvfb.py", |
| 657 "//tools/swarming_client/utils/subprocess42.py", |
| 648 ] | 658 ] |
| 649 } | 659 } |
| 650 } | 660 } |
| 651 | 661 |
| 662 group("mojo_apptests_run") { |
| 663 testonly = true |
| 664 deps = [ |
| 665 ":mojo_apptests", |
| 666 ] |
| 667 } |
| 668 |
| 652 group("gn_only") { | 669 group("gn_only") { |
| 653 testonly = true | 670 testonly = true |
| 654 | 671 |
| 655 deps = [] | 672 deps = [] |
| 656 | 673 |
| 657 if (!is_ios) { | 674 if (!is_ios) { |
| 658 deps += [ "//mojo/common:mojo_common_perftests" ] | 675 deps += [ "//mojo/common:mojo_common_perftests" ] |
| 659 } | 676 } |
| 660 | 677 |
| 661 if (!is_android && !is_ios) { | 678 if (!is_android && !is_ios) { |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 970 assert(target_name != "") # Mark as used. | 987 assert(target_name != "") # Mark as used. |
| 971 sources = invoker.actual_sources | 988 sources = invoker.actual_sources |
| 972 assert( | 989 assert( |
| 973 sources == invoker.actual_sources, | 990 sources == invoker.actual_sources, |
| 974 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 991 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 975 } | 992 } |
| 976 | 993 |
| 977 assert_valid_out_dir("_unused") { | 994 assert_valid_out_dir("_unused") { |
| 978 actual_sources = [ "$root_build_dir/foo" ] | 995 actual_sources = [ "$root_build_dir/foo" ] |
| 979 } | 996 } |
| OLD | NEW |