| # Copyright 2023 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/android/rules.gni") |
| import("//testing/test.gni") |
| |
| instrumentation_test_apk("ip_protection_auth_test_apk") { |
| apk_name = "IpProtectionAuthTest" |
| apk_under_test = ":ip_protection_auth_apk" |
| android_manifest = "InstrumentationTestAndroidManifest.xml" |
| sources = [ "src/org/chromium/components/ip_protection_auth/test/IpProtectionAuthTest.java" ] |
| deps = [ |
| "../client:ip_protection_auth_client_java", |
| "//base:base_java_test_support", |
| "//components/ip_protection_auth/common/proto:ip_protection_auth_proto_java", |
| "//third_party/android_deps:protobuf_lite_runtime_java", |
| "//third_party/androidx:androidx_test_core_java", |
| "//third_party/androidx:androidx_test_ext_junit_java", |
| "//third_party/androidx:androidx_test_runner_java", |
| "//third_party/google-truth:google_truth_java", |
| "//third_party/junit:junit", |
| ] |
| } |
| |
| android_apk("ip_protection_auth_apk") { |
| apk_name = "IpProtectionAuth" |
| android_manifest = "AndroidManifest.xml" |
| deps = [ "../mock_service:ip_protection_auth_service_mock_java" ] |
| } |