micky387 | d0ee0ea | 2025-06-19 18:21:16 -0400 | [diff] [blame] | 1 | cc_binary { |
| 2 | name: "vncflinger", |
| 3 | |
| 4 | srcs: [ |
| 5 | "src/AndroidDesktop.cpp", |
| 6 | "src/AndroidPixelBuffer.cpp", |
| 7 | "src/InputDevice.cpp", |
| 8 | "src/VirtualDisplay.cpp", |
| 9 | "src/main.cpp", |
| 10 | ], |
| 11 | |
| 12 | include_dirs: ["external/tigervnc/common"], |
| 13 | local_include_dirs: ["src"], |
| 14 | |
| 15 | shared_libs: [ |
| 16 | "libbinder", |
| 17 | "libcrypto", |
| 18 | "libcutils", |
| 19 | "libgui", |
| 20 | "libjpeg", |
| 21 | "libssl", |
| 22 | "libui", |
| 23 | "libutils", |
| 24 | "libz", |
| 25 | "liblog", |
| 26 | ], |
| 27 | |
| 28 | static_libs: ["libtigervnc"], |
| 29 | |
| 30 | cflags: ["-DVNCFLINGER_VERSION=\"0.1\""] + [ |
| 31 | "-Ofast", |
| 32 | "-Werror", |
| 33 | "-fexceptions", |
| 34 | "-Wno-implicit-fallthrough", |
| 35 | ] + ["-DLOG_NDEBUG=0"], |
| 36 | |
| 37 | system_ext_specific: true, |
| 38 | |
| 39 | } |