| 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 "//testing/android/junit:junit_unit_tests", | 286 "//testing/android/junit:junit_unit_tests", |
| 287 "//third_party/android_tools:uiautomator_java", | 287 "//third_party/android_tools:uiautomator_java", |
| 288 "//third_party/errorprone:chromium_errorprone", | 288 "//third_party/errorprone:chromium_errorprone", |
| 289 "//third_party/smhasher:murmurhash3", | 289 "//third_party/smhasher:murmurhash3", |
| 290 "//tools/android:android_tools", | 290 "//tools/android:android_tools", |
| 291 "//tools/android:memconsumer", | 291 "//tools/android:memconsumer", |
| 292 "//tools/android:push_apps_to_background", | 292 "//tools/android:push_apps_to_background", |
| 293 "//tools/android/heap_profiler:heap_profiler_unittests", | 293 "//tools/android/heap_profiler:heap_profiler_unittests", |
| 294 "//tools/android/kerberos/SpnegoAuthenticator:spnego_authenticator_apk", | 294 "//tools/android/kerberos/SpnegoAuthenticator:spnego_authenticator_apk", |
| 295 "//tools/cygprofile:cygprofile_unittests", | 295 "//tools/cygprofile:cygprofile_unittests", |
| 296 "//tools/imagediff($host_toolchain)", | |
| 297 "//ui/android:ui_junit_tests", | 296 "//ui/android:ui_junit_tests", |
| 298 ] | 297 ] |
| 299 deps -= [ | 298 deps -= [ |
| 300 "//net:net_perftests", | 299 "//net:net_perftests", |
| 301 "//url:url_unittests", | 300 "//url:url_unittests", |
| 302 ] | 301 ] |
| 303 | 302 |
| 304 if (!is_component_build) { | 303 if (!is_component_build) { |
| 305 deps += [ | 304 deps += [ |
| 306 "//components/cronet/android:cronet_package", | 305 "//components/cronet/android:cronet_package", |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 780 } | 779 } |
| 781 } | 780 } |
| 782 | 781 |
| 783 if (!is_ios) { | 782 if (!is_ios) { |
| 784 # This group includes all of the targets needed to build and test Blink, | 783 # This group includes all of the targets needed to build and test Blink, |
| 785 # including running the layout tests (see below). | 784 # including running the layout tests (see below). |
| 786 group("blink_tests") { | 785 group("blink_tests") { |
| 787 testonly = true | 786 testonly = true |
| 788 | 787 |
| 789 deps = [ | 788 deps = [ |
| 789 "//content/shell:content_shell", |
| 790 "//third_party/WebKit/public:all_blink", | 790 "//third_party/WebKit/public:all_blink", |
| 791 "//tools/imagediff", |
| 791 ] | 792 ] |
| 792 | 793 |
| 793 # NOTE: The following deps are needed to run the layout tests | 794 # NOTE: The following deps are needed to run the layout tests |
| 794 # (run-webkit-tests) but there is no GN target for the layout tests, | 795 # (run-webkit-tests) but there is no GN target for the layout tests, |
| 795 # so we need to specify the dependencies here instead. | 796 # so we need to specify the dependencies here instead. |
| 796 if (is_android) { | 797 if (is_android) { |
| 797 deps += [ | 798 deps += [ |
| 798 "//breakpad:breakpad_unittests", | 799 "//breakpad:breakpad_unittests", |
| 799 "//breakpad:dump_syms($host_toolchain)", | 800 "//breakpad:dump_syms", |
| 800 "//breakpad:microdump_stackwalk($host_toolchain)", | 801 "//breakpad:microdump_stackwalk", |
| 801 "//breakpad:minidump_dump($host_toolchain)", | 802 "//breakpad:minidump_dump", |
| 802 "//breakpad:minidump_stackwalk($host_toolchain)", | 803 "//breakpad:minidump_stackwalk", |
| 803 "//breakpad:symupload($host_toolchain)", | 804 "//breakpad:symupload", |
| 804 "//content/shell/android:content_shell_apk", | 805 "//tools/android/forwarder", |
| 805 "//tools/imagediff($host_toolchain)", | |
| 806 ] | |
| 807 } else { | |
| 808 deps += [ | |
| 809 "//content/shell:content_shell", | |
| 810 "//tools/imagediff", | |
| 811 ] | 806 ] |
| 812 } | 807 } |
| 813 | 808 |
| 814 if (is_win) { | 809 if (is_win) { |
| 815 deps += [ | 810 deps += [ |
| 816 "//components/test_runner:layout_test_helper", | 811 "//components/test_runner:layout_test_helper", |
| 817 "//content/shell:content_shell_crash_service", | 812 "//content/shell:content_shell_crash_service", |
| 818 ] | 813 ] |
| 819 } | 814 } |
| 820 | 815 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 899 assert(target_name != "") # Mark as used. | 894 assert(target_name != "") # Mark as used. |
| 900 sources = invoker.actual_sources | 895 sources = invoker.actual_sources |
| 901 assert( | 896 assert( |
| 902 sources == invoker.actual_sources, | 897 sources == invoker.actual_sources, |
| 903 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 898 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 904 } | 899 } |
| 905 | 900 |
| 906 assert_valid_out_dir("_unused") { | 901 assert_valid_out_dir("_unused") { |
| 907 actual_sources = [ "$root_build_dir/foo" ] | 902 actual_sources = [ "$root_build_dir/foo" ] |
| 908 } | 903 } |
| OLD | NEW |