Steven Moreland | 2e87adc | 2018-08-20 19:47:00 -0700 | [diff] [blame] | 1 | /* |
| 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 | |
| 17 | cc_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 Moreland | 4d5ad49 | 2018-09-13 12:49:16 -0700 | [diff] [blame] | 27 | "ibinder.cpp", |
Steven Moreland | 02f7565 | 2018-09-18 14:08:30 -0700 | [diff] [blame] | 28 | "ibinder_jni.cpp", |
Steven Moreland | 4d5ad49 | 2018-09-13 12:49:16 -0700 | [diff] [blame] | 29 | "parcel.cpp", |
| 30 | "process.cpp", |
Steven Moreland | 5d62e44 | 2018-09-13 15:01:02 -0700 | [diff] [blame] | 31 | "status.cpp", |
Steven Moreland | 4d5ad49 | 2018-09-13 12:49:16 -0700 | [diff] [blame] | 32 | "service_manager.cpp", |
Steven Moreland | 2e87adc | 2018-08-20 19:47:00 -0700 | [diff] [blame] | 33 | ], |
| 34 | |
| 35 | shared_libs: [ |
Steven Moreland | 02f7565 | 2018-09-18 14:08:30 -0700 | [diff] [blame] | 36 | "libandroid_runtime", |
Steven Moreland | 2e87adc | 2018-08-20 19:47:00 -0700 | [diff] [blame] | 37 | "libbase", |
| 38 | "libbinder", |
| 39 | "libutils", |
| 40 | ], |
| 41 | } |
Steven Moreland | eb0e9cc | 2018-08-29 01:52:09 -0700 | [diff] [blame] | 42 | |
| 43 | ndk_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 | |
| 53 | ndk_library { |
| 54 | name: "libbinder_ndk", |
| 55 | symbol_file: "libbinder_ndk.map.txt", |
| 56 | first_version: "29", |
| 57 | } |