blob: d16502feab0b7170341cb248fce4f57321837ce3 [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
42 version_script: "libbinder_ndk.map.txt",
Steven Moreland2e87adc2018-08-20 19:47:00 -070043}
Steven Morelandeb0e9cc2018-08-29 01:52:09 -070044
45ndk_headers {
46 name: "libbinder_ndk_headers",
47 from: "include_ndk/android",
48 to: "android",
49 srcs: [
50 "include_ndk/android/*.h",
51 ],
52 license: "NOTICE",
53}
54
55ndk_library {
56 name: "libbinder_ndk",
57 symbol_file: "libbinder_ndk.map.txt",
58 first_version: "29",
59}