-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathAndroid.bp
59 lines (48 loc) · 1.06 KB
/
Android.bp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// Copyright 2006 The Android Open Source Project
subdirs = [
"audio",
]
cc_library_headers {
name: "libhardware_legacy_headers",
vendor_available: true,
export_include_dirs: ["include"],
header_libs: ["libcutils_headers"],
export_header_lib_headers: ["libcutils_headers"],
}
cc_library {
name: "libpower",
srcs: ["power.c"],
export_include_dirs: ["include"],
shared_libs: ["libcutils", "liblog"],
vendor_available: true,
vndk: {
enabled: true,
},
}
cc_library_shared {
name: "libhardware_legacy",
vendor_available: true,
vndk: {
enabled: true,
},
shared_libs: [
"libbase",
"libdl",
"libcutils",
"liblog",
],
header_libs: [
"libhardware_legacy_headers",
],
export_header_lib_headers: ["libhardware_legacy_headers"],
export_include_dirs: ["include"],
cflags: [
"-DQEMU_HARDWARE",
"-Wno-unused-parameter",
"-Wno-gnu-designator",
],
srcs: [
"power.c",
"uevent.c",
],
}