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