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 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 } |
OLD | NEW |