Merge "Convert UiAutomator/Android.mk to Android.bp" am: 34c918d55b
Original change: https://android-review.googlesource.com/c/platform/development/+/1715514 Change-Id: I4a55a1ac94786310df8805229eed9b4eea74b119
This commit is contained in:
29
samples/UiAutomator/Android.bp
Normal file
29
samples/UiAutomator/Android.bp
Normal file
@@ -0,0 +1,29 @@
|
||||
//Copyright (C) 2012 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 {
|
||||
// See: http://go/android-license-faq
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
java_library {
|
||||
name: "uiautomator.samples",
|
||||
installable: true,
|
||||
srcs: ["src/**/*.java"],
|
||||
libs: [
|
||||
"uiautomator.core",
|
||||
"android.test.base.stubs",
|
||||
],
|
||||
static_libs: ["junit"],
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
#Copyright (C) 2012 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.
|
||||
|
||||
local_target_dir := $(TARGET_OUT_DATA)/local/tmp
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
LOCAL_MODULE := uiautomator.samples
|
||||
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
||||
LOCAL_LICENSE_CONDITIONS := notice
|
||||
|
||||
LOCAL_JAVA_LIBRARIES := uiautomator.core android.test.base.stubs
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := junit
|
||||
|
||||
LOCAL_MODULE_PATH := $(local_target_dir)
|
||||
|
||||
include $(BUILD_JAVA_LIBRARY)
|
||||
Reference in New Issue
Block a user