blob: 14ce4cba1957ff9b0529c4db76ec7e4d48e23406 [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 ],
dimitryb2cf95d2018-10-31 14:56:29 +010041
Steven Moreland0b8a3c32018-11-14 14:35:13 -080042 cpp_std: "c++17",
43
dimitryb2cf95d2018-10-31 14:56:29 +010044 version_script: "libbinder_ndk.map.txt",
Steven Moreland2e87adc2018-08-20 19:47:00 -070045}
Steven Morelandeb0e9cc2018-08-29 01:52:09 -070046
47ndk_headers {
48 name: "libbinder_ndk_headers",
49 from: "include_ndk/android",
50 to: "android",
51 srcs: [
52 "include_ndk/android/*.h",
53 ],
54 license: "NOTICE",
55}
56
57ndk_library {
58 name: "libbinder_ndk",
59 symbol_file: "libbinder_ndk.map.txt",
60 first_version: "29",
61}