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 # 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/resource_provider:resource_provider_unittests", | 591 "//components/resource_provider:resource_provider_unittests", |
592 "//mash/wm:tests", | 592 "//mash:mash_unittests", |
593 "//media/mojo/services:tests", | 593 "//media/mojo/services:tests", |
594 "//ui/views/mus:tests", | 594 "//ui/views/mus:tests", |
595 ] | 595 ] |
596 } | 596 } |
597 } | 597 } |
598 | 598 |
599 group("gn_only") { | 599 group("gn_only") { |
600 testonly = true | 600 testonly = true |
601 | 601 |
602 deps = [] | 602 deps = [] |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
896 assert(target_name != "") # Mark as used. | 896 assert(target_name != "") # Mark as used. |
897 sources = invoker.actual_sources | 897 sources = invoker.actual_sources |
898 assert( | 898 assert( |
899 sources == invoker.actual_sources, | 899 sources == invoker.actual_sources, |
900 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 900 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
901 } | 901 } |
902 | 902 |
903 assert_valid_out_dir("_unused") { | 903 assert_valid_out_dir("_unused") { |
904 actual_sources = [ "$root_build_dir/foo" ] | 904 actual_sources = [ "$root_build_dir/foo" ] |
905 } | 905 } |
OLD | NEW |