| 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 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 } | 402 } |
| 403 | 403 |
| 404 if (!is_chromecast) { | 404 if (!is_chromecast) { |
| 405 deps += [ | 405 deps += [ |
| 406 "//android_webview", | 406 "//android_webview", |
| 407 "//android_webview/test", | 407 "//android_webview/test", |
| 408 "//android_webview/tools/automated_ui_tests:webview_ui_test_app", | 408 "//android_webview/tools/automated_ui_tests:webview_ui_test_app", |
| 409 "//android_webview/tools/system_webview_shell", | 409 "//android_webview/tools/system_webview_shell", |
| 410 "//chrome/android:chrome_junit_tests", | 410 "//chrome/android:chrome_junit_tests", |
| 411 "//chrome/android:chrome_public_apk", | 411 "//chrome/android:chrome_public_apk", |
| 412 "//chrome/android:chrome_public_test_apk", |
| 413 "//chrome/android:chrome_sync_shell_test_apk", |
| 412 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shel
l_apk", | 414 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shel
l_apk", |
| 413 "//content/shell/android:content_shell_test_apk", | 415 "//content/shell/android:content_shell_test_apk", |
| 414 "//third_party/custom_tabs_client:custom_tabs_client_example_apk", | 416 "//third_party/custom_tabs_client:custom_tabs_client_example_apk", |
| 415 ] | 417 ] |
| 416 if (!enable_all_proguard_optimizations) { | |
| 417 deps += [ | |
| 418 "//chrome/android:chrome_public_test_apk", | |
| 419 "//chrome/android:chrome_sync_shell_test_apk", | |
| 420 ] | |
| 421 } | |
| 422 } | 418 } |
| 423 | 419 |
| 424 if (target_cpu != "x64") { | 420 if (target_cpu != "x64") { |
| 425 deps += [ | 421 deps += [ |
| 426 "//content/shell/android:chromium_linker_test_apk", | 422 "//content/shell/android:chromium_linker_test_apk", |
| 427 "//third_party/android_platform:android_relocation_packer_unittests($hos
t_toolchain)", | 423 "//third_party/android_platform:android_relocation_packer_unittests($hos
t_toolchain)", |
| 428 ] | 424 ] |
| 429 } | 425 } |
| 430 | 426 |
| 431 if (has_chrome_android_internal) { | 427 if (has_chrome_android_internal) { |
| (...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1041 assert(target_name != "") # Mark as used. | 1037 assert(target_name != "") # Mark as used. |
| 1042 sources = invoker.actual_sources | 1038 sources = invoker.actual_sources |
| 1043 assert( | 1039 assert( |
| 1044 sources == invoker.actual_sources, | 1040 sources == invoker.actual_sources, |
| 1045 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1041 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1046 } | 1042 } |
| 1047 | 1043 |
| 1048 assert_valid_out_dir("_unused") { | 1044 assert_valid_out_dir("_unused") { |
| 1049 actual_sources = [ "$root_build_dir/foo" ] | 1045 actual_sources = [ "$root_build_dir/foo" ] |
| 1050 } | 1046 } |
| OLD | NEW |