Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: BUILD.gn

Issue 2123753005: Creating new gn arg: enable_all_proguard_optimizations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing from 2 apks to gn arg which controls optimizations Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 } 395 }
396 396
397 if (!is_chromecast) { 397 if (!is_chromecast) {
398 deps += [ 398 deps += [
399 "//android_webview", 399 "//android_webview",
400 "//android_webview/test", 400 "//android_webview/test",
401 "//android_webview/tools/automated_ui_tests:webview_ui_test_app", 401 "//android_webview/tools/automated_ui_tests:webview_ui_test_app",
402 "//android_webview/tools/system_webview_shell", 402 "//android_webview/tools/system_webview_shell",
403 "//chrome/android:chrome_junit_tests", 403 "//chrome/android:chrome_junit_tests",
404 "//chrome/android:chrome_public_apk", 404 "//chrome/android:chrome_public_apk",
405 "//chrome/android:chrome_public_test_apk",
406 "//chrome/android:chrome_sync_shell_test_apk",
407 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shel l_apk", 405 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shel l_apk",
408 "//content/shell/android:content_shell_test_apk",
409 "//third_party/custom_tabs_client:custom_tabs_client_example_apk", 406 "//third_party/custom_tabs_client:custom_tabs_client_example_apk",
410 ] 407 ]
408 if (!enable_all_proguard_optimizations) {
409 deps += [
410 "//chrome/android:chrome_public_test_apk",
411 "//chrome/android:chrome_sync_shell_test_apk",
412 "//content/shell/android:content_shell_test_apk",
413 ]
414 }
411 } 415 }
412 416
413 if (target_cpu != "x64") { 417 if (target_cpu != "x64") {
414 deps += [ 418 deps += [
415 "//content/shell/android:chromium_linker_test_apk", 419 "//content/shell/android:chromium_linker_test_apk",
416 "//third_party/android_platform:android_relocation_packer_unittests($hos t_toolchain)", 420 "//third_party/android_platform:android_relocation_packer_unittests($hos t_toolchain)",
417 ] 421 ]
418 } 422 }
419 423
420 if (has_chrome_android_internal) { 424 if (has_chrome_android_internal) {
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
1040 assert(target_name != "") # Mark as used. 1044 assert(target_name != "") # Mark as used.
1041 sources = invoker.actual_sources 1045 sources = invoker.actual_sources
1042 assert( 1046 assert(
1043 sources == invoker.actual_sources, 1047 sources == invoker.actual_sources,
1044 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 1048 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
1045 } 1049 }
1046 1050
1047 assert_valid_out_dir("_unused") { 1051 assert_valid_out_dir("_unused") {
1048 actual_sources = [ "$root_build_dir/foo" ] 1052 actual_sources = [ "$root_build_dir/foo" ]
1049 } 1053 }
OLDNEW
« no previous file with comments | « no previous file | android_webview/test/BUILD.gn » ('j') | android_webview/tools/system_webview_shell/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698