| 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 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 855 } | 855 } |
| 856 } | 856 } |
| 857 | 857 |
| 858 # Add a dummy target for compatibility w/ GYP | 858 # Add a dummy target for compatibility w/ GYP |
| 859 group("chromium_swarm_tests") { | 859 group("chromium_swarm_tests") { |
| 860 } | 860 } |
| 861 | 861 |
| 862 group("chromium_builder_perf") { | 862 group("chromium_builder_perf") { |
| 863 testonly = true | 863 testonly = true |
| 864 | 864 |
| 865 # TODO(GYP): Make this target work on the mac. | 865 if (!is_ios && !is_android && !is_chromecast) { |
| 866 if (!is_ios && !is_android && !is_chromecast && !is_mac) { | |
| 867 deps = [ | 866 deps = [ |
| 868 "//cc:cc_perftests", | 867 "//cc:cc_perftests", |
| 869 "//chrome/test:load_library_perf_tests", | 868 "//chrome/test:load_library_perf_tests", |
| 870 "//chrome/test:sync_performance_tests", | 869 "//chrome/test:sync_performance_tests", |
| 871 "//gpu:gpu_perftests", | 870 "//gpu:gpu_perftests", |
| 872 "//media:media_perftests", | 871 "//media:media_perftests", |
| 873 "//media/midi:midi_unittests", | 872 "//media/midi:midi_unittests", |
| 874 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", | 873 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", |
| 875 ] | 874 ] |
| 876 | 875 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 assert(target_name != "") # Mark as used. | 945 assert(target_name != "") # Mark as used. |
| 947 sources = invoker.actual_sources | 946 sources = invoker.actual_sources |
| 948 assert( | 947 assert( |
| 949 sources == invoker.actual_sources, | 948 sources == invoker.actual_sources, |
| 950 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 949 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 951 } | 950 } |
| 952 | 951 |
| 953 assert_valid_out_dir("_unused") { | 952 assert_valid_out_dir("_unused") { |
| 954 actual_sources = [ "$root_build_dir/foo" ] | 953 actual_sources = [ "$root_build_dir/foo" ] |
| 955 } | 954 } |
| OLD | NEW |