| paulhu | 73a8203 | 2021-11-18 15:29:03 +0800 | [diff] [blame] | 1 | // | 
|  | 2 | // Copyright (C) 2021 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 |  | 
| paulhu | 66f61ac | 2021-12-14 23:09:55 +0800 | [diff] [blame] | 17 | filegroup { | 
|  | 18 | name: "framework-connectivity-tiramisu-updatable-sources", | 
|  | 19 | srcs: [ | 
| Remi NGUYEN VAN | 5b54607 | 2022-04-22 18:17:00 +0900 | [diff] [blame] | 20 | "src/**/*.java", | 
|  | 21 | "src/**/*.aidl", | 
| Junyu Lai | ad166b4 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 22 | ], | 
| Remi NGUYEN VAN | 5b54607 | 2022-04-22 18:17:00 +0900 | [diff] [blame] | 23 | path: "src", | 
| paulhu | 66f61ac | 2021-12-14 23:09:55 +0800 | [diff] [blame] | 24 | visibility: [ | 
|  | 25 | "//frameworks/base", | 
|  | 26 | "//packages/modules/Connectivity:__subpackages__", | 
|  | 27 | ], | 
| paulhu | e46555d | 2021-11-23 16:16:13 +0800 | [diff] [blame] | 28 | } | 
| Lorenzo Colitti | d2ae739 | 2022-01-29 21:07:33 +0900 | [diff] [blame] | 29 |  | 
|  | 30 | cc_library_shared { | 
|  | 31 | name: "libframework-connectivity-tiramisu-jni", | 
|  | 32 | min_sdk_version: "30", | 
|  | 33 | cflags: [ | 
|  | 34 | "-Wall", | 
|  | 35 | "-Werror", | 
|  | 36 | "-Wno-unused-parameter", | 
|  | 37 | // Don't warn about S API usage even with | 
|  | 38 | // min_sdk 30: the library is only loaded | 
|  | 39 | // on S+ devices | 
|  | 40 | "-Wno-unguarded-availability", | 
|  | 41 | "-Wthread-safety", | 
|  | 42 | ], | 
|  | 43 | srcs: [ | 
|  | 44 | "jni/android_net_TrafficStats.cpp", | 
|  | 45 | "jni/onload.cpp", | 
|  | 46 | ], | 
|  | 47 | shared_libs: [ | 
| Remi NGUYEN VAN | a24baed | 2022-02-02 13:22:57 +0900 | [diff] [blame] | 48 | "libandroid", | 
| Lorenzo Colitti | d2ae739 | 2022-01-29 21:07:33 +0900 | [diff] [blame] | 49 | "liblog", | 
| Remi NGUYEN VAN | a24baed | 2022-02-02 13:22:57 +0900 | [diff] [blame] | 50 | "libnativehelper", | 
| Lorenzo Colitti | d2ae739 | 2022-01-29 21:07:33 +0900 | [diff] [blame] | 51 | ], | 
|  | 52 | stl: "none", | 
|  | 53 | apex_available: [ | 
|  | 54 | "com.android.tethering", | 
| Lorenzo Colitti | d2ae739 | 2022-01-29 21:07:33 +0900 | [diff] [blame] | 55 | ], | 
|  | 56 | } |