1python_library { 2 name: "py-cffi-backend", 3 host_supported: true, 4 srcs: [ 5 "_dummy_file_cffi_backend.py", 6 ], 7 version: { 8 py2: { 9 enabled: true, 10 }, 11 py3: { 12 enabled: true, 13 }, 14 }, 15 data: [ 16 ":py-cffi-backend-files" 17 ], 18} 19 20filegroup { 21 name: "py-cffi-backend-files", 22 srcs: [ 23 "_cffi_backend.so", 24 ], 25} 26 27python_library { 28 name: "py-cffi-backend-libffi", 29 host_supported: true, 30 srcs: [ 31 "_dummy_file_libffi.py", 32 ], 33 version: { 34 py2: { 35 enabled: true, 36 }, 37 py3: { 38 enabled: true, 39 }, 40 }, 41 data: [ 42 ":py-cffi-backend-libffi-files" 43 ], 44} 45 46filegroup { 47 name: "py-cffi-backend-libffi-files", 48 srcs: [ 49 ".libs_cffi_backend/libffi-45372312.so.6.0.4", 50 ], 51} 52 53 54