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