blob: efdc6580dbab363aa287accd3a1bf8256c4607be [file] [log] [blame]
Xusong Wang5ec59392022-03-28 12:17:59 -07001/*
2 * Copyright 2022 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
17package {
Bob Badour0c8e76d2022-04-07 21:13:28 -070018 default_applicable_licenses: ["external_renderscript_intrinsics_replacement_toolkit_license"],
19}
20
21// See: http://go/android-license-faq
22license {
23 name: "external_renderscript_intrinsics_replacement_toolkit_license",
24 visibility: [":__subpackages__"],
25 license_kinds: [
26 "SPDX-license-identifier-Apache-2.0",
27 ],
28 license_text: ["LICENSE"],
Xusong Wang5ec59392022-03-28 12:17:59 -070029}
30
31android_library {
32 name: "renderscript_toolkit",
33 sdk_version: "current",
34 min_sdk_version: "14",
35 srcs: [
36 "renderscript-toolkit/src/main/java/**/*.kt",
37 ],
38 manifest: "renderscript-toolkit/src/main/AndroidManifest.xml",
39}
40
41android_app {
42 name: "renderscript_toolkit_test_app",
43 sdk_version: "current",
44 min_sdk_version: "21",
45 srcs: ["test-app/src/main/java/**/*.kt"],
46 jni_libs: ["librenderscript-toolkit"],
47 manifest: "test-app/src/main/AndroidManifest.xml",
48 resource_dirs: ["test-app/src/main/res"],
49 static_libs: [
50 "androidx.appcompat_appcompat",
51 "androidx.core_core-ktx",
52 "com.google.android.material_material",
53 "renderscript_toolkit",
54 ],
55 use_embedded_native_libs: true,
56}