| 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 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 961 data_deps = [ | 961 data_deps = [ |
| 962 "//cc:cc_perftests", | 962 "//cc:cc_perftests", |
| 963 "//chrome/test:load_library_perf_tests", | 963 "//chrome/test:load_library_perf_tests", |
| 964 "//chrome/test:telemetry_perf_tests", | 964 "//chrome/test:telemetry_perf_tests", |
| 965 "//components/tracing:tracing_perftests", | 965 "//components/tracing:tracing_perftests", |
| 966 "//gpu:gpu_perftests", | 966 "//gpu:gpu_perftests", |
| 967 "//media:media_perftests", | 967 "//media:media_perftests", |
| 968 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", | 968 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", |
| 969 ] | 969 ] |
| 970 | 970 |
| 971 if (is_android) { |
| 972 data += [ "//third_party/android_tools/sdk/platform-tools/adb" ] |
| 973 } |
| 974 |
| 971 if (!is_chromeos) { | 975 if (!is_chromeos) { |
| 972 data_deps += [ "//chrome/test:performance_browser_tests" ] | 976 data_deps += [ "//chrome/test:performance_browser_tests" ] |
| 973 } | 977 } |
| 974 if (is_linux && !is_chromeos) { | 978 if (is_linux && !is_chromeos) { |
| 975 if (is_official_build) { | 979 if (is_official_build) { |
| 976 # In GN builds, this is controlled by the 'linux_dump_symbols' | 980 # In GN builds, this is controlled by the 'linux_dump_symbols' |
| 977 # flag, which defaults to 1 for official builds. For now, | 981 # flag, which defaults to 1 for official builds. For now, |
| 978 # we skip the separate flag and just key off of is_official_build. | 982 # we skip the separate flag and just key off of is_official_build. |
| 979 data_deps += [ "//chrome:linux_symbols" ] | 983 data_deps += [ "//chrome:linux_symbols" ] |
| 980 } | 984 } |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1071 assert(target_name != "") # Mark as used. | 1075 assert(target_name != "") # Mark as used. |
| 1072 sources = invoker.actual_sources | 1076 sources = invoker.actual_sources |
| 1073 assert( | 1077 assert( |
| 1074 sources == invoker.actual_sources, | 1078 sources == invoker.actual_sources, |
| 1075 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1079 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1076 } | 1080 } |
| 1077 | 1081 |
| 1078 assert_valid_out_dir("_unused") { | 1082 assert_valid_out_dir("_unused") { |
| 1079 actual_sources = [ "$root_build_dir/foo" ] | 1083 actual_sources = [ "$root_build_dir/foo" ] |
| 1080 } | 1084 } |
| OLD | NEW |