| 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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 ] | 602 ] |
| 603 } | 603 } |
| 604 } | 604 } |
| 605 | 605 |
| 606 group("gn_only") { | 606 group("gn_only") { |
| 607 testonly = true | 607 testonly = true |
| 608 | 608 |
| 609 deps = [] | 609 deps = [] |
| 610 | 610 |
| 611 if (!is_ios) { | 611 if (!is_ios) { |
| 612 deps += [ "//mojo/common:mojo_common_perftests" ] | 612 deps += [ |
| 613 "//content/browser/bluetooth/tools:bluetooth_metrics_hash", |
| 614 "//mojo/common:mojo_common_perftests", |
| 615 ] |
| 613 } | 616 } |
| 614 | 617 |
| 615 if (!is_android && !is_ios && !is_chromeos) { | 618 if (!is_android && !is_ios && !is_chromeos) { |
| 616 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] | 619 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] |
| 617 } | 620 } |
| 618 | 621 |
| 619 if (is_win || is_linux) { | 622 if (is_win || is_linux) { |
| 620 deps += [ | 623 deps += [ |
| 621 ":mojo_apptests", | 624 ":mojo_apptests", |
| 622 "//components/mus/demo", | 625 "//components/mus/demo", |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 895 assert(target_name != "") # Mark as used. | 898 assert(target_name != "") # Mark as used. |
| 896 sources = invoker.actual_sources | 899 sources = invoker.actual_sources |
| 897 assert( | 900 assert( |
| 898 sources == invoker.actual_sources, | 901 sources == invoker.actual_sources, |
| 899 "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") |
| 900 } | 903 } |
| 901 | 904 |
| 902 assert_valid_out_dir("_unused") { | 905 assert_valid_out_dir("_unused") { |
| 903 actual_sources = [ "$root_build_dir/foo" ] | 906 actual_sources = [ "$root_build_dir/foo" ] |
| 904 } | 907 } |
| OLD | NEW |