• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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#
16
17LOCAL_PATH := $(call my-dir)
18
19include $(CLEAR_VARS)
20LOCAL_MODULE := vts_shell_driver
21LOCAL_MODULE_STEM_64 := vts_shell_driver64
22LOCAL_MODULE_STEM_32 := vts_shell_driver32
23LOCAL_MODULE_TAGS := optional
24
25LOCAL_SRC_FILES := \
26  ShellDriver.cpp \
27  ShellDriverMain.cpp \
28
29LOCAL_SHARED_LIBRARIES := \
30  libutils \
31  libcutils \
32  libvts_multidevice_proto \
33  libprotobuf-cpp-full \
34  libvts_drivercomm \
35
36LOCAL_C_INCLUDES += \
37  test/vts/proto \
38  test/vts/drivers/libdrivercomm \
39  external/protobuf/src \
40
41LOCAL_CFLAGS := -Werror -Wall
42
43LOCAL_MULTILIB := both
44
45include $(BUILD_EXECUTABLE)
46
47
48include $(CLEAR_VARS)
49LOCAL_MODULE := vts_shell_driver_test
50LOCAL_MODULE_TAGS := optional
51
52LOCAL_SRC_FILES := \
53  ShellDriver.cpp \
54  ShellDriverTest.cpp \
55
56LOCAL_SHARED_LIBRARIES := \
57  libutils \
58  libcutils \
59  libvts_multidevice_proto \
60  libprotobuf-cpp-full \
61  libvts_drivercomm \
62
63LOCAL_C_INCLUDES += \
64  test/vts/proto \
65  test/vts/drivers/libdrivercomm \
66  external/protobuf/src \
67
68LOCAL_CFLAGS := -Werror -Wall
69
70include $(BUILD_NATIVE_TEST)
71