Migrate LockTaskTests to Soong
Fixes: 203118260 Test: Confirmed apks are installed as expected Test: Treehugger Change-Id: I764c788330da5c1597566ec723b31b7443c51eaf
This commit is contained in:
parent
74b15ca3c5
commit
d9a9509ab3
32
tests/LockTaskTests/Android.bp
Normal file
32
tests/LockTaskTests/Android.bp
Normal file
@ -0,0 +1,32 @@
|
||||
// Copyright (C) 2021 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.
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["frameworks_base_license"],
|
||||
}
|
||||
|
||||
android_app {
|
||||
name: "LockTaskTests",
|
||||
|
||||
privileged: true,
|
||||
|
||||
sdk_version: "current",
|
||||
certificate: "platform",
|
||||
|
||||
srcs: [
|
||||
"src/**/I*.aidl",
|
||||
"src/**/*.java",
|
||||
],
|
||||
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_PATH := $(PRODUCT_OUT)/system/priv-app
|
||||
|
||||
LOCAL_PACKAGE_NAME := LockTaskTests
|
||||
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
||||
LOCAL_LICENSE_CONDITIONS := notice
|
||||
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../NOTICE
|
||||
LOCAL_SDK_VERSION := current
|
||||
LOCAL_CERTIFICATE := platform
|
||||
|
||||
LOCAL_SRC_FILES := $(call all-Iaidl-files-under, src) $(call all-java-files-under, src)
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
# Use the following include to make our test apk.
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
Loading…
x
Reference in New Issue
Block a user