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_stream_manager",
21    srcs: [
22        "Factory.cpp",
23        "PixelStreamManager.cpp",
24        "SemanticManager.cpp",
25    ],
26    export_include_dirs: ["include"],
27    visibility: [
28        "//packages/services/Car/cpp/computepipe/runner:__subpackages__",
29        "//packages/services/Car/cpp/computepipe/tests:__subpackages__",
30    ],
31    header_libs: [
32        "computepipe_runner_includes",
33    ],
34    static_libs: [
35        "libcomputepipeprotos",
36    ],
37    shared_libs: [
38        "libbase",
39        "computepipe_runner_component",
40        "libbase",
41        "libnativewindow",
42    ],
43    include_dirs: [
44        "packages/services/Car/cpp/computepipe",
45    ],
46}
47
48cc_library {
49    name: "mock_stream_engine_interface",
50    srcs: [
51        "MockEngine.cpp",
52    ],
53    visibility: [
54        "//packages/services/Car/cpp/computepipe/runner:__subpackages__",
55        "//packages/services/Car/cpp/computepipe/tests:__subpackages__",
56    ],
57    header_libs: [
58        "computepipe_runner_includes",
59    ],
60    static_libs: [
61        "libgtest",
62        "libgmock",
63        "libcomputepipeprotos",
64    ],
65    shared_libs: [
66        "computepipe_runner_component",
67        "computepipe_stream_manager",
68        "libbase",
69        "libnativewindow",
70    ],
71    include_dirs: [
72        "packages/services/Car/cpp/computepipe",
73    ],
74}
75