blob: 114eb2ab0d3b81e44e9836d86444059eab18a8dd [file] [log] [blame]
GuangHui Liu41bda342017-05-10 14:37:17 -07001// 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 Gao27768452018-01-02 12:01:43 -080015cc_defaults {
16 name: "adb_defaults",
17
18 cflags: [
19 "-Wall",
20 "-Wextra",
21 "-Werror",
Pirama Arumuga Nainar79821782018-06-01 11:31:38 -070022 "-Wexit-time-destructors",
Josh Gao27768452018-01-02 12:01:43 -080023 "-Wno-unused-parameter",
24 "-Wno-missing-field-initializers",
Josh Gao776c2ec2019-01-22 19:36:15 -080025 "-Wthread-safety",
Josh Gao27768452018-01-02 12:01:43 -080026 "-Wvla",
Bowgo Tsai9b30c0a2019-03-12 04:25:33 +080027 "-DADB_HOST=1", // overridden by adbd_defaults
28 "-DALLOW_ADBD_ROOT=0", // overridden by adbd_defaults
Josh Gao27241a72019-04-25 14:04:57 -070029 "-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION=1",
Josh Gao27768452018-01-02 12:01:43 -080030 ],
Josh Gao6eb78822018-11-16 15:40:16 -080031 cpp_std: "experimental",
Josh Gao27768452018-01-02 12:01:43 -080032
Josh Gaoc7567fa2018-02-27 15:49:23 -080033 use_version_lib: true,
Josh Gao27768452018-01-02 12:01:43 -080034 compile_multilib: "first",
Josh Gao27768452018-01-02 12:01:43 -080035
36 target: {
Josh Gao27768452018-01-02 12:01:43 -080037 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 Hughes3c59cb82018-12-03 09:02:18 -080057 // Unlike on Linux, -std=gnu++ doesn't set _GNU_SOURCE on Windows.
Josh Gao27768452018-01-02 12:01:43 -080058 "-D_GNU_SOURCE",
Josh Gao2e1e7892018-03-23 13:03:28 -070059
60 // MinGW hides some things behind _POSIX_SOURCE.
61 "-D_POSIX_SOURCE",
Josh Gao776c2ec2019-01-22 19:36:15 -080062
Josh Gao4710e532019-04-17 16:57:43 -070063 // libusb uses __stdcall on a variadic function, which gets ignored.
64 "-Wno-ignored-attributes",
65
Josh Gao776c2ec2019-01-22 19:36:15 -080066 // Not supported yet.
67 "-Wno-thread-safety",
Josh Gao27768452018-01-02 12:01:43 -080068 ],
Josh Gaof8a97c12018-03-23 15:37:20 -070069
70 host_ldlibs: [
71 "-lws2_32",
72 "-lgdi32",
73 "-luserenv",
74 ],
Josh Gao27768452018-01-02 12:01:43 -080075 },
Josh Gao776c2ec2019-01-22 19:36:15 -080076 },
77}
Pirama Arumuga Nainar79821782018-06-01 11:31:38 -070078
Josh Gao776c2ec2019-01-22 19:36:15 -080079cc_defaults {
80 name: "adbd_defaults",
81 defaults: ["adb_defaults"],
82
83 cflags: ["-UADB_HOST", "-DADB_HOST=0"],
84 product_variables: {
85 debuggable: {
Pirama Arumuga Nainar79821782018-06-01 11:31:38 -070086 cflags: [
Bowgo Tsai9b30c0a2019-03-12 04:25:33 +080087 "-UALLOW_ADBD_ROOT",
88 "-DALLOW_ADBD_ROOT=1",
Josh Gao776c2ec2019-01-22 19:36:15 -080089 "-DALLOW_ADBD_DISABLE_VERITY",
90 "-DALLOW_ADBD_NO_AUTH",
Pirama Arumuga Nainar79821782018-06-01 11:31:38 -070091 ],
92 },
Josh Gao27768452018-01-02 12:01:43 -080093 },
94}
95
Josh Gao776c2ec2019-01-22 19:36:15 -080096cc_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 Gao27768452018-01-02 12:01:43 -0800117// libadb
118// =========================================================
119// These files are compiled for both the host and the device.
120libadb_srcs = [
121 "adb.cpp",
122 "adb_io.cpp",
123 "adb_listeners.cpp",
124 "adb_trace.cpp",
Josh Gao6e1246c2018-05-24 22:54:50 -0700125 "adb_unique_fd.cpp",
Josh Gao27768452018-01-02 12:01:43 -0800126 "adb_utils.cpp",
127 "fdevent.cpp",
128 "services.cpp",
129 "sockets.cpp",
130 "socket_spec.cpp",
131 "sysdeps/errno.cpp",
132 "transport.cpp",
Josh Gao6082e7d2018-04-05 16:16:04 -0700133 "transport_fd.cpp",
Josh Gao27768452018-01-02 12:01:43 -0800134 "transport_local.cpp",
135 "transport_usb.cpp",
136]
137
138libadb_posix_srcs = [
139 "sysdeps_unix.cpp",
140 "sysdeps/posix/network.cpp",
141]
142
143libadb_test_srcs = [
144 "adb_io_test.cpp",
145 "adb_listeners_test.cpp",
146 "adb_utils_test.cpp",
147 "fdevent_test.cpp",
148 "socket_spec_test.cpp",
149 "socket_test.cpp",
150 "sysdeps_test.cpp",
151 "sysdeps/stat_test.cpp",
152 "transport_test.cpp",
Josh Gao7c738cd2018-04-03 14:37:11 -0700153 "types_test.cpp",
Josh Gao27768452018-01-02 12:01:43 -0800154]
155
156cc_library_host_static {
157 name: "libadb_host",
158 defaults: ["adb_defaults"],
159
160 srcs: libadb_srcs + [
161 "client/auth.cpp",
162 "client/usb_libusb.cpp",
163 "client/usb_dispatch.cpp",
164 "client/transport_mdns.cpp",
165 ],
166
Dan Willemsenab971b52018-08-29 14:58:02 -0700167 generated_headers: ["platform_tools_version"],
168
Josh Gao27768452018-01-02 12:01:43 -0800169 target: {
170 linux: {
171 srcs: ["client/usb_linux.cpp"],
172 },
173 darwin: {
174 srcs: ["client/usb_osx.cpp"],
175 },
176
177 not_windows: {
178 srcs: libadb_posix_srcs,
179 },
180 windows: {
181 enabled: true,
182 srcs: [
183 "client/usb_windows.cpp",
184 "sysdeps_win32.cpp",
185 "sysdeps/win32/errno.cpp",
186 "sysdeps/win32/stat.cpp",
187 ],
188 shared_libs: ["AdbWinApi"],
189 },
190 },
191
192 static_libs: [
193 "libbase",
194 "libcrypto_utils",
195 "libcrypto",
196 "libdiagnose_usb",
197 "libmdnssd",
198 "libusb",
Idries Hamadi269a4b42018-09-13 18:00:25 +0100199 "libutils",
200 "liblog",
201 "libcutils",
Josh Gao27768452018-01-02 12:01:43 -0800202 ],
203}
204
205cc_test_host {
206 name: "adb_test",
207 defaults: ["adb_defaults"],
208 srcs: libadb_test_srcs,
209 static_libs: [
210 "libadb_host",
211 "libbase",
212 "libcutils",
213 "libcrypto_utils",
214 "libcrypto",
215 "libmdnssd",
216 "libdiagnose_usb",
217 "libusb",
218 ],
Josh Gaof8a97c12018-03-23 15:37:20 -0700219
220 target: {
221 windows: {
222 enabled: true,
223 shared_libs: ["AdbWinApi"],
224 },
225 },
Josh Gao27768452018-01-02 12:01:43 -0800226}
227
Josh Gao9c596492018-04-04 11:27:24 -0700228cc_benchmark {
229 name: "adb_benchmark",
230 defaults: ["adb_defaults"],
231
232 srcs: ["transport_benchmark.cpp"],
233 target: {
234 android: {
235 static_libs: [
236 "libadbd",
237 ],
238 },
239 host: {
240 static_libs: [
241 "libadb_host",
242 ],
243 },
244 },
245
246 static_libs: [
247 "libbase",
248 "libcutils",
249 "libcrypto_utils",
250 "libcrypto",
251 "libdiagnose_usb",
252 "liblog",
253 "libusb",
254 ],
255}
256
Josh Gao27768452018-01-02 12:01:43 -0800257cc_binary_host {
258 name: "adb",
Josh Gao27768452018-01-02 12:01:43 -0800259
260 defaults: ["adb_defaults"],
261
262 srcs: [
263 "client/adb_client.cpp",
264 "client/bugreport.cpp",
265 "client/commandline.cpp",
266 "client/file_sync_client.cpp",
267 "client/main.cpp",
268 "client/console.cpp",
Idries Hamadied409ea2018-01-29 16:30:36 +0000269 "client/adb_install.cpp",
Josh Gao27768452018-01-02 12:01:43 -0800270 "client/line_printer.cpp",
271 "shell_service_protocol.cpp",
272 ],
273
274 static_libs: [
275 "libadb_host",
276 "libbase",
277 "libcutils",
278 "libcrypto_utils",
279 "libcrypto",
280 "libdiagnose_usb",
281 "liblog",
282 "libmdnssd",
283 "libusb",
Idries Hamadi269a4b42018-09-13 18:00:25 +0100284 "libutils",
285 "liblog",
286 "libcutils",
Josh Gao27768452018-01-02 12:01:43 -0800287 ],
288
289 stl: "libc++_static",
290
291 // Don't add anything here, we don't want additional shared dependencies
292 // on the host adb tool, and shared libraries that link against libc++
293 // will violate ODR
294 shared_libs: [],
295
Idries Hamadi7575cd92018-08-24 11:46:45 +0100296 required: [
297 "deploypatchgenerator",
298 ],
299
Dan Willemsen3f439a72018-11-19 19:11:35 -0800300 // Archive adb, adb.exe.
301 dist: {
302 targets: [
303 "dist_files",
304 "sdk",
305 "win_sdk",
306 ],
307 },
308
Josh Gao27768452018-01-02 12:01:43 -0800309 target: {
310 darwin: {
311 cflags: [
312 "-Wno-sizeof-pointer-memaccess",
313 ],
314 },
315 windows: {
316 enabled: true,
317 ldflags: ["-municode"],
Josh Gao27768452018-01-02 12:01:43 -0800318 shared_libs: ["AdbWinApi"],
319 required: [
320 "AdbWinUsbApi",
321 ],
322 },
323 },
324}
325
Tao Baoeca59ae2018-07-30 20:45:27 -0700326// libadbd_core contains the common sources to build libadbd and libadbd_services.
Josh Gao27768452018-01-02 12:01:43 -0800327cc_library_static {
Tao Baoeca59ae2018-07-30 20:45:27 -0700328 name: "libadbd_core",
Josh Gao776c2ec2019-01-22 19:36:15 -0800329 defaults: ["adbd_defaults", "host_adbd_supported"],
Tao Baoeca59ae2018-07-30 20:45:27 -0700330 recovery_available: true,
331
332 // libminadbd wants both, as it's used to build native tests.
333 compile_multilib: "both",
334
335 srcs: libadb_srcs + libadb_posix_srcs + [
336 "daemon/auth.cpp",
337 "daemon/jdwp_service.cpp",
Tao Baoeca59ae2018-07-30 20:45:27 -0700338 ],
339
340 local_include_dirs: [
341 "daemon/include",
342 ],
343
Dan Willemsenab971b52018-08-29 14:58:02 -0700344 generated_headers: ["platform_tools_version"],
345
Tao Baoeca59ae2018-07-30 20:45:27 -0700346 static_libs: [
347 "libdiagnose_usb",
Tao Baoeca59ae2018-07-30 20:45:27 -0700348 ],
349
350 shared_libs: [
351 "libasyncio",
352 "libbase",
353 "libcrypto",
354 "libcrypto_utils",
355 "libcutils",
356 "liblog",
357 ],
Josh Gao776c2ec2019-01-22 19:36:15 -0800358
359 target: {
360 android: {
361 whole_static_libs: [
362 "libqemu_pipe",
363 ],
364 srcs: [
365 "daemon/transport_qemu.cpp",
366 "daemon/usb.cpp",
367 "daemon/usb_ffs.cpp",
368 "daemon/usb_legacy.cpp",
369 ]
370 },
371 linux_glibc: {
372 srcs: [
373 "daemon/usb_dummy.cpp",
374 ]
375 }
376 },
Tao Baoeca59ae2018-07-30 20:45:27 -0700377}
378
379cc_library {
380 name: "libadbd_services",
Josh Gao776c2ec2019-01-22 19:36:15 -0800381 defaults: ["adbd_defaults", "host_adbd_supported"],
Tao Baoeca59ae2018-07-30 20:45:27 -0700382 recovery_available: true,
383 compile_multilib: "both",
384
385 srcs: [
386 "daemon/file_sync_service.cpp",
Tao Baoeca59ae2018-07-30 20:45:27 -0700387 "daemon/services.cpp",
Tao Baoeca59ae2018-07-30 20:45:27 -0700388 "daemon/shell_service.cpp",
389 "shell_service_protocol.cpp",
390 ],
391
392 cflags: [
393 "-D_GNU_SOURCE",
394 "-Wno-deprecated-declarations",
395 ],
396
397 static_libs: [
398 "libadbd_core",
Tao Baoeca59ae2018-07-30 20:45:27 -0700399 "libdiagnose_usb",
Tao Baoeca59ae2018-07-30 20:45:27 -0700400 ],
401
402 shared_libs: [
403 "libasyncio",
404 "libbase",
Tao Baoeca59ae2018-07-30 20:45:27 -0700405 "libcrypto",
406 "libcrypto_utils",
407 "libcutils",
Tao Baoeca59ae2018-07-30 20:45:27 -0700408 "liblog",
Tao Baoeca59ae2018-07-30 20:45:27 -0700409 ],
Alex Buynytskyy640407d2018-12-12 10:48:50 -0800410
Mark Salyzyn2f6c1802019-02-15 07:45:26 -0800411 product_variables: {
412 debuggable: {
413 required: [
414 "remount",
415 ],
416 },
417 },
418
Alex Buynytskyy640407d2018-12-12 10:48:50 -0800419 target: {
Josh Gao776c2ec2019-01-22 19:36:15 -0800420 android: {
421 srcs: [
422 "daemon/abb_service.cpp",
423 "daemon/framebuffer_service.cpp",
424 "daemon/mdns.cpp",
425 "daemon/reboot_service.cpp",
426 "daemon/remount_service.cpp",
427 "daemon/restart_service.cpp",
428 "daemon/set_verity_enable_state_service.cpp",
429 ],
430 static_libs: [
431 "libavb_user",
432 ],
433 shared_libs: [
434 "libbootloader_message",
435 "libmdnssd",
436 "libext4_utils",
437 "libfec",
438 "libfs_mgr",
439 "libselinux",
440 ],
441 },
Alex Buynytskyy640407d2018-12-12 10:48:50 -0800442 recovery: {
443 exclude_srcs: [
444 "daemon/abb_service.cpp",
445 ],
446 },
447 },
Tao Baoeca59ae2018-07-30 20:45:27 -0700448}
449
450cc_library {
Josh Gao27768452018-01-02 12:01:43 -0800451 name: "libadbd",
Josh Gao776c2ec2019-01-22 19:36:15 -0800452 defaults: ["adbd_defaults", "host_adbd_supported"],
Jiyong Parka0e75042018-05-24 14:11:00 +0900453 recovery_available: true,
Josh Gao27768452018-01-02 12:01:43 -0800454
Tao Baoeca59ae2018-07-30 20:45:27 -0700455 // Avoid getting duplicate symbol of android::build::GetBuildNumber().
456 use_version_lib: false,
457
458 // libminadbd wants both, as it's used to build native tests.
Josh Gao27768452018-01-02 12:01:43 -0800459 compile_multilib: "both",
Tao Baoeca59ae2018-07-30 20:45:27 -0700460
461 // libadbd doesn't build any additional source, but to expose libadbd_core as a shared library.
462 whole_static_libs: [
463 "libadbd_core",
Josh Gao27768452018-01-02 12:01:43 -0800464 ],
465
Tao Baoeca59ae2018-07-30 20:45:27 -0700466 shared_libs: [
467 "libadbd_services",
Josh Gao27768452018-01-02 12:01:43 -0800468 "libasyncio",
Josh Gao27768452018-01-02 12:01:43 -0800469 "libbase",
Tao Baoeca59ae2018-07-30 20:45:27 -0700470 "libcrypto",
471 "libcrypto_utils",
472 "libcutils",
473 "liblog",
Josh Gao27768452018-01-02 12:01:43 -0800474 ],
Jerry Zhangb156c602018-05-07 15:14:47 -0700475
476 export_include_dirs: [
477 "daemon/include",
478 ],
Josh Gao27768452018-01-02 12:01:43 -0800479}
480
481cc_binary {
482 name: "adbd",
Josh Gao776c2ec2019-01-22 19:36:15 -0800483 defaults: ["adbd_defaults", "host_adbd_supported"],
Jiyong Parka0e75042018-05-24 14:11:00 +0900484 recovery_available: true,
Josh Gao8db99f82018-03-06 12:57:27 -0800485
Josh Gao27768452018-01-02 12:01:43 -0800486 srcs: [
487 "daemon/main.cpp",
Josh Gao27768452018-01-02 12:01:43 -0800488 ],
489
490 cflags: [
491 "-D_GNU_SOURCE",
492 "-Wno-deprecated-declarations",
493 ],
494
495 strip: {
496 keep_symbols: true,
497 },
498
Tao Baoeca59ae2018-07-30 20:45:27 -0700499 shared_libs: [
Josh Gao27768452018-01-02 12:01:43 -0800500 "libadbd",
Tao Baoeca59ae2018-07-30 20:45:27 -0700501 "libadbd_services",
502 "libbase",
503 "libcap",
Josh Gao27768452018-01-02 12:01:43 -0800504 "libcrypto",
Tao Baoeca59ae2018-07-30 20:45:27 -0700505 "libcutils",
Josh Gao27768452018-01-02 12:01:43 -0800506 "liblog",
Josh Gao27768452018-01-02 12:01:43 -0800507 "libminijail",
508 "libselinux",
Josh Gao27768452018-01-02 12:01:43 -0800509 ],
510}
511
Alex Buynytskyy640407d2018-12-12 10:48:50 -0800512cc_binary {
Josh Gaobde8c842019-05-01 18:25:14 -0700513 name: "static_adbd",
514 defaults: ["adbd_defaults", "host_adbd_supported"],
515
516 recovery_available: false,
517 static_executable: true,
518 host_supported: false,
519
520 srcs: [
521 "daemon/main.cpp",
522 ],
523
524 cflags: [
525 "-D_GNU_SOURCE",
526 "-Wno-deprecated-declarations",
527 ],
528
529 strip: {
530 keep_symbols: true,
531 },
532
533 static_libs: [
534 "libadbd",
535 "libadbd_services",
536 "libasyncio",
537 "libavb_user",
538 "libbase",
539 "libbootloader_message",
540 "libcap",
541 "libcrypto",
542 "libcrypto_utils",
543 "libcutils",
544 "libdiagnose_usb",
545 "libext4_utils",
546 "libfec",
547 "libfec_rs",
548 "libfs_mgr",
549 "liblog",
550 "liblp",
551 "libmdnssd",
552 "libminijail",
553 "libselinux",
554 "libsquashfs_utils",
555 ],
556}
557
558cc_binary {
Alex Buynytskyy640407d2018-12-12 10:48:50 -0800559 name: "abb",
560
Josh Gao776c2ec2019-01-22 19:36:15 -0800561 defaults: ["adbd_defaults"],
Alex Buynytskyy640407d2018-12-12 10:48:50 -0800562 recovery_available: false,
563
564 srcs: [
565 "daemon/abb.cpp",
566 ],
567
568 cflags: [
569 "-D_GNU_SOURCE",
570 "-Wno-deprecated-declarations",
571 ],
572
573 strip: {
574 keep_symbols: true,
575 },
576
577 static_libs: [
578 "libadbd_core",
579 "libadbd_services",
580 "libcmd",
581 ],
582
583 shared_libs: [
584 "libbase",
585 "libbinder",
586 "liblog",
587 "libutils",
588 "libselinux",
589 ],
590}
591
Josh Gao27768452018-01-02 12:01:43 -0800592cc_test {
593 name: "adbd_test",
Josh Gao776c2ec2019-01-22 19:36:15 -0800594 defaults: ["adbd_defaults"],
Josh Gao27768452018-01-02 12:01:43 -0800595 srcs: libadb_test_srcs + [
Josh Gao997cfac2018-07-25 18:15:52 -0700596 "daemon/services.cpp",
Josh Gao27768452018-01-02 12:01:43 -0800597 "daemon/shell_service.cpp",
598 "daemon/shell_service_test.cpp",
599 "shell_service_protocol.cpp",
600 "shell_service_protocol_test.cpp",
601 ],
602
603 static_libs: [
604 "libadbd",
605 "libbase",
Josh Gao997cfac2018-07-25 18:15:52 -0700606 "libbootloader_message",
Josh Gao27768452018-01-02 12:01:43 -0800607 "libcutils",
608 "libcrypto_utils",
609 "libcrypto",
610 "libdiagnose_usb",
611 "liblog",
612 "libusb",
613 "libmdnssd",
Jiyong Park011ee122018-05-29 16:41:30 +0900614 "libselinux",
Josh Gao27768452018-01-02 12:01:43 -0800615 ],
Elliott Hughes40fdf3f2018-04-27 16:12:06 -0700616 test_suites: ["device-tests"],
Josh Gao27768452018-01-02 12:01:43 -0800617}
618
Julien Desprez75fea7e2018-08-08 12:08:50 -0700619python_test_host {
Elliott Hughesdc699a22018-02-16 17:58:14 -0800620 name: "adb_integration_test_adb",
621 main: "test_adb.py",
622 srcs: [
623 "test_adb.py",
624 ],
Julien Desprez75fea7e2018-08-08 12:08:50 -0700625 test_config: "adb_integration_test_adb.xml",
626 test_suites: ["general-tests"],
Elliott Hughesdc699a22018-02-16 17:58:14 -0800627 version: {
628 py2: {
Josh Gao9b6522b2018-08-07 14:31:17 -0700629 enabled: false,
Elliott Hughesdc699a22018-02-16 17:58:14 -0800630 },
631 py3: {
Josh Gao9b6522b2018-08-07 14:31:17 -0700632 enabled: true,
Elliott Hughesdc699a22018-02-16 17:58:14 -0800633 },
GuangHui Liu41bda342017-05-10 14:37:17 -0700634 },
GuangHui Liu41bda342017-05-10 14:37:17 -0700635}
636
Julien Desprez618f0e12018-10-12 13:48:14 -0700637python_test_host {
Elliott Hughesdc699a22018-02-16 17:58:14 -0800638 name: "adb_integration_test_device",
639 main: "test_device.py",
640 srcs: [
641 "test_device.py",
642 ],
643 libs: [
644 "adb_py",
645 ],
Julien Desprez618f0e12018-10-12 13:48:14 -0700646 test_config: "adb_integration_test_device.xml",
647 test_suites: ["general-tests"],
Elliott Hughesdc699a22018-02-16 17:58:14 -0800648 version: {
649 py2: {
650 enabled: true,
651 },
652 py3: {
653 enabled: false,
654 },
GuangHui Liu41bda342017-05-10 14:37:17 -0700655 },
GuangHui Liu41bda342017-05-10 14:37:17 -0700656}