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_f2fs-tools_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-BSD 7 // SPDX-license-identifier-GPL-2.0 8 default_applicable_licenses: ["external_f2fs-tools_license"], 9} 10 11cc_defaults { 12 name: "sg3-utils-defaults", 13 cflags: [ 14 "-Wno-unused-function" 15 ], 16 local_include_dirs: [ 17 "include", 18 ], 19} 20 21cc_binary { 22 name: "sg_write_buffer", 23 defaults: [ "sg3-utils-defaults" ], 24 srcs: [ 25 "sg_write_buffer.c", 26 "sg_cmds_basic.c", 27 "sg_cmds_basic2.c", 28 "sg_cmds_extra.c", 29 "sg_cmds_mmc.c", 30 "sg_io_linux.c", 31 "sg_lib.c", 32 "sg_lib_data.c", 33 "sg_pt_common.c", 34 "sg_pt_linux.c", 35 "sg_pt_linux_nvme.c", 36 ], 37 system_ext_specific: true, 38} 39