xref: /aosp_15_r20/build/make/tools/aconfig/fake_device_config/Android.bp (revision 9e94795a3d4ef5c1d47486f9a02bb378756cea8a)
1// 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
15java_library {
16    name: "fake_device_config",
17    srcs: [
18        "src/**/*.java",
19    ],
20    sdk_version: "none",
21    system_modules: "core-all-system-modules",
22    host_supported: true,
23    is_stubs_module: true,
24}
25
26java_library {
27    name: "strict_mode_stub",
28    srcs: [
29        "src/android/os/StrictMode.java",
30    ],
31    sdk_version: "core_current",
32    host_supported: true,
33    is_stubs_module: true,
34}
35
36java_library {
37    name: "aconfig_storage_stub",
38    srcs: [
39        "src/android/os/flagging/**/*.java",
40    ],
41    sdk_version: "core_current",
42    host_supported: true,
43    is_stubs_module: true,
44}
45
46java_library {
47    name: "aconfig_storage_stub_none",
48    srcs: [
49        "src/android/os/flagging/**/*.java",
50    ],
51    sdk_version: "none",
52    system_modules: "core-all-system-modules",
53    host_supported: true,
54    is_stubs_module: true,
55}
56