aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao2018-03-07 00:05:25 -0600
committerTao Bao2018-03-07 12:01:51 -0600
commit4b51c3ab400eb8e02e21a6cd9e39b4800f4ab219 (patch)
treef3f7fb8b0d453e4c21d6c874563200a9b51f395d /fuse_sideload/Android.bp
parent8c7761edec5a85f0d544c4fa1b24f26d976fdb64 (diff)
downloadplatform-bootable-recovery-4b51c3ab400eb8e02e21a6cd9e39b4800f4ab219.tar.gz
platform-bootable-recovery-4b51c3ab400eb8e02e21a6cd9e39b4800f4ab219.tar.xz
platform-bootable-recovery-4b51c3ab400eb8e02e21a6cd9e39b4800f4ab219.zip
Export fuse_sideload.h for libfusesideload.
Move the module into a separate directory so that we can export only the expected header. With this change, minadbd no longer needs to include bootable/recovery. Test: mmma -j bootable/recovery Change-Id: I69b888ceb160a33a67d79c5bda208dc17ad6ed86
Diffstat (limited to 'fuse_sideload/Android.bp')
-rw-r--r--fuse_sideload/Android.bp37
1 files changed, 37 insertions, 0 deletions
diff --git a/fuse_sideload/Android.bp b/fuse_sideload/Android.bp
new file mode 100644
index 00000000..76bc16df
--- /dev/null
+++ b/fuse_sideload/Android.bp
@@ -0,0 +1,37 @@
1// 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
15cc_library_static {
16 name: "libfusesideload",
17
18 cflags: [
19 "-D_XOPEN_SOURCE",
20 "-D_GNU_SOURCE",
21 "-Wall",
22 "-Werror",
23 ],
24
25 srcs: [
26 "fuse_sideload.cpp",
27 ],
28
29 export_include_dirs: [
30 "include",
31 ],
32
33 static_libs: [
34 "libbase",
35 "libcrypto",
36 ],
37}