blob: 16907b3432ec39379bb73f3b0d9214bc157ee725 [file] [log] [blame]
Joe Onoratocd779472023-08-19 19:49:52 -07001// Copyright (C) 2023 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Aconfig declarations and libraries for the core framework
16java_defaults {
17 name: "framework-minus-apex-aconfig-libraries",
18
19 // Add java_aconfig_libraries to here to add them to the core framework
20 srcs: [
21 ":com.android.hardware.camera2-aconfig-java{.generated_srcjars}",
22 ],
23}
24
25// Default flags for java_aconfig_libraries that go into framework-minus-apex
26// These libraries will not work standalone
27java_defaults {
28 name: "framework-minus-apex-aconfig-java-defaults",
29 sdk_version: "core_platform",
30 libs: ["fake_device_config"],
31}
32
33aconfig_declarations {
34 name: "com.android.hardware.camera2-aconfig",
35 package: "com.android.hardware.camera2",
36 srcs: ["core/java/android/hardware/camera2/camera_platform.aconfig"],
37}
38
39java_aconfig_library {
40 name: "com.android.hardware.camera2-aconfig-java",
41 aconfig_declarations: "com.android.hardware.camera2-aconfig",
42 defaults: ["framework-minus-apex-aconfig-java-defaults"],
43}