GuangHui Liu | 3599439 | 2017-05-10 14:37:17 -0700 | [diff] [blame] | 1 | // Copyright (C) 2017 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 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 15 | cc_defaults { |
| 16 | name: "adb_defaults", |
| 17 | |
| 18 | cflags: [ |
| 19 | "-Wall", |
| 20 | "-Wextra", |
| 21 | "-Werror", |
Pirama Arumuga Nainar | 7aa2023 | 2018-06-01 11:31:38 -0700 | [diff] [blame] | 22 | "-Wexit-time-destructors", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 23 | "-Wno-unused-parameter", |
| 24 | "-Wno-missing-field-initializers", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 25 | "-Wthread-safety", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 26 | "-Wvla", |
Bowgo Tsai | 35b817b | 2019-03-12 04:25:33 +0800 | [diff] [blame] | 27 | "-DADB_HOST=1", // overridden by adbd_defaults |
| 28 | "-DALLOW_ADBD_ROOT=0", // overridden by adbd_defaults |
Josh Gao | 90228a6 | 2019-04-25 14:04:57 -0700 | [diff] [blame] | 29 | "-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION=1", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 30 | ], |
Josh Gao | 3edf807 | 2018-11-16 15:40:16 -0800 | [diff] [blame] | 31 | cpp_std: "experimental", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 32 | |
Josh Gao | 66766f8 | 2018-02-27 15:49:23 -0800 | [diff] [blame] | 33 | use_version_lib: true, |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 34 | compile_multilib: "first", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 35 | |
| 36 | target: { |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 37 | darwin: { |
| 38 | host_ldlibs: [ |
| 39 | "-lpthread", |
| 40 | "-framework CoreFoundation", |
| 41 | "-framework IOKit", |
| 42 | "-lobjc", |
| 43 | ], |
| 44 | }, |
| 45 | |
| 46 | windows: { |
| 47 | cflags: [ |
| 48 | // Define windows.h and tchar.h Unicode preprocessor symbols so that |
| 49 | // CreateFile(), _tfopen(), etc. map to versions that take wchar_t*, breaking the |
| 50 | // build if you accidentally pass char*. Fix by calling like: |
| 51 | // std::wstring path_wide; |
| 52 | // if (!android::base::UTF8ToWide(path_utf8, &path_wide)) { /* error handling */ } |
| 53 | // CreateFileW(path_wide.c_str()); |
| 54 | "-DUNICODE=1", |
| 55 | "-D_UNICODE=1", |
| 56 | |
Elliott Hughes | c229a72 | 2018-12-03 09:02:18 -0800 | [diff] [blame] | 57 | // Unlike on Linux, -std=gnu++ doesn't set _GNU_SOURCE on Windows. |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 58 | "-D_GNU_SOURCE", |
Josh Gao | 96049b9 | 2018-03-23 13:03:28 -0700 | [diff] [blame] | 59 | |
| 60 | // MinGW hides some things behind _POSIX_SOURCE. |
| 61 | "-D_POSIX_SOURCE", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 62 | |
Josh Gao | c3b6403 | 2019-04-17 16:57:43 -0700 | [diff] [blame] | 63 | // libusb uses __stdcall on a variadic function, which gets ignored. |
| 64 | "-Wno-ignored-attributes", |
| 65 | |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 66 | // Not supported yet. |
| 67 | "-Wno-thread-safety", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 68 | ], |
Josh Gao | ea7b95a | 2018-03-23 15:37:20 -0700 | [diff] [blame] | 69 | |
| 70 | host_ldlibs: [ |
| 71 | "-lws2_32", |
| 72 | "-lgdi32", |
| 73 | "-luserenv", |
| 74 | ], |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 75 | }, |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 76 | }, |
| 77 | } |
Pirama Arumuga Nainar | 7aa2023 | 2018-06-01 11:31:38 -0700 | [diff] [blame] | 78 | |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 79 | cc_defaults { |
| 80 | name: "adbd_defaults", |
| 81 | defaults: ["adb_defaults"], |
| 82 | |
| 83 | cflags: ["-UADB_HOST", "-DADB_HOST=0"], |
| 84 | product_variables: { |
| 85 | debuggable: { |
Pirama Arumuga Nainar | 7aa2023 | 2018-06-01 11:31:38 -0700 | [diff] [blame] | 86 | cflags: [ |
Bowgo Tsai | 35b817b | 2019-03-12 04:25:33 +0800 | [diff] [blame] | 87 | "-UALLOW_ADBD_ROOT", |
| 88 | "-DALLOW_ADBD_ROOT=1", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 89 | "-DALLOW_ADBD_DISABLE_VERITY", |
| 90 | "-DALLOW_ADBD_NO_AUTH", |
Pirama Arumuga Nainar | 7aa2023 | 2018-06-01 11:31:38 -0700 | [diff] [blame] | 91 | ], |
| 92 | }, |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 93 | }, |
| 94 | } |
| 95 | |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 96 | cc_defaults { |
| 97 | name: "host_adbd_supported", |
| 98 | |
| 99 | host_supported: true, |
| 100 | target: { |
| 101 | linux: { |
| 102 | enabled: true, |
| 103 | host_ldlibs: [ |
| 104 | "-lresolv", // b64_pton |
| 105 | "-lutil", // forkpty |
| 106 | ], |
| 107 | }, |
| 108 | darwin: { |
| 109 | enabled: false, |
| 110 | }, |
| 111 | windows: { |
| 112 | enabled: false, |
| 113 | }, |
| 114 | }, |
| 115 | } |
| 116 | |
Josh Gao | bf5a936 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 117 | // libadbconnection |
| 118 | // ========================================================= |
| 119 | // libadbconnection_client/server implement the socket handling for jdwp |
| 120 | // forwarding and the track-jdwp service. |
| 121 | cc_library { |
| 122 | name: "libadbconnection_server", |
| 123 | srcs: ["adbconnection/adbconnection_server.cpp"], |
| 124 | |
| 125 | export_include_dirs: ["adbconnection/include"], |
| 126 | |
| 127 | stl: "libc++_static", |
| 128 | shared_libs: ["liblog"], |
| 129 | static_libs: ["libbase"], |
| 130 | |
| 131 | defaults: ["adbd_defaults", "host_adbd_supported"], |
| 132 | |
| 133 | // Avoid getting duplicate symbol of android::build::getbuildnumber(). |
| 134 | use_version_lib: false, |
| 135 | |
| 136 | recovery_available: true, |
| 137 | compile_multilib: "both", |
| 138 | } |
| 139 | |
| 140 | cc_library { |
| 141 | name: "libadbconnection_client", |
| 142 | srcs: ["adbconnection/adbconnection_client.cpp"], |
| 143 | |
| 144 | export_include_dirs: ["adbconnection/include"], |
| 145 | |
| 146 | stl: "libc++_static", |
| 147 | shared_libs: ["liblog"], |
| 148 | static_libs: ["libbase"], |
| 149 | |
| 150 | defaults: ["adbd_defaults"], |
| 151 | visibility: [ |
| 152 | "//art:__subpackages__", |
| 153 | "//system/core/adb/apex:__subpackages__", |
| 154 | ], |
| 155 | apex_available: [ |
| 156 | "com.android.adbd", |
| 157 | "test_com.android.adbd", |
| 158 | ], |
| 159 | |
| 160 | // libadbconnection_client doesn't need an embedded build number. |
| 161 | use_version_lib: false, |
| 162 | |
Dan Willemsen | 24d5b5c | 2020-02-03 10:02:41 -0800 | [diff] [blame^] | 163 | target: { |
| 164 | linux: { |
| 165 | version_script: "adbconnection/libadbconnection_client.map.txt", |
| 166 | }, |
| 167 | }, |
Josh Gao | bf5a936 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 168 | stubs: { |
| 169 | symbol_file: "adbconnection/libadbconnection_client.map.txt", |
| 170 | versions: ["1"], |
| 171 | }, |
| 172 | |
| 173 | host_supported: true, |
| 174 | compile_multilib: "both", |
| 175 | } |
| 176 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 177 | // libadb |
| 178 | // ========================================================= |
| 179 | // These files are compiled for both the host and the device. |
| 180 | libadb_srcs = [ |
| 181 | "adb.cpp", |
| 182 | "adb_io.cpp", |
| 183 | "adb_listeners.cpp", |
| 184 | "adb_trace.cpp", |
Josh Gao | 7d5762c | 2018-05-24 22:54:50 -0700 | [diff] [blame] | 185 | "adb_unique_fd.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 186 | "adb_utils.cpp", |
Josh Gao | b51193a | 2019-06-28 13:50:37 -0700 | [diff] [blame] | 187 | "fdevent/fdevent.cpp", |
Josh Gao | 9e4aa3a | 2019-07-08 15:23:17 -0700 | [diff] [blame] | 188 | "fdevent/fdevent_poll.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 189 | "services.cpp", |
| 190 | "sockets.cpp", |
| 191 | "socket_spec.cpp", |
| 192 | "sysdeps/errno.cpp", |
| 193 | "transport.cpp", |
Josh Gao | 1e41fda | 2018-04-05 16:16:04 -0700 | [diff] [blame] | 194 | "transport_fd.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 195 | "transport_local.cpp", |
| 196 | "transport_usb.cpp", |
Yurii Zubrytskyi | e5e6b0d | 2019-07-12 14:11:54 -0700 | [diff] [blame] | 197 | "types.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 198 | ] |
| 199 | |
| 200 | libadb_posix_srcs = [ |
| 201 | "sysdeps_unix.cpp", |
| 202 | "sysdeps/posix/network.cpp", |
| 203 | ] |
| 204 | |
Josh Gao | dd71642 | 2019-07-11 13:47:44 -0700 | [diff] [blame] | 205 | libadb_linux_srcs = [ |
| 206 | "fdevent/fdevent_epoll.cpp", |
| 207 | ] |
| 208 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 209 | libadb_test_srcs = [ |
| 210 | "adb_io_test.cpp", |
| 211 | "adb_listeners_test.cpp", |
| 212 | "adb_utils_test.cpp", |
Josh Gao | b51193a | 2019-06-28 13:50:37 -0700 | [diff] [blame] | 213 | "fdevent/fdevent_test.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 214 | "socket_spec_test.cpp", |
| 215 | "socket_test.cpp", |
| 216 | "sysdeps_test.cpp", |
| 217 | "sysdeps/stat_test.cpp", |
| 218 | "transport_test.cpp", |
Josh Gao | 9f155db | 2018-04-03 14:37:11 -0700 | [diff] [blame] | 219 | "types_test.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 220 | ] |
| 221 | |
| 222 | cc_library_host_static { |
| 223 | name: "libadb_host", |
| 224 | defaults: ["adb_defaults"], |
| 225 | |
| 226 | srcs: libadb_srcs + [ |
| 227 | "client/auth.cpp", |
| 228 | "client/usb_libusb.cpp", |
| 229 | "client/usb_dispatch.cpp", |
| 230 | "client/transport_mdns.cpp", |
| 231 | ], |
| 232 | |
Dan Willemsen | 1886189 | 2018-08-29 14:58:02 -0700 | [diff] [blame] | 233 | generated_headers: ["platform_tools_version"], |
| 234 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 235 | target: { |
| 236 | linux: { |
Josh Gao | dd71642 | 2019-07-11 13:47:44 -0700 | [diff] [blame] | 237 | srcs: ["client/usb_linux.cpp"] + libadb_linux_srcs, |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 238 | }, |
| 239 | darwin: { |
| 240 | srcs: ["client/usb_osx.cpp"], |
| 241 | }, |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 242 | not_windows: { |
| 243 | srcs: libadb_posix_srcs, |
| 244 | }, |
| 245 | windows: { |
| 246 | enabled: true, |
| 247 | srcs: [ |
| 248 | "client/usb_windows.cpp", |
| 249 | "sysdeps_win32.cpp", |
| 250 | "sysdeps/win32/errno.cpp", |
| 251 | "sysdeps/win32/stat.cpp", |
| 252 | ], |
| 253 | shared_libs: ["AdbWinApi"], |
| 254 | }, |
| 255 | }, |
| 256 | |
| 257 | static_libs: [ |
| 258 | "libbase", |
| 259 | "libcrypto_utils", |
| 260 | "libcrypto", |
| 261 | "libdiagnose_usb", |
| 262 | "libmdnssd", |
| 263 | "libusb", |
Idries Hamadi | 78330f0 | 2018-09-13 18:00:25 +0100 | [diff] [blame] | 264 | "libutils", |
| 265 | "liblog", |
| 266 | "libcutils", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 267 | ], |
| 268 | } |
| 269 | |
| 270 | cc_test_host { |
| 271 | name: "adb_test", |
| 272 | defaults: ["adb_defaults"], |
| 273 | srcs: libadb_test_srcs, |
| 274 | static_libs: [ |
| 275 | "libadb_host", |
| 276 | "libbase", |
| 277 | "libcutils", |
| 278 | "libcrypto_utils", |
| 279 | "libcrypto", |
Tom Cherry | 49b96ec | 2020-01-08 13:41:56 -0800 | [diff] [blame] | 280 | "liblog", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 281 | "libmdnssd", |
| 282 | "libdiagnose_usb", |
| 283 | "libusb", |
| 284 | ], |
Josh Gao | ea7b95a | 2018-03-23 15:37:20 -0700 | [diff] [blame] | 285 | |
| 286 | target: { |
| 287 | windows: { |
| 288 | enabled: true, |
Josh Gao | 3e8bdab | 2019-07-16 15:08:42 -0700 | [diff] [blame] | 289 | ldflags: ["-municode"], |
Josh Gao | ea7b95a | 2018-03-23 15:37:20 -0700 | [diff] [blame] | 290 | shared_libs: ["AdbWinApi"], |
| 291 | }, |
| 292 | }, |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 293 | } |
| 294 | |
Josh Gao | 11e41d6 | 2018-04-04 11:27:24 -0700 | [diff] [blame] | 295 | cc_benchmark { |
| 296 | name: "adb_benchmark", |
| 297 | defaults: ["adb_defaults"], |
| 298 | |
| 299 | srcs: ["transport_benchmark.cpp"], |
| 300 | target: { |
| 301 | android: { |
| 302 | static_libs: [ |
| 303 | "libadbd", |
| 304 | ], |
| 305 | }, |
| 306 | host: { |
| 307 | static_libs: [ |
| 308 | "libadb_host", |
| 309 | ], |
| 310 | }, |
| 311 | }, |
| 312 | |
| 313 | static_libs: [ |
| 314 | "libbase", |
| 315 | "libcutils", |
| 316 | "libcrypto_utils", |
Colin Cross | e1cc1ec | 2019-09-18 11:04:35 -0700 | [diff] [blame] | 317 | "libcrypto_static", |
Josh Gao | 11e41d6 | 2018-04-04 11:27:24 -0700 | [diff] [blame] | 318 | "libdiagnose_usb", |
| 319 | "liblog", |
| 320 | "libusb", |
| 321 | ], |
| 322 | } |
| 323 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 324 | cc_binary_host { |
| 325 | name: "adb", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 326 | |
| 327 | defaults: ["adb_defaults"], |
| 328 | |
| 329 | srcs: [ |
| 330 | "client/adb_client.cpp", |
| 331 | "client/bugreport.cpp", |
| 332 | "client/commandline.cpp", |
| 333 | "client/file_sync_client.cpp", |
| 334 | "client/main.cpp", |
| 335 | "client/console.cpp", |
Idries Hamadi | 1ecee44 | 2018-01-29 16:30:36 +0000 | [diff] [blame] | 336 | "client/adb_install.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 337 | "client/line_printer.cpp", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 338 | "client/fastdeploy.cpp", |
| 339 | "client/fastdeploycallbacks.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 340 | "shell_service_protocol.cpp", |
| 341 | ], |
| 342 | |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 343 | generated_headers: [ |
| 344 | "bin2c_fastdeployagent", |
| 345 | "bin2c_fastdeployagentscript" |
| 346 | ], |
| 347 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 348 | static_libs: [ |
| 349 | "libadb_host", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 350 | "libandroidfw", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 351 | "libbase", |
| 352 | "libcutils", |
| 353 | "libcrypto_utils", |
| 354 | "libcrypto", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 355 | "libfastdeploy_host", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 356 | "libdiagnose_usb", |
| 357 | "liblog", |
| 358 | "libmdnssd", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 359 | "libprotobuf-cpp-lite", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 360 | "libusb", |
Idries Hamadi | 78330f0 | 2018-09-13 18:00:25 +0100 | [diff] [blame] | 361 | "libutils", |
| 362 | "liblog", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 363 | "libziparchive", |
| 364 | "libz", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 365 | ], |
| 366 | |
| 367 | stl: "libc++_static", |
| 368 | |
| 369 | // Don't add anything here, we don't want additional shared dependencies |
| 370 | // on the host adb tool, and shared libraries that link against libc++ |
| 371 | // will violate ODR |
| 372 | shared_libs: [], |
| 373 | |
Dan Willemsen | 7024da4 | 2018-11-19 19:11:35 -0800 | [diff] [blame] | 374 | // Archive adb, adb.exe. |
| 375 | dist: { |
| 376 | targets: [ |
| 377 | "dist_files", |
| 378 | "sdk", |
| 379 | "win_sdk", |
| 380 | ], |
| 381 | }, |
| 382 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 383 | target: { |
| 384 | darwin: { |
| 385 | cflags: [ |
| 386 | "-Wno-sizeof-pointer-memaccess", |
| 387 | ], |
| 388 | }, |
| 389 | windows: { |
| 390 | enabled: true, |
| 391 | ldflags: ["-municode"], |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 392 | shared_libs: ["AdbWinApi"], |
| 393 | required: [ |
| 394 | "AdbWinUsbApi", |
| 395 | ], |
| 396 | }, |
| 397 | }, |
| 398 | } |
| 399 | |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 400 | // libadbd_core contains the common sources to build libadbd and libadbd_services. |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 401 | cc_library_static { |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 402 | name: "libadbd_core", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 403 | defaults: ["adbd_defaults", "host_adbd_supported"], |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 404 | recovery_available: true, |
| 405 | |
| 406 | // libminadbd wants both, as it's used to build native tests. |
| 407 | compile_multilib: "both", |
| 408 | |
Josh Gao | dd71642 | 2019-07-11 13:47:44 -0700 | [diff] [blame] | 409 | srcs: libadb_srcs + libadb_linux_srcs + libadb_posix_srcs + [ |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 410 | "daemon/auth.cpp", |
| 411 | "daemon/jdwp_service.cpp", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 412 | ], |
| 413 | |
| 414 | local_include_dirs: [ |
| 415 | "daemon/include", |
| 416 | ], |
| 417 | |
Dan Willemsen | 1886189 | 2018-08-29 14:58:02 -0700 | [diff] [blame] | 418 | generated_headers: ["platform_tools_version"], |
| 419 | |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 420 | static_libs: [ |
Josh Gao | bf5a936 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 421 | "libadbconnection_server", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 422 | "libdiagnose_usb", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 423 | ], |
| 424 | |
| 425 | shared_libs: [ |
Josh Gao | 7cac88a | 2019-10-22 12:30:39 -0700 | [diff] [blame] | 426 | "libadbd_auth", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 427 | "libasyncio", |
| 428 | "libbase", |
| 429 | "libcrypto", |
| 430 | "libcrypto_utils", |
| 431 | "libcutils", |
| 432 | "liblog", |
| 433 | ], |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 434 | |
| 435 | target: { |
| 436 | android: { |
| 437 | whole_static_libs: [ |
| 438 | "libqemu_pipe", |
| 439 | ], |
| 440 | srcs: [ |
| 441 | "daemon/transport_qemu.cpp", |
| 442 | "daemon/usb.cpp", |
| 443 | "daemon/usb_ffs.cpp", |
| 444 | "daemon/usb_legacy.cpp", |
| 445 | ] |
| 446 | }, |
| 447 | linux_glibc: { |
| 448 | srcs: [ |
| 449 | "daemon/usb_dummy.cpp", |
| 450 | ] |
| 451 | } |
| 452 | }, |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 453 | } |
| 454 | |
| 455 | cc_library { |
| 456 | name: "libadbd_services", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 457 | defaults: ["adbd_defaults", "host_adbd_supported"], |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 458 | recovery_available: true, |
| 459 | compile_multilib: "both", |
| 460 | |
| 461 | srcs: [ |
| 462 | "daemon/file_sync_service.cpp", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 463 | "daemon/services.cpp", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 464 | "daemon/shell_service.cpp", |
| 465 | "shell_service_protocol.cpp", |
| 466 | ], |
| 467 | |
| 468 | cflags: [ |
| 469 | "-D_GNU_SOURCE", |
| 470 | "-Wno-deprecated-declarations", |
| 471 | ], |
| 472 | |
| 473 | static_libs: [ |
Josh Gao | bf5a936 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 474 | "libadbconnection_server", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 475 | "libadbd_core", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 476 | "libdiagnose_usb", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 477 | ], |
| 478 | |
| 479 | shared_libs: [ |
Josh Gao | 7cac88a | 2019-10-22 12:30:39 -0700 | [diff] [blame] | 480 | "libadbd_auth", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 481 | "libasyncio", |
| 482 | "libbase", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 483 | "libcrypto", |
| 484 | "libcrypto_utils", |
| 485 | "libcutils", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 486 | "liblog", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 487 | ], |
Alex Buynytskyy | ef34f01 | 2018-12-12 10:48:50 -0800 | [diff] [blame] | 488 | |
| 489 | target: { |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 490 | android: { |
| 491 | srcs: [ |
| 492 | "daemon/abb_service.cpp", |
| 493 | "daemon/framebuffer_service.cpp", |
| 494 | "daemon/mdns.cpp", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 495 | "daemon/restart_service.cpp", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 496 | ], |
| 497 | shared_libs: [ |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 498 | "libmdnssd", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 499 | "libselinux", |
| 500 | ], |
| 501 | }, |
Alex Buynytskyy | ef34f01 | 2018-12-12 10:48:50 -0800 | [diff] [blame] | 502 | recovery: { |
| 503 | exclude_srcs: [ |
| 504 | "daemon/abb_service.cpp", |
| 505 | ], |
| 506 | }, |
| 507 | }, |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 508 | } |
| 509 | |
| 510 | cc_library { |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 511 | name: "libadbd", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 512 | defaults: ["adbd_defaults", "host_adbd_supported"], |
Jiyong Park | eb59039 | 2018-05-24 14:11:00 +0900 | [diff] [blame] | 513 | recovery_available: true, |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 514 | |
Josh Gao | bf5a936 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 515 | // avoid getting duplicate symbol of android::build::getbuildnumber(). |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 516 | use_version_lib: false, |
| 517 | |
| 518 | // libminadbd wants both, as it's used to build native tests. |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 519 | compile_multilib: "both", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 520 | |
| 521 | // libadbd doesn't build any additional source, but to expose libadbd_core as a shared library. |
| 522 | whole_static_libs: [ |
Josh Gao | bf5a936 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 523 | "libadbconnection_server", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 524 | "libadbd_core", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 525 | ], |
| 526 | |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 527 | shared_libs: [ |
Josh Gao | 7cac88a | 2019-10-22 12:30:39 -0700 | [diff] [blame] | 528 | "libadbd_auth", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 529 | "libadbd_services", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 530 | "libasyncio", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 531 | "libbase", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 532 | "libcrypto", |
| 533 | "libcrypto_utils", |
| 534 | "libcutils", |
| 535 | "liblog", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 536 | ], |
Jerry Zhang | d4fe8b6 | 2018-05-07 15:14:47 -0700 | [diff] [blame] | 537 | |
| 538 | export_include_dirs: [ |
| 539 | "daemon/include", |
| 540 | ], |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 541 | } |
| 542 | |
| 543 | cc_binary { |
| 544 | name: "adbd", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 545 | defaults: ["adbd_defaults", "host_adbd_supported"], |
Jiyong Park | eb59039 | 2018-05-24 14:11:00 +0900 | [diff] [blame] | 546 | recovery_available: true, |
Josh Gao | 3e0540a | 2018-03-06 12:57:27 -0800 | [diff] [blame] | 547 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 548 | srcs: [ |
| 549 | "daemon/main.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 550 | ], |
| 551 | |
| 552 | cflags: [ |
| 553 | "-D_GNU_SOURCE", |
| 554 | "-Wno-deprecated-declarations", |
| 555 | ], |
| 556 | |
| 557 | strip: { |
| 558 | keep_symbols: true, |
| 559 | }, |
| 560 | |
Josh Gao | 2bfc85e | 2019-08-15 14:05:12 -0700 | [diff] [blame] | 561 | stl: "libc++_static", |
| 562 | static_libs: [ |
Josh Gao | bf5a936 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 563 | "libadbconnection_server", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 564 | "libadbd", |
Josh Gao | 7cac88a | 2019-10-22 12:30:39 -0700 | [diff] [blame] | 565 | "libadbd_auth", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 566 | "libadbd_services", |
Josh Gao | 2bfc85e | 2019-08-15 14:05:12 -0700 | [diff] [blame] | 567 | "libasyncio", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 568 | "libbase", |
| 569 | "libcap", |
Josh Gao | 2bfc85e | 2019-08-15 14:05:12 -0700 | [diff] [blame] | 570 | "libcrypto_utils", |
Tao Bao | 49042e3 | 2018-07-30 20:45:27 -0700 | [diff] [blame] | 571 | "libcutils", |
Josh Gao | 2bfc85e | 2019-08-15 14:05:12 -0700 | [diff] [blame] | 572 | "libdiagnose_usb", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 573 | "liblog", |
Josh Gao | 2bfc85e | 2019-08-15 14:05:12 -0700 | [diff] [blame] | 574 | "libmdnssd", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 575 | "libminijail", |
| 576 | "libselinux", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 577 | ], |
Josh Gao | 2bfc85e | 2019-08-15 14:05:12 -0700 | [diff] [blame] | 578 | |
| 579 | shared_libs: [ |
Josh Gao | 2bfc85e | 2019-08-15 14:05:12 -0700 | [diff] [blame] | 580 | "libcrypto", |
| 581 | ], |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 582 | } |
| 583 | |
Josh Gao | 06e4593 | 2019-10-23 13:27:17 -0700 | [diff] [blame] | 584 | phony { |
| 585 | name: "adbd_system_binaries", |
| 586 | required: [ |
| 587 | "abb", |
Josh Gao | 7cac88a | 2019-10-22 12:30:39 -0700 | [diff] [blame] | 588 | "libadbd_auth", |
Josh Gao | 83ce3e2 | 2019-10-22 12:30:36 -0700 | [diff] [blame] | 589 | "reboot", |
Josh Gao | b554f4b | 2019-10-22 12:30:30 -0700 | [diff] [blame] | 590 | "set-verity-state", |
Josh Gao | 06e4593 | 2019-10-23 13:27:17 -0700 | [diff] [blame] | 591 | ] |
| 592 | } |
| 593 | |
| 594 | phony { |
| 595 | name: "adbd_system_binaries_recovery", |
| 596 | required: [ |
Josh Gao | 83ce3e2 | 2019-10-22 12:30:36 -0700 | [diff] [blame] | 597 | "reboot.recovery", |
Josh Gao | 06e4593 | 2019-10-23 13:27:17 -0700 | [diff] [blame] | 598 | ], |
| 599 | } |
| 600 | |
Alex Buynytskyy | ef34f01 | 2018-12-12 10:48:50 -0800 | [diff] [blame] | 601 | cc_binary { |
| 602 | name: "abb", |
| 603 | |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 604 | defaults: ["adbd_defaults"], |
Alex Buynytskyy | ef34f01 | 2018-12-12 10:48:50 -0800 | [diff] [blame] | 605 | recovery_available: false, |
| 606 | |
| 607 | srcs: [ |
| 608 | "daemon/abb.cpp", |
| 609 | ], |
| 610 | |
| 611 | cflags: [ |
| 612 | "-D_GNU_SOURCE", |
| 613 | "-Wno-deprecated-declarations", |
| 614 | ], |
| 615 | |
| 616 | strip: { |
| 617 | keep_symbols: true, |
| 618 | }, |
| 619 | |
| 620 | static_libs: [ |
| 621 | "libadbd_core", |
| 622 | "libadbd_services", |
| 623 | "libcmd", |
| 624 | ], |
| 625 | |
| 626 | shared_libs: [ |
| 627 | "libbase", |
| 628 | "libbinder", |
| 629 | "liblog", |
| 630 | "libutils", |
| 631 | "libselinux", |
| 632 | ], |
| 633 | } |
| 634 | |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 635 | cc_test { |
| 636 | name: "adbd_test", |
Josh Gao | 0560feb | 2019-01-22 19:36:15 -0800 | [diff] [blame] | 637 | defaults: ["adbd_defaults"], |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 638 | srcs: libadb_test_srcs + [ |
Josh Gao | 5607e92 | 2018-07-25 18:15:52 -0700 | [diff] [blame] | 639 | "daemon/services.cpp", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 640 | "daemon/shell_service.cpp", |
| 641 | "daemon/shell_service_test.cpp", |
| 642 | "shell_service_protocol.cpp", |
| 643 | "shell_service_protocol_test.cpp", |
| 644 | ], |
| 645 | |
| 646 | static_libs: [ |
| 647 | "libadbd", |
Josh Gao | 7cac88a | 2019-10-22 12:30:39 -0700 | [diff] [blame] | 648 | "libadbd_auth", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 649 | "libbase", |
| 650 | "libcutils", |
| 651 | "libcrypto_utils", |
Colin Cross | e1cc1ec | 2019-09-18 11:04:35 -0700 | [diff] [blame] | 652 | "libcrypto_static", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 653 | "libdiagnose_usb", |
| 654 | "liblog", |
| 655 | "libusb", |
| 656 | "libmdnssd", |
Jiyong Park | 19c39fa | 2018-05-29 16:41:30 +0900 | [diff] [blame] | 657 | "libselinux", |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 658 | ], |
Elliott Hughes | ce226c9 | 2018-04-27 16:12:06 -0700 | [diff] [blame] | 659 | test_suites: ["device-tests"], |
Dan Shi | 22e091b | 2019-09-24 09:04:05 -0700 | [diff] [blame] | 660 | require_root: true, |
Josh Gao | 361148b | 2018-01-02 12:01:43 -0800 | [diff] [blame] | 661 | } |
| 662 | |
Julien Desprez | ae94f51 | 2018-08-08 12:08:50 -0700 | [diff] [blame] | 663 | python_test_host { |
Elliott Hughes | 307e767 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 664 | name: "adb_integration_test_adb", |
| 665 | main: "test_adb.py", |
| 666 | srcs: [ |
| 667 | "test_adb.py", |
| 668 | ], |
Julien Desprez | ae94f51 | 2018-08-08 12:08:50 -0700 | [diff] [blame] | 669 | test_config: "adb_integration_test_adb.xml", |
| 670 | test_suites: ["general-tests"], |
Elliott Hughes | 307e767 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 671 | version: { |
| 672 | py2: { |
Josh Gao | b1df00e | 2018-08-07 14:31:17 -0700 | [diff] [blame] | 673 | enabled: false, |
Elliott Hughes | 307e767 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 674 | }, |
| 675 | py3: { |
Josh Gao | b1df00e | 2018-08-07 14:31:17 -0700 | [diff] [blame] | 676 | enabled: true, |
Elliott Hughes | 307e767 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 677 | }, |
GuangHui Liu | 3599439 | 2017-05-10 14:37:17 -0700 | [diff] [blame] | 678 | }, |
GuangHui Liu | 3599439 | 2017-05-10 14:37:17 -0700 | [diff] [blame] | 679 | } |
| 680 | |
Julien Desprez | cd11d0d | 2018-10-12 13:48:14 -0700 | [diff] [blame] | 681 | python_test_host { |
Elliott Hughes | 307e767 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 682 | name: "adb_integration_test_device", |
| 683 | main: "test_device.py", |
| 684 | srcs: [ |
| 685 | "test_device.py", |
| 686 | ], |
| 687 | libs: [ |
| 688 | "adb_py", |
| 689 | ], |
Julien Desprez | cd11d0d | 2018-10-12 13:48:14 -0700 | [diff] [blame] | 690 | test_config: "adb_integration_test_device.xml", |
| 691 | test_suites: ["general-tests"], |
Elliott Hughes | 307e767 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 692 | version: { |
| 693 | py2: { |
| 694 | enabled: true, |
| 695 | }, |
| 696 | py3: { |
| 697 | enabled: false, |
| 698 | }, |
GuangHui Liu | 3599439 | 2017-05-10 14:37:17 -0700 | [diff] [blame] | 699 | }, |
GuangHui Liu | 3599439 | 2017-05-10 14:37:17 -0700 | [diff] [blame] | 700 | } |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 701 | |
| 702 | // Note: using pipe for xxd to control the variable name generated |
| 703 | // the default name used by xxd is the path to the input file. |
| 704 | java_genrule { |
| 705 | name: "bin2c_fastdeployagent", |
| 706 | out: ["deployagent.inc"], |
| 707 | srcs: [":deployagent"], |
| 708 | cmd: "(echo 'unsigned char kDeployAgent[] = {' && xxd -i <$(in) && echo '};') > $(out)", |
| 709 | } |
| 710 | |
| 711 | genrule { |
| 712 | name: "bin2c_fastdeployagentscript", |
| 713 | out: ["deployagentscript.inc"], |
| 714 | srcs: ["fastdeploy/deployagent/deployagent.sh"], |
| 715 | cmd: "(echo 'unsigned char kDeployAgentScript[] = {' && xxd -i <$(in) && echo '};') > $(out)", |
| 716 | } |
| 717 | |
| 718 | cc_library_host_static { |
| 719 | name: "libfastdeploy_host", |
| 720 | defaults: ["adb_defaults"], |
| 721 | srcs: [ |
Alex Buynytskyy | 1af550e | 2019-09-16 12:10:54 -0700 | [diff] [blame] | 722 | "fastdeploy/deploypatchgenerator/apk_archive.cpp", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 723 | "fastdeploy/deploypatchgenerator/deploy_patch_generator.cpp", |
| 724 | "fastdeploy/deploypatchgenerator/patch_utils.cpp", |
| 725 | "fastdeploy/proto/ApkEntry.proto", |
| 726 | ], |
| 727 | static_libs: [ |
| 728 | "libadb_host", |
| 729 | "libandroidfw", |
| 730 | "libbase", |
| 731 | "libcutils", |
| 732 | "libcrypto_utils", |
| 733 | "libcrypto", |
| 734 | "libdiagnose_usb", |
| 735 | "liblog", |
| 736 | "libmdnssd", |
| 737 | "libusb", |
| 738 | "libutils", |
| 739 | "libziparchive", |
| 740 | "libz", |
| 741 | ], |
| 742 | stl: "libc++_static", |
| 743 | proto: { |
| 744 | type: "lite", |
| 745 | export_proto_headers: true, |
| 746 | }, |
| 747 | target: { |
| 748 | windows: { |
| 749 | enabled: true, |
| 750 | shared_libs: ["AdbWinApi"], |
| 751 | }, |
| 752 | }, |
| 753 | } |
| 754 | |
| 755 | cc_test_host { |
| 756 | name: "fastdeploy_test", |
| 757 | defaults: ["adb_defaults"], |
| 758 | srcs: [ |
Alex Buynytskyy | 1af550e | 2019-09-16 12:10:54 -0700 | [diff] [blame] | 759 | "fastdeploy/deploypatchgenerator/apk_archive_test.cpp", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 760 | "fastdeploy/deploypatchgenerator/deploy_patch_generator_test.cpp", |
| 761 | "fastdeploy/deploypatchgenerator/patch_utils_test.cpp", |
| 762 | ], |
| 763 | static_libs: [ |
| 764 | "libadb_host", |
| 765 | "libandroidfw", |
| 766 | "libbase", |
| 767 | "libcutils", |
| 768 | "libcrypto_utils", |
| 769 | "libcrypto", |
| 770 | "libdiagnose_usb", |
| 771 | "libfastdeploy_host", |
| 772 | "liblog", |
| 773 | "libmdnssd", |
| 774 | "libprotobuf-cpp-lite", |
| 775 | "libusb", |
| 776 | "libutils", |
| 777 | "libziparchive", |
| 778 | "libz", |
| 779 | ], |
| 780 | target: { |
| 781 | windows: { |
| 782 | enabled: true, |
| 783 | shared_libs: ["AdbWinApi"], |
| 784 | }, |
| 785 | }, |
| 786 | data: [ |
Alex Buynytskyy | 1af550e | 2019-09-16 12:10:54 -0700 | [diff] [blame] | 787 | "fastdeploy/testdata/rotating_cube-metadata-release.data", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 788 | "fastdeploy/testdata/rotating_cube-release.apk", |
Alex Buynytskyy | 1af550e | 2019-09-16 12:10:54 -0700 | [diff] [blame] | 789 | "fastdeploy/testdata/sample.apk", |
| 790 | "fastdeploy/testdata/sample.cd", |
Joshua Gilpatrick | 0d38411 | 2019-07-19 09:42:12 -0700 | [diff] [blame] | 791 | ], |
| 792 | } |