| 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 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 ] | 626 ] |
| 627 } | 627 } |
| 628 } | 628 } |
| 629 | 629 |
| 630 group("gn_only") { | 630 group("gn_only") { |
| 631 testonly = true | 631 testonly = true |
| 632 | 632 |
| 633 deps = [] | 633 deps = [] |
| 634 | 634 |
| 635 if (!is_ios) { | 635 if (!is_ios) { |
| 636 deps += [ "//mojo/common:mojo_common_perftests" ] | 636 deps += [ |
| 637 "//media/mojo:media_mojo_unittests", |
| 638 "//mojo/common:mojo_common_perftests", |
| 639 ] |
| 637 } | 640 } |
| 638 | 641 |
| 639 if (!is_android && !is_ios) { | 642 if (!is_android && !is_ios) { |
| 640 deps += [ "//content/browser/bluetooth/tools:bluetooth_metrics_hash" ] | 643 deps += [ "//content/browser/bluetooth/tools:bluetooth_metrics_hash" ] |
| 641 } | 644 } |
| 642 | 645 |
| 643 if (!is_android && !is_ios && !is_chromeos) { | 646 if (!is_android && !is_ios && !is_chromeos) { |
| 644 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] | 647 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] |
| 645 } | 648 } |
| 646 | 649 |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 776 } | 779 } |
| 777 } | 780 } |
| 778 | 781 |
| 779 group("gn_mojo_targets") { | 782 group("gn_mojo_targets") { |
| 780 testonly = true | 783 testonly = true |
| 781 if (is_linux && !is_chromeos) { | 784 if (is_linux && !is_chromeos) { |
| 782 # TODO(GYP): Figure out if any of these should be in gn_all | 785 # TODO(GYP): Figure out if any of these should be in gn_all |
| 783 # and figure out how cross-platform they are | 786 # and figure out how cross-platform they are |
| 784 deps = [ | 787 deps = [ |
| 785 "//ipc/mojo:ipc_mojo_perftests", | 788 "//ipc/mojo:ipc_mojo_perftests", |
| 786 "//media/mojo:tests", | |
| 787 "//media/mojo/services", | |
| 788 "//mojo:tests", | 789 "//mojo:tests", |
| 789 ] | 790 ] |
| 790 } | 791 } |
| 791 } | 792 } |
| 792 | 793 |
| 793 group("gn_visibility") { | 794 group("gn_visibility") { |
| 794 deps = [ | 795 deps = [ |
| 795 "//build/config/sanitizers:options_sources", | 796 "//build/config/sanitizers:options_sources", |
| 796 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility? | 797 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility? |
| 797 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility? | 798 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility? |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 987 assert(target_name != "") # Mark as used. | 988 assert(target_name != "") # Mark as used. |
| 988 sources = invoker.actual_sources | 989 sources = invoker.actual_sources |
| 989 assert( | 990 assert( |
| 990 sources == invoker.actual_sources, | 991 sources == invoker.actual_sources, |
| 991 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 992 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 992 } | 993 } |
| 993 | 994 |
| 994 assert_valid_out_dir("_unused") { | 995 assert_valid_out_dir("_unused") { |
| 995 actual_sources = [ "$root_build_dir/foo" ] | 996 actual_sources = [ "$root_build_dir/foo" ] |
| 996 } | 997 } |
| OLD | NEW |