Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(424)

Side by Side Diff: BUILD.gn

Issue 1841193002: 🍬 GN: Make breakpad_unittests & sandbox_linux_unittests use test() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@test-minor-renames
Patch Set: Test runner, backwards-compat with recipes, added sandbox_linux_unittests Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | breakpad/BUILD.gn » ('j') | build/android/pylib/gtest/gtest_test_instance.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 784
785 deps = [ 785 deps = [
786 "//third_party/WebKit/public:all_blink", 786 "//third_party/WebKit/public:all_blink",
787 ] 787 ]
788 788
789 # NOTE: The following deps are needed to run the layout tests 789 # NOTE: The following deps are needed to run the layout tests
790 # (run-webkit-tests) but there is no GN target for the layout tests, 790 # (run-webkit-tests) but there is no GN target for the layout tests,
791 # so we need to specify the dependencies here instead. 791 # so we need to specify the dependencies here instead.
792 if (is_android) { 792 if (is_android) {
793 deps += [ 793 deps += [
794 "//breakpad:breakpad_unittests_deps", 794 "//breakpad:breakpad_unittests",
795 "//breakpad:dump_syms($host_toolchain)", 795 "//breakpad:dump_syms($host_toolchain)",
796 "//breakpad:microdump_stackwalk($host_toolchain)", 796 "//breakpad:microdump_stackwalk($host_toolchain)",
797 "//breakpad:minidump_dump($host_toolchain)", 797 "//breakpad:minidump_dump($host_toolchain)",
798 "//breakpad:minidump_stackwalk($host_toolchain)", 798 "//breakpad:minidump_stackwalk($host_toolchain)",
799 "//breakpad:symupload($host_toolchain)", 799 "//breakpad:symupload($host_toolchain)",
800 "//content/shell/android:content_shell_apk", 800 "//content/shell/android:content_shell_apk",
801 "//tools/imagediff($host_toolchain)", 801 "//tools/imagediff($host_toolchain)",
802 ] 802 ]
803 } else { 803 } else {
804 deps += [ 804 deps += [
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 assert(target_name != "") # Mark as used. 900 assert(target_name != "") # Mark as used.
901 sources = invoker.actual_sources 901 sources = invoker.actual_sources
902 assert( 902 assert(
903 sources == invoker.actual_sources, 903 sources == invoker.actual_sources,
904 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 904 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
905 } 905 }
906 906
907 assert_valid_out_dir("_unused") { 907 assert_valid_out_dir("_unused") {
908 actual_sources = [ "$root_build_dir/foo" ] 908 actual_sources = [ "$root_build_dir/foo" ]
909 } 909 }
OLDNEW
« no previous file with comments | « no previous file | breakpad/BUILD.gn » ('j') | build/android/pylib/gtest/gtest_test_instance.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698