Android.mk revision 98c3592ce74e1a516e7a2b93b82525c92918b0e4
1#
2# Copyright (C) 2010 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15# Copyright The Android Open Source Project
16
17LOCAL_PATH := $(call my-dir)
18
19test_module = dalvik-vm-unit-tests
20test_tags = eng tests
21
22test_src_files = \
23    dvmHumanReadableDescriptor_test.cpp \
24
25
26# Build for the device. Run with:
27#   adb shell /data/nativetest/dalvik-vm-unit-tests/dalvik-vm-unit-tests
28include $(CLEAR_VARS)
29LOCAL_MODULE := $(test_module)
30LOCAL_MODULE_TAGS := $(test_tags)
31LOCAL_SRC_FILES := $(test_src_files)
32LOCAL_SHARED_LIBRARIES += libcutils libutils libdvm
33include $(BUILD_NATIVE_TEST)
34
35# Build for the host.
36# TODO: BUILD_HOST_NATIVE_TEST doesn't work yet; STL-related compile-time and
37# run-time failures, presumably astl/stlport/genuine host STL confusion.
38#include $(CLEAR_VARS)
39#LOCAL_MODULE := $(test_module)
40#LOCAL_MODULE_TAGS := $(test_tags)
41#LOCAL_SRC_FILES := $(test_src_files)
42#LOCAL_SHARED_LIBRARIES += libdvm libcrypto libssl libicuuc libicui18n
43#LOCAL_WHOLE_STATIC_LIBRARIES += libcutils libutils liblog libdvm
44#include $(BUILD_HOST_NATIVE_TEST)
45