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