OSDN Git Service

dalvik: return positive hash code in Dalvik with Houdini
[android-x86/dalvik.git] / unit-tests / Android.mk
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
17 LOCAL_PATH := $(call my-dir)
18
19 test_module = dalvik-vm-unit-tests
20 test_tags = eng tests
21
22 test_src_files = \
23     dvmHumanReadableDescriptor_test.cpp \
24     
25 test_c_includes = \
26     dalvik \
27     dalvik/vm \
28
29 # Build for the device. Run with:
30 #   adb shell /data/nativetest/dalvik-vm-unit-tests/dalvik-vm-unit-tests
31 include $(CLEAR_VARS)
32 LOCAL_CFLAGS += -DANDROID_SMP=1
33 LOCAL_C_INCLUDES += $(test_c_includes)
34 LOCAL_MODULE := $(test_module)
35 LOCAL_MODULE_TAGS := $(test_tags)
36 LOCAL_SRC_FILES := $(test_src_files)
37 LOCAL_SHARED_LIBRARIES += libcutils libdvm
38 include $(BUILD_NATIVE_TEST)
39
40 # Build for the host.
41 # TODO: BUILD_HOST_NATIVE_TEST doesn't work yet; STL-related compile-time and
42 # run-time failures, presumably astl/stlport/genuine host STL confusion.
43 #include $(CLEAR_VARS)
44 #LOCAL_C_INCLUDES += $(test_c_includes)
45 #LOCAL_MODULE := $(test_module)
46 #LOCAL_MODULE_TAGS := $(test_tags)
47 #LOCAL_SRC_FILES := $(test_src_files)
48 #LOCAL_SHARED_LIBRARIES += libdvm libcrypto libssl libicuuc libicui18n
49 #LOCAL_WHOLE_STATIC_LIBRARIES += libcutils liblog libdvm
50 #include $(BUILD_HOST_NATIVE_TEST)