Chromium Code Reviews| 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 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 601 ] | 601 ] |
| 602 } | 602 } |
| 603 } | 603 } |
| 604 | 604 |
| 605 group("gn_only") { | 605 group("gn_only") { |
| 606 testonly = true | 606 testonly = true |
| 607 | 607 |
| 608 deps = [] | 608 deps = [] |
| 609 | 609 |
| 610 if (!is_ios) { | 610 if (!is_ios) { |
| 611 deps += [ "//mojo/common:mojo_common_perftests" ] | 611 deps += [ |
| 612 "//content/browser/bluetooth/tools:bluetooth_metrics_hash", | |
|
Dirk Pranke
2016/04/15 22:57:10
this'll result in building an android executable o
scheib
2016/04/15 23:04:43
No, but my intent is to keep the tool and config a
| |
| 613 "//mojo/common:mojo_common_perftests", | |
| 614 ] | |
| 612 } | 615 } |
| 613 | 616 |
| 614 if (!is_android && !is_ios && !is_chromeos) { | 617 if (!is_android && !is_ios && !is_chromeos) { |
| 615 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] | 618 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] |
| 616 } | 619 } |
| 617 | 620 |
| 618 if (is_win || is_linux) { | 621 if (is_win || is_linux) { |
| 619 deps += [ | 622 deps += [ |
| 620 ":mojo_apptests", | 623 ":mojo_apptests", |
| 621 "//components/mus/demo", | 624 "//components/mus/demo", |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 901 assert(target_name != "") # Mark as used. | 904 assert(target_name != "") # Mark as used. |
| 902 sources = invoker.actual_sources | 905 sources = invoker.actual_sources |
| 903 assert( | 906 assert( |
| 904 sources == invoker.actual_sources, | 907 sources == invoker.actual_sources, |
| 905 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") | 908 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") |
| 906 } | 909 } |
| 907 | 910 |
| 908 assert_valid_out_dir("_unused") { | 911 assert_valid_out_dir("_unused") { |
| 909 actual_sources = [ "$root_build_dir/foo" ] | 912 actual_sources = [ "$root_build_dir/foo" ] |
| 910 } | 913 } |
| OLD | NEW |