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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 "//content/public/android:content_junit_tests", | 322 "//content/public/android:content_junit_tests", |
323 "//content/shell/android:content_shell_apk", | 323 "//content/shell/android:content_shell_apk", |
324 "//media/gpu:video_decode_accelerator_unittest", | 324 "//media/gpu:video_decode_accelerator_unittest", |
325 "//net/android:net_junit_tests", | 325 "//net/android:net_junit_tests", |
326 "//testing/android/junit:junit_unit_tests", | 326 "//testing/android/junit:junit_unit_tests", |
327 "//third_party/errorprone:chromium_errorprone", | 327 "//third_party/errorprone:chromium_errorprone", |
328 "//third_party/smhasher:murmurhash3", | 328 "//third_party/smhasher:murmurhash3", |
329 "//tools/android:android_tools", | 329 "//tools/android:android_tools", |
330 "//tools/android:memconsumer", | 330 "//tools/android:memconsumer", |
331 "//tools/android:push_apps_to_background", | 331 "//tools/android:push_apps_to_background", |
332 "//tools/android/audio_focus_grabber:audio_focus_grabber_apk", | |
333 "//tools/android/customtabs_benchmark:customtabs_benchmark_apk", | |
334 "//tools/android/heap_profiler:heap_profiler_unittests", | 332 "//tools/android/heap_profiler:heap_profiler_unittests", |
335 "//tools/android/kerberos/SpnegoAuthenticator:spnego_authenticator_apk", | 333 "//tools/android/kerberos/SpnegoAuthenticator:spnego_authenticator_apk", |
336 "//tools/cygprofile:cygprofile_unittests", | 334 "//tools/cygprofile:cygprofile_unittests", |
337 "//ui/android:ui_junit_tests", | 335 "//ui/android:ui_junit_tests", |
338 ] | 336 ] |
339 deps -= [ | 337 deps -= [ |
340 "//net:net_perftests", | 338 "//net:net_perftests", |
341 "//url:url_unittests", | 339 "//url:url_unittests", |
342 ] | 340 ] |
343 | 341 |
344 if (!is_component_build) { | 342 if (!is_component_build) { |
345 deps += [ | 343 deps += [ |
346 "//components/cronet/android:cronet_package", | 344 "//components/cronet/android:cronet_package", |
347 "//components/cronet/android:cronet_perf_test_apk", | |
348 "//components/cronet/android:cronet_sample_apk", | 345 "//components/cronet/android:cronet_sample_apk", |
349 "//components/cronet/android:cronet_sample_test_apk", | 346 "//components/cronet/android:cronet_sample_test_apk", |
350 "//components/cronet/android:cronet_test_apk", | 347 "//components/cronet/android:cronet_test_apk", |
351 "//components/cronet/android:cronet_test_instrumentation_apk", | 348 "//components/cronet/android:cronet_test_instrumentation_apk", |
352 "//components/cronet/android:cronet_unittests", | 349 "//components/cronet/android:cronet_unittests", |
353 ] | 350 ] |
354 } | 351 } |
355 | 352 |
356 if (!is_chromecast) { | 353 if (!is_chromecast) { |
357 deps += [ | 354 deps += [ |
358 "//android_webview", | 355 "//android_webview", |
359 "//android_webview/test", | 356 "//android_webview/test", |
360 "//android_webview/tools/system_webview_shell", | 357 "//android_webview/tools/system_webview_shell", |
361 "//chrome/android:chrome_junit_tests", | 358 "//chrome/android:chrome_junit_tests", |
362 "//chrome/android:chrome_public_apk", | 359 "//chrome/android:chrome_public_apk", |
363 "//chrome/android:chrome_public_test_apk", | 360 "//chrome/android:chrome_public_test_apk", |
364 "//chrome/android:chrome_sync_shell_test_apk", | |
365 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shel
l_apk", | 361 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shel
l_apk", |
366 "//content/shell/android:chromium_linker_test_apk", | |
367 "//content/shell/android:content_shell_test_apk", | 362 "//content/shell/android:content_shell_test_apk", |
368 "//third_party/custom_tabs_client:custom_tabs_client_example_apk", | 363 "//third_party/custom_tabs_client:custom_tabs_client_example_apk", |
369 ] | 364 ] |
370 } | 365 } |
371 | 366 |
372 if (target_cpu != "x64") { | 367 if (target_cpu != "x64") { |
373 deps += [ "//third_party/android_platform:android_relocation_packer_unitte
sts($host_toolchain)" ] | 368 deps += [ "//third_party/android_platform:android_relocation_packer_unitte
sts($host_toolchain)" ] |
374 } | 369 } |
375 | 370 |
376 if (has_chrome_android_internal) { | 371 if (has_chrome_android_internal) { |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
956 assert(target_name != "") # Mark as used. | 951 assert(target_name != "") # Mark as used. |
957 sources = invoker.actual_sources | 952 sources = invoker.actual_sources |
958 assert( | 953 assert( |
959 sources == invoker.actual_sources, | 954 sources == invoker.actual_sources, |
960 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 955 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
961 } | 956 } |
962 | 957 |
963 assert_valid_out_dir("_unused") { | 958 assert_valid_out_dir("_unused") { |
964 actual_sources = [ "$root_build_dir/foo" ] | 959 actual_sources = [ "$root_build_dir/foo" ] |
965 } | 960 } |
OLD | NEW |