blob: 7cfabb06f4e2eb8e34855f31c190960b6608b782 [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
Bob Badourb224b362021-02-12 20:13:01 -080017package {
18 // See: http://go/android-license-faq
19 // A large-scale-change added 'default_applicable_licenses' to import
20 // all of the 'license_kinds' from "hardware_interfaces_license"
21 // to get the below license kinds:
22 // SPDX-license-identifier-Apache-2.0
23 default_applicable_licenses: ["hardware_interfaces_license"],
24}
25
Yifan Hongfeed84d2021-01-13 14:56:51 -080026cc_defaults {
27 name: "libhealth_storage_impl_defaults",
28 vendor: true,
29 shared_libs: [
30 "libbase",
31 "libbinder_ndk",
Jiyong Park27f77fe2021-07-27 12:16:52 +090032 "android.hardware.health.storage-V1-ndk",
Yifan Hongfeed84d2021-01-13 14:56:51 -080033 ],
34 static_libs: [
35 "libfstab",
36 "libhealth_storage_impl_common",
37 ],
38}
39
40cc_library_static {
41 name: "libhealth_storage_default_impl",
42 defaults: ["libhealth_storage_impl_defaults"],
43 srcs: [
44 "Storage.cpp",
45 ],
46 visibility: [
47 ":__subpackages__",
48 "//hardware/interfaces/tests/extension/health/storage:__subpackages__",
49 ],
50}
51
52cc_binary {
53 name: "android.hardware.health.storage-service.default",
54 defaults: ["libhealth_storage_impl_defaults"],
55 relative_install_path: "hw",
56 init_rc: ["health-storage-default.rc"],
57 vintf_fragments: ["health-storage-default.xml"],
58 srcs: ["main.cpp"],
59 static_libs: [
60 "libhealth_storage_default_impl",
61 ],
62}