Rashed Abdel-Tawab | 703249a | 2018-08-09 16:47:40 -0700 | [diff] [blame] | 1 | // |
Sam Mortimer | 07564a9 | 2020-09-12 00:07:06 -0700 | [diff] [blame] | 2 | // Copyright (C) 2018-2020 The LineageOS Project |
Rashed Abdel-Tawab | 703249a | 2018-08-09 16:47:40 -0700 | [diff] [blame] | 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_shared { |
Sam Mortimer | e8814c5 | 2019-09-05 14:07:27 -0700 | [diff] [blame] | 18 | name: "liblineage-sdk_platform_jni", |
Rashed Abdel-Tawab | 703249a | 2018-08-09 16:47:40 -0700 | [diff] [blame] | 19 | srcs: [ |
| 20 | "src/org_lineageos_platform_internal_LineageAudioService.cpp", |
| 21 | "src/onload.cpp", |
| 22 | ], |
| 23 | |
| 24 | include_dirs: [ |
| 25 | "frameworks/base/core/jni", |
| 26 | "frameworks/av/include", |
| 27 | "hardware/libhardware/include", |
Rashed Abdel-Tawab | 703249a | 2018-08-09 16:47:40 -0700 | [diff] [blame] | 28 | ], |
| 29 | |
| 30 | shared_libs: [ |
| 31 | "libandroid_runtime", |
| 32 | "libaudioclient", |
| 33 | "libcutils", |
| 34 | "libhardware", |
| 35 | "liblog", |
| 36 | "libmedia", |
| 37 | "libutils", |
| 38 | ], |
| 39 | |
Bruno Martins | 063a591 | 2020-09-20 19:35:27 +0100 | [diff] [blame] | 40 | header_libs: [ |
| 41 | "jni_headers", |
| 42 | ], |
| 43 | |
Rashed Abdel-Tawab | 703249a | 2018-08-09 16:47:40 -0700 | [diff] [blame] | 44 | cflags: [ |
| 45 | "-Wall", |
| 46 | "-Werror", |
| 47 | "-Wno-unused-parameter", |
| 48 | ], |
| 49 | } |