blob: e8fe734a8fdbed879c8437f1d5a433a48b0acad1 [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
Bob Badour49630f62022-02-24 11:43:25 -080015package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_native_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_native_license"],
22}
23
Vishnu Nair4df8eb62022-02-17 15:32:02 -080024cc_binary {
25 name: "layertracegenerator",
26 defaults: [
27 "libsurfaceflinger_mocks_defaults",
28 "surfaceflinger_defaults",
29 "skia_renderengine_deps",
30 ],
31 srcs: [
32 ":libsurfaceflinger_sources",
33 ":libsurfaceflinger_mock_sources",
34 ":layertracegenerator_sources",
35 "main.cpp",
36 ],
37 static_libs: [
38 "libgtest",
39 ],
40 header_libs: [
41 "libsurfaceflinger_mocks_headers",
42 ],
43}
44
45filegroup {
46 name: "layertracegenerator_sources",
47 srcs: [
48 "LayerTraceGenerator.cpp",
49 ],
50}
51
52cc_library_headers {
53 name: "layertracegenerator_headers",
54 export_include_dirs: ["."],
55}