1soong_namespace { 2} 3 4package { 5 default_applicable_licenses: ["hardware_qcom_sm8150_gps_license"], 6} 7 8// Added automatically by a large-scale-change that took the approach of 9// 'apply every license found to every target'. While this makes sure we respect 10// every license restriction, it may not be entirely correct. 11// 12// e.g. GPL in an MIT project might only apply to the contrib/ directory. 13// 14// Please consider splitting the single license below into multiple licenses, 15// taking care not to lose any license_kind information, and overriding the 16// default license using the 'licenses: [...]' property on targets as needed. 17// 18// For unused files, consider creating a 'filegroup' with "//visibility:private" 19// to attach the license to, and including a comment whether the files may be 20// used in the current project. 21// http://go/android-license-faq 22license { 23 name: "hardware_qcom_sm8150_gps_license", 24 visibility: [":__subpackages__"], 25 license_kinds: [ 26 "SPDX-license-identifier-Apache-2.0", 27 "SPDX-license-identifier-BSD", 28 "legacy_not_a_contribution", 29 ], 30 license_text: [ 31 "LICENSE", 32 ], 33} 34 35GNSS_CFLAGS = [ 36 "-Werror", 37 "-Wno-error=unused-parameter", 38 "-Wno-error=macro-redefined", 39 "-Wno-error=reorder", 40 "-Wno-error=missing-braces", 41 "-Wno-error=self-assign", 42 "-Wno-error=enum-conversion", 43 "-Wno-error=logical-op-parentheses", 44 "-Wno-error=null-arithmetic", 45 "-Wno-error=null-conversion", 46 "-Wno-error=parentheses-equality", 47 "-Wno-error=undefined-bool-conversion", 48 "-Wno-error=tautological-compare", 49 "-Wno-error=switch", 50 "-Wno-error=date-time", 51] 52 53/* Activate the following for debug purposes only, 54 comment out for production */ 55GNSS_SANITIZE_DIAG = { 56/* 57 diag: { 58 cfi: true, 59 misc_undefined: [ 60 "bounds", 61 "null", 62 "unreachable", 63 "integer", 64 ], 65 }, 66*/ 67} 68