Merge "Migrate Dev Tools Build to Soong"
This commit is contained in:
56
apps/Development/Android.bp
Normal file
56
apps/Development/Android.bp
Normal file
@@ -0,0 +1,56 @@
|
||||
//
|
||||
// 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: ["development_app_development_license"],
|
||||
}
|
||||
|
||||
license {
|
||||
name: "development_app_development_license",
|
||||
visibility: [":__subpackages__"],
|
||||
license_kinds: [
|
||||
"SPDX-license-identifier-Apache-2.0",
|
||||
],
|
||||
license_text: [
|
||||
"NOTICE",
|
||||
],
|
||||
}
|
||||
|
||||
android_app {
|
||||
name: "Development",
|
||||
|
||||
libs: [
|
||||
"android.test.runner.stubs",
|
||||
"org.apache.http.legacy",
|
||||
"telephony-common",
|
||||
],
|
||||
|
||||
uses_libs: [
|
||||
"android.test.runner",
|
||||
],
|
||||
|
||||
optional_uses_libs: [
|
||||
"org.apache.http.legacy",
|
||||
],
|
||||
|
||||
srcs: [
|
||||
"**/*.java",
|
||||
"src/com/android/development/IRemoteService.aidl",
|
||||
],
|
||||
|
||||
platform_apis: true,
|
||||
certificate: "platform",
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
LOCAL_JAVA_LIBRARIES := android.test.runner.stubs telephony-common org.apache.http.legacy
|
||||
|
||||
LOCAL_USES_LIBRARIES := android.test.runner
|
||||
LOCAL_OPTIONAL_USES_LIBRARIES := org.apache.http.legacy android.test.base android.test.mock
|
||||
|
||||
LOCAL_SRC_FILES := $(call all-subdir-java-files) \
|
||||
src/com/android/development/IRemoteService.aidl \
|
||||
|
||||
LOCAL_PACKAGE_NAME := Development
|
||||
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
||||
LOCAL_LICENSE_CONDITIONS := notice
|
||||
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE
|
||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||
LOCAL_CERTIFICATE := platform
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
Reference in New Issue
Block a user