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