1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "external_python_cffi_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-MIT 7 default_applicable_licenses: ["external_python_cffi_license"], 8} 9 10python_library { 11 name: "py-cffi-backend", 12 host_supported: true, 13 srcs: [ 14 "_dummy_file_cffi_backend.py", 15 ], 16 version: { 17 py2: { 18 enabled: true, 19 }, 20 py3: { 21 enabled: true, 22 }, 23 }, 24 data: [ 25 ":py-cffi-backend-files" 26 ], 27} 28 29filegroup { 30 name: "py-cffi-backend-files", 31 srcs: [ 32 "_cffi_backend.so", 33 ], 34} 35 36python_library { 37 name: "py-cffi-backend-libffi", 38 host_supported: true, 39 srcs: [ 40 "_dummy_file_libffi.py", 41 ], 42 version: { 43 py2: { 44 enabled: true, 45 }, 46 py3: { 47 enabled: true, 48 }, 49 }, 50 data: [ 51 ":py-cffi-backend-libffi-files" 52 ], 53} 54 55filegroup { 56 name: "py-cffi-backend-libffi-files", 57 srcs: [ 58 ".libs_cffi_backend/libffi-45372312.so.6.0.4", 59 ], 60} 61