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_client_interface",
17    srcs: [
18        "AidlClient.cpp",
19        "AidlClientImpl.cpp",
20        "DebuggerImpl.cpp",
21        "Factory.cpp",
22        "PipeOptionsConverter.cpp",
23        "StatusUtil.cpp",
24    ],
25    export_include_dirs: ["include"],
26    header_libs: [
27        "computepipe_runner_includes",
28    ],
29    static_libs: [
30        "libcomputepipeprotos",
31    ],
32    shared_libs: [
33        "computepipe_runner_component",
34        "libbase",
35        "libbinder_ndk",
36        "liblog",
37        "libnativewindow",
38        "libutils",
39        "android.automotive.computepipe.runner-ndk_platform",
40        "android.automotive.computepipe.registry-ndk_platform",
41        "libprotobuf-cpp-lite",
42    ],
43    include_dirs: [
44        "packages/services/Car/computepipe",
45    ],
46    cflags: ["-DLOG_TAG=\"RunnerIpcInterface\""],
47}
48