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 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 | 786 |
787 deps = [ | 787 deps = [ |
788 "//third_party/WebKit/public:all_blink", | 788 "//third_party/WebKit/public:all_blink", |
789 ] | 789 ] |
790 | 790 |
791 # NOTE: The following deps are needed to run the layout tests | 791 # NOTE: The following deps are needed to run the layout tests |
792 # (run-webkit-tests) but there is no GN target for the layout tests, | 792 # (run-webkit-tests) but there is no GN target for the layout tests, |
793 # so we need to specify the dependencies here instead. | 793 # so we need to specify the dependencies here instead. |
794 if (is_android) { | 794 if (is_android) { |
795 deps += [ | 795 deps += [ |
796 "//breakpad:breakpad_unittests_deps", | 796 "//breakpad:breakpad_unittests", |
797 "//breakpad:dump_syms($host_toolchain)", | 797 "//breakpad:dump_syms($host_toolchain)", |
798 "//breakpad:microdump_stackwalk($host_toolchain)", | 798 "//breakpad:microdump_stackwalk($host_toolchain)", |
799 "//breakpad:minidump_dump($host_toolchain)", | 799 "//breakpad:minidump_dump($host_toolchain)", |
800 "//breakpad:minidump_stackwalk($host_toolchain)", | 800 "//breakpad:minidump_stackwalk($host_toolchain)", |
801 "//breakpad:symupload($host_toolchain)", | 801 "//breakpad:symupload($host_toolchain)", |
802 "//content/shell/android:content_shell_apk", | 802 "//content/shell/android:content_shell_apk", |
803 "//tools/imagediff($host_toolchain)", | 803 "//tools/imagediff($host_toolchain)", |
804 ] | 804 ] |
805 } else { | 805 } else { |
806 deps += [ | 806 deps += [ |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 assert(target_name != "") # Mark as used. | 902 assert(target_name != "") # Mark as used. |
903 sources = invoker.actual_sources | 903 sources = invoker.actual_sources |
904 assert( | 904 assert( |
905 sources == invoker.actual_sources, | 905 sources == invoker.actual_sources, |
906 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 906 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
907 } | 907 } |
908 | 908 |
909 assert_valid_out_dir("_unused") { | 909 assert_valid_out_dir("_unused") { |
910 actual_sources = [ "$root_build_dir/foo" ] | 910 actual_sources = [ "$root_build_dir/foo" ] |
911 } | 911 } |
OLD | NEW |