| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
| 7 import("//build_overrides/v8.gni") | 7 import("//build_overrides/v8.gni") |
| 8 import("//chrome/android/chrome_public_apk_tmpl.gni") | 8 import("//chrome/android/chrome_public_apk_tmpl.gni") |
| 9 import("//chrome/common/features.gni") | 9 import("//chrome/common/features.gni") |
| 10 import("//chrome/version.gni") | 10 import("//chrome/version.gni") |
| (...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 variables = chrome_public_jinja_variables | 559 variables = chrome_public_jinja_variables |
| 560 } | 560 } |
| 561 | 561 |
| 562 # GYP: //chrome/android/chrome_apk.gyp:chrome_sync_shell_test_apk_manifest | 562 # GYP: //chrome/android/chrome_apk.gyp:chrome_sync_shell_test_apk_manifest |
| 563 jinja_template("chrome_sync_shell_test_apk_manifest") { | 563 jinja_template("chrome_sync_shell_test_apk_manifest") { |
| 564 input = "sync_shell/javatests/AndroidManifest.xml" | 564 input = "sync_shell/javatests/AndroidManifest.xml" |
| 565 output = chrome_sync_shell_test_apk_manifest | 565 output = chrome_sync_shell_test_apk_manifest |
| 566 variables = chrome_sync_shell_jinja_variables | 566 variables = chrome_sync_shell_jinja_variables |
| 567 } | 567 } |
| 568 | 568 |
| 569 if (!enable_all_proguard_optimizations) { | 569 # GYP: //chrome/android/chrome_apk.gyp:chrome_public_test_apk |
| 570 # GYP: //chrome/android/chrome_apk.gyp:chrome_public_test_apk | 570 instrumentation_test_apk("chrome_public_test_apk") { |
| 571 instrumentation_test_apk("chrome_public_test_apk") { | 571 apk_name = "ChromePublicTest" |
| 572 apk_name = "ChromePublicTest" | 572 apk_under_test = ":chrome_public_apk" |
| 573 apk_under_test = ":chrome_public_apk" | 573 android_manifest = chrome_public_test_apk_manifest |
| 574 android_manifest = chrome_public_test_apk_manifest | 574 android_manifest_dep = ":chrome_public_test_apk_manifest" |
| 575 android_manifest_dep = ":chrome_public_test_apk_manifest" | |
| 576 | 575 |
| 577 deps = [ | 576 deps = [ |
| 578 ":chrome_test_java", | 577 ":chrome_test_java", |
| 579 "//chrome/android/webapk/libs/runtime_library:runtime_library_javatests", | 578 "//chrome/android/webapk/libs/runtime_library:runtime_library_javatests", |
| 580 "//chrome/android/webapk/shell_apk:shell_apk_javatests", | 579 "//chrome/android/webapk/shell_apk:shell_apk_javatests", |
| 581 ] | 580 ] |
| 582 additional_apks = [ | 581 additional_apks = [ |
| 583 "//chrome/android/webapk/shell_apk/javatests/dex_optimizer:dex_optimizer_a
pk", | 582 "//chrome/android/webapk/shell_apk/javatests/dex_optimizer:dex_optimizer_apk
", |
| 584 "//chrome/test/android/chrome_public_test_support:chrome_public_test_suppo
rt_apk", | 583 "//chrome/test/android/chrome_public_test_support:chrome_public_test_support
_apk", |
| 585 "//net/android:net_test_support_apk", | 584 "//net/android:net_test_support_apk", |
| 586 ] | 585 ] |
| 587 isolate_file = "../chrome_public_test_apk.isolate" | 586 isolate_file = "../chrome_public_test_apk.isolate" |
| 588 proguard_enabled = !is_java_debug | 587 proguard_enabled = !is_java_debug |
| 589 } | |
| 590 } | 588 } |
| 591 | 589 |
| 592 android_library("chrome_sync_shell_test_apk_java") { | 590 android_library("chrome_sync_shell_test_apk_java") { |
| 593 testonly = true | 591 testonly = true |
| 594 | 592 |
| 595 # From java_sources.jni. | 593 # From java_sources.jni. |
| 596 java_files = sync_shell_test_java_sources | 594 java_files = sync_shell_test_java_sources |
| 597 | 595 |
| 598 deps = [ | 596 deps = [ |
| 599 "//base:base_java", | 597 "//base:base_java", |
| 600 "//base:base_java_test_support", | 598 "//base:base_java_test_support", |
| 601 "//chrome/android:chrome_java", | 599 "//chrome/android:chrome_java", |
| 602 "//chrome/test/android:chrome_java_test_support", | 600 "//chrome/test/android:chrome_java_test_support", |
| 603 "//components/bookmarks/common/android:bookmarks_java", | 601 "//components/bookmarks/common/android:bookmarks_java", |
| 604 "//components/policy/android:policy_java", | 602 "//components/policy/android:policy_java", |
| 605 "//content/public/android:content_java", | 603 "//content/public/android:content_java", |
| 606 "//content/public/test/android:content_java_test_support", | 604 "//content/public/test/android:content_java_test_support", |
| 607 "//sync:sync_java_test_support", | 605 "//sync:sync_java_test_support", |
| 608 "//sync:test_support_sync_proto_java", | 606 "//sync:test_support_sync_proto_java", |
| 609 "//sync/android:sync_java", | 607 "//sync/android:sync_java", |
| 610 "//third_party/android_protobuf:protobuf_nano_javalib", | 608 "//third_party/android_protobuf:protobuf_nano_javalib", |
| 611 "//third_party/android_tools:android_support_v7_appcompat_java", | 609 "//third_party/android_tools:android_support_v7_appcompat_java", |
| 612 "//ui/android:ui_java", | 610 "//ui/android:ui_java", |
| 613 ] | 611 ] |
| 614 } | 612 } |
| 615 | 613 |
| 616 if (!enable_all_proguard_optimizations) { | 614 # GYP: //chrome/android/chrome_apk.gyp:chrome_sync_shell_test_apk |
| 617 # GYP: //chrome/android/chrome_apk.gyp:chrome_sync_shell_test_apk | 615 instrumentation_test_apk("chrome_sync_shell_test_apk") { |
| 618 instrumentation_test_apk("chrome_sync_shell_test_apk") { | 616 apk_name = "ChromeSyncShellTest" |
| 619 apk_name = "ChromeSyncShellTest" | 617 apk_under_test = ":chrome_sync_shell_apk" |
| 620 apk_under_test = ":chrome_sync_shell_apk" | 618 android_manifest = chrome_sync_shell_test_apk_manifest |
| 621 android_manifest = chrome_sync_shell_test_apk_manifest | 619 android_manifest_dep = ":chrome_sync_shell_test_apk_manifest" |
| 622 android_manifest_dep = ":chrome_sync_shell_test_apk_manifest" | 620 deps = [ |
| 623 deps = [ | 621 ":chrome_sync_shell_test_apk_java", |
| 624 ":chrome_sync_shell_test_apk_java", | 622 ] |
| 625 ] | 623 proguard_enabled = !is_java_debug |
| 626 proguard_enabled = !is_java_debug | |
| 627 } | |
| 628 } | 624 } |
| OLD | NEW |