blob: 114f1ebb2da0d46041374cf3c8a646ee46e939ab [file] [log] [blame]
Vishnu Nair4df8eb62022-02-17 15:32:02 -08001// Copyright (C) 2022 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_binary {
16 name: "layertracegenerator",
17 defaults: [
18 "libsurfaceflinger_mocks_defaults",
19 "surfaceflinger_defaults",
20 "skia_renderengine_deps",
21 ],
22 srcs: [
23 ":libsurfaceflinger_sources",
24 ":libsurfaceflinger_mock_sources",
25 ":layertracegenerator_sources",
26 "main.cpp",
27 ],
28 static_libs: [
29 "libgtest",
30 ],
31 header_libs: [
32 "libsurfaceflinger_mocks_headers",
33 ],
34}
35
36filegroup {
37 name: "layertracegenerator_sources",
38 srcs: [
39 "LayerTraceGenerator.cpp",
40 ],
41}
42
43cc_library_headers {
44 name: "layertracegenerator_headers",
45 export_include_dirs: ["."],
46}