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 17cc_binary { 18 name: "vts_shell_driver", 19 multilib: { 20 lib64: { 21 stem: "vts_shell_driver64", 22 }, 23 lib32: { 24 stem: "vts_shell_driver32", 25 }, 26 }, 27 28 srcs: [ 29 "ShellDriver.cpp", 30 "ShellDriverMain.cpp", 31 ], 32 33 shared_libs: [ 34 "libbase", 35 "libutils", 36 "libcutils", 37 "libvts_multidevice_proto", 38 "libprotobuf-cpp-full", 39 "libvts_drivercomm", 40 ], 41 42 include_dirs: [ 43 "test/vts/proto", 44 "test/vts/drivers/libdrivercomm", 45 "external/protobuf/src", 46 ], 47 48 cflags: [ 49 "-Werror", 50 "-Wall", 51 ], 52 53 compile_multilib: "both", 54} 55 56cc_test { 57 name: "vts_shell_driver_test", 58 59 srcs: [ 60 "ShellDriver.cpp", 61 "ShellDriverTest.cpp", 62 ], 63 64 shared_libs: [ 65 "libbase", 66 "libutils", 67 "libcutils", 68 "libvts_multidevice_proto", 69 "libprotobuf-cpp-full", 70 "libvts_drivercomm", 71 ], 72 73 include_dirs: [ 74 "test/vts/proto", 75 "test/vts/drivers/libdrivercomm", 76 "external/protobuf/src", 77 ], 78 79 cflags: [ 80 "-Werror", 81 "-Wall", 82 ], 83} 84