1// Copyright (C) 2019 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19cc_library { 20 name: "computepipe_runner_engine", 21 srcs: [ 22 "ConfigBuilder.cpp", 23 "DefaultEngine.cpp", 24 "Factory.cpp", 25 ], 26 export_include_dirs: ["include"], 27 header_libs: [ 28 "computepipe_runner_includes", 29 ], 30 static_libs: [ 31 "libcomputepipeprotos", 32 "computepipe_runner_component", 33 "computepipe_input_manager", 34 "computepipe_stream_manager", 35 ], 36 shared_libs: [ 37 "android.hardware.automotive.evs@1.0", 38 "computepipe_client_interface", 39 "computepipe_prebuilt_graph", 40 "computepipe_runner_display", 41 "libbase", 42 "libcutils", 43 "libdl", 44 "libevssupport", 45 "libhardware", 46 "libhidlbase", 47 "liblog", 48 "libmediandk", 49 "libnativewindow", 50 "libpng", 51 "libprotobuf-cpp-lite", 52 "libui", 53 "libutils", 54 "libEGL", 55 "libGLESv2", 56 ], 57 cflags: [ 58 "-D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS", 59 "-Wall", 60 "-Werror", 61 "-Wunused", 62 "-Wunreachable-code", 63 "-Wthread-safety", 64 ], 65 include_dirs: [ 66 "packages/services/Car/cpp/computepipe", 67 ], 68} 69