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_prebuilt_graph", 21 22 cflags: [ 23 "-Wall", 24 "-Werror", 25 "-Wextra", 26 "-Wno-unused-parameter", 27 ], 28 29 export_include_dirs: ["include"], 30 static_libs: [ 31 "computepipe_runner_component", 32 ], 33 34 header_libs: ["computepipe_runner_includes"], 35 include_dirs: [ 36 "packages/services/Car/cpp/computepipe", 37 "packages/services/Car/cpp/computepipe/runner/graph", 38 ], 39 40 shared_libs: [ 41 "libcomputepipeprotos", 42 "libbase", 43 "libdl", 44 "liblog", 45 "libutils", 46 ], 47 48 srcs: [ 49 "LocalPrebuiltGraph.cpp", 50 ], 51} 52 53cc_library { 54 name: "computepipe_grpc_graph", 55 56 cflags: [ 57 "-Wall", 58 "-Werror", 59 "-Wextra", 60 "-Wno-unused-parameter", 61 ], 62 63 export_include_dirs: ["include"], 64 static_libs: [ 65 "computepipe_runner_component", 66 "computepipe_grpc_graph_proto", 67 ], 68 69 header_libs: ["computepipe_runner_includes"], 70 include_dirs: [ 71 "packages/services/Car/cpp/computepipe", 72 "packages/services/Car/cpp/computepipe/runner/graph", 73 ], 74 75 shared_libs: [ 76 "libbase", 77 "libcomputepipeprotos", 78 "libdl", 79 "libgrpc++", 80 "liblog", 81 "libutils", 82 "libprotobuf-cpp-full", 83 ], 84 85 srcs: [ 86 "GrpcGraph.cpp", 87 "StreamSetObserver.cpp", 88 ], 89} 90