Vishnu Nair | 4df8eb6 | 2022-02-17 15:32:02 -0800 | [diff] [blame] | 1 | // 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 Badour | 49630f6 | 2022-02-24 11:43:25 -0800 | [diff] [blame] | 15 | package { |
| 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 Nair | 4df8eb6 | 2022-02-17 15:32:02 -0800 | [diff] [blame] | 24 | cc_binary { |
| 25 | name: "layertracegenerator", |
| 26 | defaults: [ |
| 27 | "libsurfaceflinger_mocks_defaults", |
Nolan Scobie | 8ef7e14 | 2022-10-14 10:52:43 -0400 | [diff] [blame] | 28 | "librenderengine_deps", |
Vishnu Nair | 4df8eb6 | 2022-02-17 15:32:02 -0800 | [diff] [blame] | 29 | "surfaceflinger_defaults", |
Vishnu Nair | 4df8eb6 | 2022-02-17 15:32:02 -0800 | [diff] [blame] | 30 | ], |
| 31 | srcs: [ |
| 32 | ":libsurfaceflinger_sources", |
| 33 | ":libsurfaceflinger_mock_sources", |
Vishnu Nair | 4df8eb6 | 2022-02-17 15:32:02 -0800 | [diff] [blame] | 34 | "main.cpp", |
| 35 | ], |
| 36 | static_libs: [ |
| 37 | "libgtest", |
| 38 | ], |
| 39 | header_libs: [ |
| 40 | "libsurfaceflinger_mocks_headers", |
| 41 | ], |
| 42 | } |