blob: 866a87e14a336c470057c1c829d6452817636d29 [file] [log] [blame]
micky3875e402d52025-06-19 17:56:47 -04001cc_library_static {
2 name: "libtigervnc",
3
4 srcs: [
5 "os/Mutex.cxx",
6 "os/Thread.cxx",
7 "os/os.cxx",
8 "rdr/Exception.cxx",
9 "rdr/FdInStream.cxx",
10 "rdr/FdOutStream.cxx",
11 "rdr/FileInStream.cxx",
12 "rdr/HexInStream.cxx",
13 "rdr/HexOutStream.cxx",
14 "rdr/InStream.cxx",
15 "rdr/RandomStream.cxx",
16 "rdr/TLSException.cxx",
17 "rdr/TLSInStream.cxx",
18 "rdr/TLSOutStream.cxx",
19 "rdr/ZlibInStream.cxx",
20 "rdr/ZlibOutStream.cxx",
21 "network/Socket.cxx",
22 "network/TcpSocket.cxx",
23 "Xregion/Region.c",
24 ] + [
25 "rfb/Blacklist.cxx",
26 "rfb/CConnection.cxx",
27 "rfb/ClientParams.cxx",
28 "rfb/CMsgHandler.cxx",
29 "rfb/CMsgReader.cxx",
30 "rfb/CMsgWriter.cxx",
31 "rfb/CSecurityPlain.cxx",
32 "rfb/CSecurityStack.cxx",
33 "rfb/CSecurityVeNCrypt.cxx",
34 "rfb/CSecurityVncAuth.cxx",
35 "rfb/ComparingUpdateTracker.cxx",
36 "rfb/Configuration.cxx",
37 "rfb/Congestion.cxx",
38 "rfb/CopyRectDecoder.cxx",
39 "rfb/Cursor.cxx",
40 "rfb/DecodeManager.cxx",
41 "rfb/Decoder.cxx",
42 "rfb/d3des.c",
43 "rfb/EncodeManager.cxx",
44 "rfb/Encoder.cxx",
45 "rfb/HextileDecoder.cxx",
46 "rfb/HextileEncoder.cxx",
47 "rfb/JpegCompressor.cxx",
48 "rfb/JpegDecompressor.cxx",
49 "rfb/KeyRemapper.cxx",
50 "rfb/LogWriter.cxx",
51 "rfb/Logger.cxx",
52 "rfb/Logger_file.cxx",
53 "rfb/Logger_stdio.cxx",
54 "rfb/Password.cxx",
55 "rfb/PixelBuffer.cxx",
56 "rfb/PixelFormat.cxx",
57 "rfb/RREEncoder.cxx",
58 "rfb/RREDecoder.cxx",
59 "rfb/RawDecoder.cxx",
60 "rfb/RawEncoder.cxx",
61 "rfb/Region.cxx",
62 "rfb/SConnection.cxx",
63 "rfb/SMsgHandler.cxx",
64 "rfb/SMsgReader.cxx",
65 "rfb/SMsgWriter.cxx",
66 "rfb/ServerCore.cxx",
67 "rfb/Security.cxx",
68 "rfb/SecurityServer.cxx",
69 "rfb/SecurityClient.cxx",
70 "rfb/SSecurityPlain.cxx",
71 "rfb/SSecurityStack.cxx",
72 "rfb/SSecurityVncAuth.cxx",
73 "rfb/SSecurityVeNCrypt.cxx",
74 "rfb/ScaleFilters.cxx",
75 "rfb/Timer.cxx",
76 "rfb/TightDecoder.cxx",
77 "rfb/TightEncoder.cxx",
78 "rfb/TightJPEGEncoder.cxx",
79 "rfb/UpdateTracker.cxx",
80 "rfb/VNCSConnectionST.cxx",
81 "rfb/VNCServerST.cxx",
82 "rfb/ZRLEEncoder.cxx",
83 "rfb/ZRLEDecoder.cxx",
84 "rfb/encodings.cxx",
85 "rfb/util.cxx",
86 "rfb/Logger_android.cxx",
87 ],
88
89 local_include_dirs: ["."],
90
91 cflags: [
92 "-Ofast",
93 "-Wall",
94 "-Wformat=2",
95 "-DNDEBUG",
96 "-UNDEBUG",
97 "-Werror",
98 ] + [
99 "-Wno-unused-parameter",
100 "-Wno-implicit-fallthrough",
101 ],
102
103 cppflags: [
104 "-std=c++11",
105 "-fexceptions",
106 "-frtti",
107 ],
108
109 shared_libs: [
110 "libjpeg",
111 "libz",
112 ],
113
114}