blob: 5461b4f7191a73cf41b88374f7eee0fdbee18030 [file] [log] [blame]
Steven Moreland2e87adc2018-08-20 19:47:00 -07001/*
2 * Copyright (C) 2018 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_library {
18 name: "libbinder_ndk",
19 vendor_available: false,
20
21 export_include_dirs: [
22 "include_ndk",
23 "include_apex",
24 ],
25
26 srcs: [
Steven Moreland4d5ad492018-09-13 12:49:16 -070027 "ibinder.cpp",
Steven Moreland02f75652018-09-18 14:08:30 -070028 "ibinder_jni.cpp",
Steven Moreland4d5ad492018-09-13 12:49:16 -070029 "parcel.cpp",
30 "process.cpp",
Steven Moreland5d62e442018-09-13 15:01:02 -070031 "status.cpp",
Steven Moreland4d5ad492018-09-13 12:49:16 -070032 "service_manager.cpp",
Steven Moreland2e87adc2018-08-20 19:47:00 -070033 ],
34
35 shared_libs: [
Steven Moreland02f75652018-09-18 14:08:30 -070036 "libandroid_runtime",
Steven Moreland2e87adc2018-08-20 19:47:00 -070037 "libbase",
38 "libbinder",
39 "libutils",
40 ],
41}
Steven Morelandeb0e9cc2018-08-29 01:52:09 -070042
43ndk_headers {
44 name: "libbinder_ndk_headers",
45 from: "include_ndk/android",
46 to: "android",
47 srcs: [
48 "include_ndk/android/*.h",
49 ],
50 license: "NOTICE",
51}
52
53ndk_library {
54 name: "libbinder_ndk",
55 symbol_file: "libbinder_ndk.map.txt",
56 first_version: "29",
57}