1#
2# Copyright (C) 2016 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#
16LOCAL_PATH := $(call my-dir)
17
18include $(CLEAR_VARS)
19
20LOCAL_MODULE := vts_test_binary_crash_app
21LOCAL_MODULE_TAGS := optional
22
23LOCAL_SRC_FILES := \
24  crash_app.c \
25
26LOCAL_SHARED_LIBRARIES := \
27  libutils \
28  libcutils \
29  liblog \
30
31LOCAL_C_INCLUDES += \
32  bionic \
33
34LOCAL_CFLAGS := -Werror -Wall
35
36include $(BUILD_EXECUTABLE)
37
38include $(CLEAR_VARS)
39
40LOCAL_MODULE := vts_test_binary_seg_fault
41LOCAL_MODULE_TAGS := optional
42
43LOCAL_SRC_FILES := \
44  seg_fault.c \
45
46LOCAL_SHARED_LIBRARIES := \
47  libutils \
48  libcutils \
49  liblog \
50
51LOCAL_C_INCLUDES += \
52  bionic \
53
54LOCAL_CFLAGS := -Werror -Wall
55
56include $(BUILD_EXECUTABLE)
57
58include $(CLEAR_VARS)
59
60LOCAL_MODULE := ShellBinaryCrashTest
61include test/vts/tools/build/Android.host_config.mk
62