Camera: Initial support for Camera2 extension

Add the necessary APIs that will allow Camera2 clients to access
and work with existing CameraX extensions.

Bug: 170481080
Test: Camera CTS

Change-Id: Iaa22fea69ebe01599b3f2e66c1b46ca92015cdc5
diff --git a/packages/services/CameraExtensionsProxy/Android.bp b/packages/services/CameraExtensionsProxy/Android.bp
new file mode 100644
index 0000000..54b7453
--- /dev/null
+++ b/packages/services/CameraExtensionsProxy/Android.bp
@@ -0,0 +1,29 @@
+//
+// Copyright (C) 2020 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+android_app {
+    name: "CameraExtensionsProxy",
+    srcs: ["src/**/*.java"],
+    libs: ["androidx.camera.extensions.stub"],
+    platform_apis: true,
+    certificate: "platform",
+}
+
+filegroup {
+    name: "CameraExtensionsProxy-aidl-sources",
+    srcs: ["src/**/*.aidl"],
+    path: "src",
+}