Wire up a tracer for Android IP Protection Auth client library

This CL adds the first version of the IP Protection auth client
library and tests the end to end data flow by mocking the auth service.
An Android instrumentation test is added to run the test.
In this initial version, the IPC methods just respond with the same
payload that is passed in the request.

Context:
As part of IP Protection in Android, WebView and Cronet needs to
request for authentication tokens from a system provided
Android service in order to talk to the IP Protection proxy server.
This client library provides a wrapper that handles the IPC to this
authentication service.

Currently, this component is intended to be used by both WebView
and Cronet.

Test: "autoninja -C out/Default ip_protection_auth_test_apk && out/Default/bin/run_ip_protection_auth_test_apk"
Bug: 1467842
Change-Id: I30f3678a0b42b429938d3ad7b0130b4eff6346c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4717487
Reviewed-by: Kinuko Yasuda <[email protected]>
Reviewed-by: Colin Blundell <[email protected]>
Reviewed-by: Andrew Grieve <[email protected]>
Commit-Queue: Abhijith Nair <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1203188}
diff --git a/components/ip_protection_auth/mock_service/BUILD.gn b/components/ip_protection_auth/mock_service/BUILD.gn
new file mode 100644
index 0000000..5590c1f
--- /dev/null
+++ b/components/ip_protection_auth/mock_service/BUILD.gn
@@ -0,0 +1,13 @@
+import("//build/config/android/config.gni")
+import("//build/config/android/rules.gni")
+
+android_library("ip_protection_auth_service_mock_java") {
+  sources = [ "java/src/org/chromium/components/ip_protection_auth/mock_service/IpProtectionAuthServiceMock.java" ]
+
+  deps = [
+    "//components/ip_protection_auth/common/aidl:ip_protection_aidl_java",
+    "//components/ip_protection_auth/common/proto:ip_protection_auth_proto_java",
+    "//third_party/android_deps:protobuf_lite_runtime_java",
+    "//third_party/androidx:androidx_annotation_annotation_java",
+  ]
+}