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: "librecovery_ui", 17 recovery_available: true, 18 19 defaults: [ 20 "recovery_defaults", 21 ], 22 23 srcs: [ 24 "device.cpp", 25 "screen_ui.cpp", 26 "ui.cpp", 27 "vr_ui.cpp", 28 "wear_ui.cpp", 29 ], 30 31 export_include_dirs: ["include"], 32 33 static_libs: [ 34 "libminui", 35 "libotautil", 36 ], 37 38 shared_libs: [ 39 "libbase", 40 "libpng", 41 "libz", 42 ], 43} 44 45// Generic device that uses ScreenRecoveryUI. 46cc_library_static { 47 name: "librecovery_ui_default", 48 recovery_available: true, 49 50 defaults: [ 51 "recovery_defaults", 52 ], 53 54 srcs: [ 55 "default_device.cpp", 56 ], 57 58 export_include_dirs: ["include"], 59} 60 61// The default wear device that uses WearRecoveryUI. 62cc_library_static { 63 name: "librecovery_ui_wear", 64 recovery_available: true, 65 66 defaults: [ 67 "recovery_defaults", 68 ], 69 70 srcs: [ 71 "wear_device.cpp", 72 ], 73 74 export_include_dirs: ["include"], 75} 76 77// The default VR device that uses VrRecoveryUI. 78cc_library_static { 79 name: "librecovery_ui_vr", 80 recovery_available: true, 81 82 defaults: [ 83 "recovery_defaults", 84 ], 85 86 srcs: [ 87 "vr_device.cpp", 88 ], 89 90 export_include_dirs: ["include"], 91} 92