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