| 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 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 if (is_android) { | 865 if (is_android) { |
| 866 deps += [ "//build/android/gyp/test:hello_world" ] | 866 deps += [ "//build/android/gyp/test:hello_world" ] |
| 867 } | 867 } |
| 868 | 868 |
| 869 if (is_linux && use_ozone) { | 869 if (is_linux && use_ozone) { |
| 870 deps += [ | 870 deps += [ |
| 871 "//headless", | 871 "//headless", |
| 872 "//headless:headless_tests", | 872 "//headless:headless_tests", |
| 873 ] | 873 ] |
| 874 } | 874 } |
| 875 | |
| 876 if (!is_chromecast && (is_android || is_linux || is_chromeos)) { | |
| 877 deps += [ | |
| 878 "//blimp", | |
| 879 "//blimp:blimp_tests", | |
| 880 ] | |
| 881 } | |
| 882 } | 875 } |
| 883 | 876 |
| 884 group("gn_mojo_targets") { | 877 group("gn_mojo_targets") { |
| 885 testonly = true | 878 testonly = true |
| 886 if (is_linux && !is_chromeos) { | 879 if (is_linux && !is_chromeos) { |
| 887 # TODO(GYP): Figure out if any of these should be in gn_all | 880 # TODO(GYP): Figure out if any of these should be in gn_all |
| 888 # and figure out how cross-platform they are | 881 # and figure out how cross-platform they are |
| 889 deps = [ | 882 deps = [ |
| 890 "//ipc:ipc_tests", | 883 "//ipc:ipc_tests", |
| 891 "//mojo:tests", | 884 "//mojo:tests", |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1100 assert(target_name != "") # Mark as used. | 1093 assert(target_name != "") # Mark as used. |
| 1101 sources = invoker.actual_sources | 1094 sources = invoker.actual_sources |
| 1102 assert( | 1095 assert( |
| 1103 sources == invoker.actual_sources, | 1096 sources == invoker.actual_sources, |
| 1104 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1097 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1105 } | 1098 } |
| 1106 | 1099 |
| 1107 assert_valid_out_dir("_unused") { | 1100 assert_valid_out_dir("_unused") { |
| 1108 actual_sources = [ "$root_build_dir/foo" ] | 1101 actual_sources = [ "$root_build_dir/foo" ] |
| 1109 } | 1102 } |
| OLD | NEW |