Makefile文件  |  56行  |  1.31 KB

#
# Copyright (C) 2014 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.
#

include $(CLEAR_VARS)

LOCAL_CLANG_arm64 := false
LOCAL_CLANG_mips := false

LOCAL_MODULE := $(test_name)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_NATIVE_TESTS)/$(test_path)

LOCAL_ADDITIONAL_DEPENDENCIES := \
	$(LOCAL_PATH)/Android.test.mk \

LOCAL_CFLAGS := \
	$(jemalloc_common_cflags) \
	$(test_cflags) \
	-include $(LOCAL_PATH)/android/include/libc_logging.h \

LOCAL_C_INCLUDES := \
	$(jemalloc_common_c_includes) \
	$(LOCAL_PATH)/test/src \
	$(LOCAL_PATH)/test/include \

LOCAL_SRC_FILES := \
	$(test_src) \

LOCAL_STATIC_LIBRARIES := \
	$(test_libs) \

LOCAL_SHARED_LIBRARIES := \
	libc \
	liblog \
	libm \

include $(BUILD_EXECUTABLE)
test_name :=
test_src :=
test_cflags :=
test_libs :=
test_path :=