Cody Schuffelen | 134ff03 | 2019-11-22 00:25:32 -0800 | [diff] [blame^] | 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 | |
| 15 | |
| 16 | cc_library_shared { |
| 17 | name: "hwcomposer.cutf_ivsh_ashmem", |
| 18 | relative_install_path: "hw", |
| 19 | defaults: ["cuttlefish_guest_only"], |
| 20 | cflags: [ |
| 21 | "-DGATHER_STATS", |
| 22 | // Uncomment the following line to revert to GL compositions |
| 23 | // "-DUSE_OLD_HWCOMPOSER", |
| 24 | ], |
| 25 | srcs: [ |
| 26 | "vsoc_screen_view.cpp", |
| 27 | "hwcomposer.cpp", |
| 28 | ], |
| 29 | export_include_dirs: ["."], |
| 30 | static_libs: [ |
| 31 | "libyuv_static", |
| 32 | "hwcomposer_common" |
| 33 | ], |
| 34 | shared_libs: [ |
| 35 | "cuttlefish_auto_resources", |
| 36 | "liblog", |
| 37 | "libhardware", |
| 38 | "libbase", |
| 39 | "libcutils", |
| 40 | "libutils", |
| 41 | "libsync", |
| 42 | "libjpeg", |
| 43 | "libcuttlefish_utils", |
| 44 | "libcuttlefish_fs", |
| 45 | "vsoc_lib", |
| 46 | ], |
| 47 | } |