Abhijith Nair | 3882779 | 2023-09-29 12:00:55 | [diff] [blame^] | 1 | # Copyright 2023 The Chromium Authors |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | import("//build/config/android/rules.gni") |
| 6 | import("//testing/test.gni") |
| 7 | |
| 8 | instrumentation_test_apk("ip_protection_auth_test_apk") { |
| 9 | apk_name = "IpProtectionAuthTest" |
| 10 | apk_under_test = ":ip_protection_auth_apk" |
| 11 | android_manifest = "InstrumentationTestAndroidManifest.xml" |
| 12 | sources = [ "src/org/chromium/components/ip_protection_auth/test/IpProtectionAuthTest.java" ] |
| 13 | deps = [ |
| 14 | "../client:ip_protection_auth_client_java", |
| 15 | "//base:base_java_test_support", |
| 16 | "//components/ip_protection_auth/common/proto:ip_protection_auth_proto_java", |
| 17 | "//third_party/android_deps:protobuf_lite_runtime_java", |
| 18 | "//third_party/androidx:androidx_test_core_java", |
| 19 | "//third_party/androidx:androidx_test_ext_junit_java", |
| 20 | "//third_party/androidx:androidx_test_runner_java", |
| 21 | "//third_party/google-truth:google_truth_java", |
| 22 | "//third_party/junit:junit", |
| 23 | ] |
| 24 | } |
| 25 | |
| 26 | android_apk("ip_protection_auth_apk") { |
| 27 | apk_name = "IpProtectionAuth" |
| 28 | android_manifest = "AndroidManifest.xml" |
| 29 | deps = [ "../mock_service:ip_protection_auth_service_mock_java" ] |
| 30 | } |