diff options
author | Colin Cross <ccross@android.com> | 2017-01-12 13:28:48 -0800 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2017-03-08 10:35:19 +0000 |
commit | 813230ab1acb8cb89189186a61295adf791ac160 (patch) | |
tree | 184199099ff35518e682c85fb663d975945639c4 /tck-android | |
parent | 027386d6375a3cb34d9934fd952039254831cbc6 (diff) | |
download | objenesis-813230ab1acb8cb89189186a61295adf791ac160.tar.gz |
Fix objenesis makefiles
LOCAL_PATH should always be the path to the Android.mk file, don't
manually set it to a subdirectory.
Partial cherry pick, ignoring changes to new files.
(cherry picked from 403102914cb0a262f5d55735a7d3a8a1f6421e53)
Test: builds
Change-Id: Ib2ad67e383190a4df44a24050b487b2d75ea0936
Merged-In: I8de7331026650ef0888bd0f7a4e751fe80407359
Diffstat (limited to 'tck-android')
-rw-r--r-- | tck-android/Android.mk | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tck-android/Android.mk b/tck-android/Android.mk new file mode 100644 index 0000000..7697f47 --- /dev/null +++ b/tck-android/Android.mk @@ -0,0 +1,33 @@ +# Copyright (C) 2017 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_PATH := $(call my-dir) + +# ------------------------------- +# Builds the deployable Objenesis TCK for Android +# To build and run: +# make APP-ObjenesisTck +# adb install -r out/target/product/generic/data/app/ObjenesisTck.apk +# adb shell am instrument -w org.objenesis.tck.android/.TckInstrumentation + +include $(CLEAR_VARS) +LOCAL_PACKAGE_NAME := ObjenesisTck +LOCAL_MODULE_TAGS := tests +LOCAL_CERTIFICATE := platform + +LOCAL_STATIC_JAVA_LIBRARIES := objenesis-tck-target +LOCAL_SRC_FILES := $(call all-java-files-under, src) +include $(BUILD_PACKAGE) |