blob: 8548548d2ea2cdc17e5fe75b3f99e0411af5dd24 [file] [log] [blame]
Tao Bao4b51c3a2018-03-06 22:05:25 -08001// Copyright (C) 2018 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
Tao Bao818f9382018-08-06 15:52:24 -070015cc_library {
Tao Bao4b51c3a2018-03-06 22:05:25 -080016 name: "libfusesideload",
Tao Bao5fc72a12018-08-07 14:38:51 -070017 recovery_available: true,
Tao Bao4b51c3a2018-03-06 22:05:25 -080018
xunchangea2912f2019-03-17 16:45:12 -070019 defaults: [
20 "recovery_defaults",
21 ],
22
Tao Bao4b51c3a2018-03-06 22:05:25 -080023 cflags: [
24 "-D_XOPEN_SOURCE",
25 "-D_GNU_SOURCE",
Tao Bao4b51c3a2018-03-06 22:05:25 -080026 ],
27
28 srcs: [
xunchangea2912f2019-03-17 16:45:12 -070029 "fuse_provider.cpp",
Tao Bao4b51c3a2018-03-06 22:05:25 -080030 "fuse_sideload.cpp",
31 ],
32
33 export_include_dirs: [
34 "include",
35 ],
36
Tao Bao5fc72a12018-08-07 14:38:51 -070037 shared_libs: [
Tao Bao4b51c3a2018-03-06 22:05:25 -080038 "libbase",
39 "libcrypto",
40 ],
41}