| 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 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 group("chromium_swarm_tests") { | 863 group("chromium_swarm_tests") { |
| 864 } | 864 } |
| 865 | 865 |
| 866 group("chromium_builder_perf") { | 866 group("chromium_builder_perf") { |
| 867 testonly = true | 867 testonly = true |
| 868 | 868 |
| 869 # TODO(GYP): Make this target work on the mac. | 869 # TODO(GYP): Make this target work on the mac. |
| 870 if (!is_ios && !is_android && !is_chromecast && !is_mac) { | 870 if (!is_ios && !is_android && !is_chromecast && !is_mac) { |
| 871 deps = [ | 871 deps = [ |
| 872 "//cc:cc_perftests", | 872 "//cc:cc_perftests", |
| 873 "//chrome", | |
| 874 "//chrome/test:load_library_perf_tests", | 873 "//chrome/test:load_library_perf_tests", |
| 875 "//chrome/test:sync_performance_tests", | 874 "//chrome/test:sync_performance_tests", |
| 876 "//gpu:gpu_perftests", | 875 "//gpu:gpu_perftests", |
| 877 "//media:media_perftests", | 876 "//media:media_perftests", |
| 878 "//media/midi:midi_unittests", | 877 "//media/midi:midi_unittests", |
| 879 "//third_party/catapult/telemetry:bitmaptools", | 878 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", |
| 880 ] | 879 ] |
| 881 | 880 |
| 882 if (!is_chromeos) { | 881 if (!is_chromeos) { |
| 883 deps += [ "//chrome/test:performance_browser_tests" ] | 882 deps += [ "//chrome/test:performance_browser_tests" ] |
| 884 } | 883 } |
| 885 if (is_linux && !is_chromeos) { | 884 if (is_linux && !is_chromeos) { |
| 886 if (is_official_build) { | 885 if (is_official_build) { |
| 887 # In GN builds, this is controlled by the 'linux_dump_symbols' | 886 # In GN builds, this is controlled by the 'linux_dump_symbols' |
| 888 # flag, which defaults to 1 for official builds. For now, | 887 # flag, which defaults to 1 for official builds. For now, |
| 889 # we skip the separate flag and just key off of is_official_build. | 888 # we skip the separate flag and just key off of is_official_build. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 assert(target_name != "") # Mark as used. | 950 assert(target_name != "") # Mark as used. |
| 952 sources = invoker.actual_sources | 951 sources = invoker.actual_sources |
| 953 assert( | 952 assert( |
| 954 sources == invoker.actual_sources, | 953 sources == invoker.actual_sources, |
| 955 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 954 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 956 } | 955 } |
| 957 | 956 |
| 958 assert_valid_out_dir("_unused") { | 957 assert_valid_out_dir("_unused") { |
| 959 actual_sources = [ "$root_build_dir/foo" ] | 958 actual_sources = [ "$root_build_dir/foo" ] |
| 960 } | 959 } |
| OLD | NEW |