| 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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 | 613 |
| 614 group("gn_only") { | 614 group("gn_only") { |
| 615 testonly = true | 615 testonly = true |
| 616 | 616 |
| 617 deps = [] | 617 deps = [] |
| 618 | 618 |
| 619 if (!is_ios) { | 619 if (!is_ios) { |
| 620 deps += [ "//mojo/common:mojo_common_perftests" ] | 620 deps += [ "//mojo/common:mojo_common_perftests" ] |
| 621 } | 621 } |
| 622 | 622 |
| 623 if (!is_android && !is_ios) { | |
| 624 deps += [ "//content/browser/bluetooth/tools:bluetooth_metrics_hash" ] | |
| 625 } | |
| 626 | |
| 627 if (!is_android && !is_ios && !is_chromeos) { | 623 if (!is_android && !is_ios && !is_chromeos) { |
| 628 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] | 624 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] |
| 629 } | 625 } |
| 630 | 626 |
| 631 if (is_win || is_linux) { | 627 if (is_win || is_linux) { |
| 632 deps += [ | 628 deps += [ |
| 633 ":mojo_apptests", | 629 ":mojo_apptests", |
| 634 "//components/mus/demo", | 630 "//components/mus/demo", |
| 635 "//components/mus/ws:tests", | 631 "//components/mus/ws:tests", |
| 636 "//mash:all", | 632 "//mash:all", |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 932 assert(target_name != "") # Mark as used. | 928 assert(target_name != "") # Mark as used. |
| 933 sources = invoker.actual_sources | 929 sources = invoker.actual_sources |
| 934 assert( | 930 assert( |
| 935 sources == invoker.actual_sources, | 931 sources == invoker.actual_sources, |
| 936 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 932 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 937 } | 933 } |
| 938 | 934 |
| 939 assert_valid_out_dir("_unused") { | 935 assert_valid_out_dir("_unused") { |
| 940 actual_sources = [ "$root_build_dir/foo" ] | 936 actual_sources = [ "$root_build_dir/foo" ] |
| 941 } | 937 } |
| OLD | NEW |