• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1soong_namespace {
2}
3
4package {
5    default_applicable_licenses: ["hardware_qcom_sm7250_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// See: http://go/android-license-faq
22license {
23    name: "hardware_qcom_sm7250_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    // large-scale-change unable to identify any license_text files
31}
32
33GNSS_CFLAGS = [
34    "-Werror",
35    "-Wno-error=unused-parameter",
36    "-Wno-error=macro-redefined",
37    "-Wno-error=reorder",
38    "-Wno-error=missing-braces",
39    "-Wno-error=self-assign",
40    "-Wno-error=enum-conversion",
41    "-Wno-error=logical-op-parentheses",
42    "-Wno-error=null-arithmetic",
43    "-Wno-error=null-conversion",
44    "-Wno-error=parentheses-equality",
45    "-Wno-error=undefined-bool-conversion",
46    "-Wno-error=tautological-compare",
47    "-Wno-error=switch",
48    "-Wno-error=date-time",
49]
50
51/* Activate the following for debug purposes only,
52   comment out for production */
53GNSS_SANITIZE_DIAG = {
54/*
55    diag: {
56        cfi: true,
57        misc_undefined: [
58            "bounds",
59            "null",
60            "unreachable",
61            "integer",
62        ],
63    },
64*/
65}
66