blob: b53bc35f28d9d17d124780a2a4926d3b9878a857 [file] [log] [blame]
Yifan Hongfeed84d2021-01-13 14:56:51 -08001/*
2 * Copyright (C) 2021 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17cc_defaults {
18 name: "libhealth_storage_impl_defaults",
19 vendor: true,
20 shared_libs: [
21 "libbase",
22 "libbinder_ndk",
Jeongik Cha1674c132021-01-26 22:34:55 +090023 "android.hardware.health.storage-V1-ndk_platform",
Yifan Hongfeed84d2021-01-13 14:56:51 -080024 ],
25 static_libs: [
26 "libfstab",
27 "libhealth_storage_impl_common",
28 ],
29}
30
31cc_library_static {
32 name: "libhealth_storage_default_impl",
33 defaults: ["libhealth_storage_impl_defaults"],
34 srcs: [
35 "Storage.cpp",
36 ],
37 visibility: [
38 ":__subpackages__",
39 "//hardware/interfaces/tests/extension/health/storage:__subpackages__",
40 ],
41}
42
43cc_binary {
44 name: "android.hardware.health.storage-service.default",
45 defaults: ["libhealth_storage_impl_defaults"],
46 relative_install_path: "hw",
47 init_rc: ["health-storage-default.rc"],
48 vintf_fragments: ["health-storage-default.xml"],
49 srcs: ["main.cpp"],
50 static_libs: [
51 "libhealth_storage_default_impl",
52 ],
53}