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

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: Preventing any regression if enable_all_proguard_optimizations is never turned on 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
« no previous file with comments | « no previous file | build/config/android/config.gni » ('j') | chrome/android/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 deps -= [ 380 deps -= [
381 "//net:net_perftests", 381 "//net:net_perftests",
382 "//url:url_unittests", 382 "//url:url_unittests",
383 ] 383 ]
384 384
385 if (!is_component_build) { 385 if (!is_component_build) {
386 deps += [ 386 deps += [
387 "//components/cronet/android:cronet_package", 387 "//components/cronet/android:cronet_package",
388 "//components/cronet/android:cronet_perf_test_apk", 388 "//components/cronet/android:cronet_perf_test_apk",
389 "//components/cronet/android:cronet_sample_apk", 389 "//components/cronet/android:cronet_sample_apk",
390 "//components/cronet/android:cronet_sample_test_apk",
391 "//components/cronet/android:cronet_test_apk", 390 "//components/cronet/android:cronet_test_apk",
392 "//components/cronet/android:cronet_test_instrumentation_apk", 391 "//components/cronet/android:cronet_test_instrumentation_apk",
393 "//components/cronet/android:cronet_unittests", 392 "//components/cronet/android:cronet_unittests",
394 ] 393 ]
394 if (!enable_all_proguard_optimizations) {
395 deps += [ "//components/cronet/android:cronet_sample_test_apk" ]
396 }
395 } 397 }
396 398
397 if (!is_chromecast) { 399 if (!is_chromecast) {
398 deps += [ 400 deps += [
399 "//android_webview", 401 "//android_webview",
400 "//android_webview/test", 402 "//android_webview/test",
401 "//android_webview/tools/automated_ui_tests:webview_ui_test_app", 403 "//android_webview/tools/automated_ui_tests:webview_ui_test_app",
402 "//android_webview/tools/system_webview_shell", 404 "//android_webview/tools/system_webview_shell",
403 "//chrome/android:chrome_junit_tests", 405 "//chrome/android:chrome_junit_tests",
404 "//chrome/android:chrome_public_apk", 406 "//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", 407 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shel l_apk",
408 "//content/shell/android:content_shell_test_apk", 408 "//content/shell/android:content_shell_test_apk",
409 "//third_party/custom_tabs_client:custom_tabs_client_example_apk", 409 "//third_party/custom_tabs_client:custom_tabs_client_example_apk",
410 ] 410 ]
411 if (!enable_all_proguard_optimizations) {
412 deps += [
413 "//chrome/android:chrome_public_test_apk",
414 "//chrome/android:chrome_sync_shell_test_apk",
415 ]
416 }
411 } 417 }
412 418
413 if (target_cpu != "x64") { 419 if (target_cpu != "x64") {
414 deps += [ 420 deps += [
415 "//content/shell/android:chromium_linker_test_apk", 421 "//content/shell/android:chromium_linker_test_apk",
416 "//third_party/android_platform:android_relocation_packer_unittests($hos t_toolchain)", 422 "//third_party/android_platform:android_relocation_packer_unittests($hos t_toolchain)",
417 ] 423 ]
418 } 424 }
419 425
420 if (has_chrome_android_internal) { 426 if (has_chrome_android_internal) {
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
1040 assert(target_name != "") # Mark as used. 1046 assert(target_name != "") # Mark as used.
1041 sources = invoker.actual_sources 1047 sources = invoker.actual_sources
1042 assert( 1048 assert(
1043 sources == invoker.actual_sources, 1049 sources == invoker.actual_sources,
1044 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 1050 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
1045 } 1051 }
1046 1052
1047 assert_valid_out_dir("_unused") { 1053 assert_valid_out_dir("_unused") {
1048 actual_sources = [ "$root_build_dir/foo" ] 1054 actual_sources = [ "$root_build_dir/foo" ]
1049 } 1055 }
OLDNEW
« no previous file with comments | « no previous file | build/config/android/config.gni » ('j') | chrome/android/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698