blob: c8eb68a805a99147ed812e34bf86a660aca3925a [file] [log] [blame]
Rashed Abdel-Tawab703249a2018-08-09 16:47:40 -07001//
Sam Mortimer07564a92020-09-12 00:07:06 -07002// Copyright (C) 2018-2020 The LineageOS Project
Rashed Abdel-Tawab703249a2018-08-09 16:47:40 -07003//
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_shared {
Sam Mortimere8814c52019-09-05 14:07:27 -070018 name: "liblineage-sdk_platform_jni",
Rashed Abdel-Tawab703249a2018-08-09 16:47:40 -070019 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-Tawab703249a2018-08-09 16:47:40 -070028 ],
29
30 shared_libs: [
31 "libandroid_runtime",
32 "libaudioclient",
33 "libcutils",
34 "libhardware",
35 "liblog",
36 "libmedia",
37 "libutils",
38 ],
39
Bruno Martins063a5912020-09-20 19:35:27 +010040 header_libs: [
41 "jni_headers",
42 ],
43
Rashed Abdel-Tawab703249a2018-08-09 16:47:40 -070044 cflags: [
45 "-Wall",
46 "-Werror",
47 "-Wno-unused-parameter",
48 ],
49}