| 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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 581 } | 581 } |
| 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:apptests", | |
| 592 "//components/resource_provider:resource_provider_unittests", | 591 "//components/resource_provider:resource_provider_unittests", |
| 593 "//mash/wm:tests", | 592 "//mash/wm:tests", |
| 594 "//media/mojo/services:tests", | 593 "//media/mojo/services:tests", |
| 595 "//ui/views/mus:tests", | 594 "//ui/views/mus:tests", |
| 596 ] | 595 ] |
| 597 } | 596 } |
| 598 } | 597 } |
| 599 | 598 |
| 600 group("gn_only") { | 599 group("gn_only") { |
| 601 testonly = true | 600 testonly = true |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 assert(target_name != "") # Mark as used. | 896 assert(target_name != "") # Mark as used. |
| 898 sources = invoker.actual_sources | 897 sources = invoker.actual_sources |
| 899 assert( | 898 assert( |
| 900 sources == invoker.actual_sources, | 899 sources == invoker.actual_sources, |
| 901 "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") |
| 902 } | 901 } |
| 903 | 902 |
| 904 assert_valid_out_dir("_unused") { | 903 assert_valid_out_dir("_unused") { |
| 905 actual_sources = [ "$root_build_dir/foo" ] | 904 actual_sources = [ "$root_build_dir/foo" ] |
| 906 } | 905 } |
| OLD | NEW |