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 | |
Steven Moreland | b8cfad5 | 2019-01-09 13:07:00 -0800 | [diff] [blame^] | 26 | cflags: [ |
| 27 | "-Wall", |
| 28 | "-Wextra", |
| 29 | "-Werror", |
| 30 | ], |
Steven Moreland | 763dc4c | 2018-12-12 11:30:06 -0800 | [diff] [blame] | 31 | |
Steven Moreland | 2e87adc | 2018-08-20 19:47:00 -0700 | [diff] [blame] | 32 | srcs: [ |
Steven Moreland | 4d5ad49 | 2018-09-13 12:49:16 -0700 | [diff] [blame] | 33 | "ibinder.cpp", |
Steven Moreland | 02f7565 | 2018-09-18 14:08:30 -0700 | [diff] [blame] | 34 | "ibinder_jni.cpp", |
Steven Moreland | 4d5ad49 | 2018-09-13 12:49:16 -0700 | [diff] [blame] | 35 | "parcel.cpp", |
| 36 | "process.cpp", |
Steven Moreland | 5d62e44 | 2018-09-13 15:01:02 -0700 | [diff] [blame] | 37 | "status.cpp", |
Steven Moreland | 4d5ad49 | 2018-09-13 12:49:16 -0700 | [diff] [blame] | 38 | "service_manager.cpp", |
Steven Moreland | 2e87adc | 2018-08-20 19:47:00 -0700 | [diff] [blame] | 39 | ], |
| 40 | |
| 41 | shared_libs: [ |
Steven Moreland | 02f7565 | 2018-09-18 14:08:30 -0700 | [diff] [blame] | 42 | "libandroid_runtime", |
Steven Moreland | 2e87adc | 2018-08-20 19:47:00 -0700 | [diff] [blame] | 43 | "libbase", |
| 44 | "libbinder", |
| 45 | "libutils", |
| 46 | ], |
dimitry | b2cf95d | 2018-10-31 14:56:29 +0100 | [diff] [blame] | 47 | |
| 48 | version_script: "libbinder_ndk.map.txt", |
Dongwon Kang | c45ac09 | 2018-12-11 21:59:02 +0000 | [diff] [blame] | 49 | stubs: { |
| 50 | symbol_file: "libbinder_ndk.map.txt", |
| 51 | versions: ["29"], |
| 52 | }, |
Steven Moreland | 2e87adc | 2018-08-20 19:47:00 -0700 | [diff] [blame] | 53 | } |
Steven Moreland | eb0e9cc | 2018-08-29 01:52:09 -0700 | [diff] [blame] | 54 | |
| 55 | ndk_headers { |
| 56 | name: "libbinder_ndk_headers", |
| 57 | from: "include_ndk/android", |
| 58 | to: "android", |
| 59 | srcs: [ |
| 60 | "include_ndk/android/*.h", |
| 61 | ], |
| 62 | license: "NOTICE", |
Dan Albert | 9cdf689 | 2018-11-28 14:33:04 -0800 | [diff] [blame] | 63 | draft: true, |
Steven Moreland | eb0e9cc | 2018-08-29 01:52:09 -0700 | [diff] [blame] | 64 | } |
| 65 | |
| 66 | ndk_library { |
| 67 | name: "libbinder_ndk", |
| 68 | symbol_file: "libbinder_ndk.map.txt", |
| 69 | first_version: "29", |
Dan Albert | 9cdf689 | 2018-11-28 14:33:04 -0800 | [diff] [blame] | 70 | draft: true, |
Steven Moreland | eb0e9cc | 2018-08-29 01:52:09 -0700 | [diff] [blame] | 71 | } |