blob: e35dd811bc9b526244d57b9f9c799a78bbbb52d9 [file] [edit]
// Copyright (C) 2025 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
cc_library_shared {
name: "libhidden_api_app_test_jni",
srcs: ["jni.cc"],
shared_libs: ["liblog"],
header_libs: ["jni_headers"],
}
// Test that runs in hiddenapi app domain with api=max-target-p.
android_test {
name: "HiddenApiSdk28AppTests",
min_sdk_version: "28",
target_sdk_version: "28",
srcs: ["src/**/*.java"],
static_libs: ["androidx.test.runner"],
jni_libs: ["libhidden_api_app_test_jni"],
test_config: "HiddenApiSdk28AppTests.xml",
test_suites: ["general-tests"],
}