1soong_namespace {}
2
3package {
4    default_applicable_licenses: ["device_google_caimito_license"],
5}
6
7soong_config_module_type {
8    name: "gnss_prebuilt_etc",
9    module_type: "prebuilt_etc",
10    config_namespace: "gpssdk",
11    variables: [
12        "buildtype",
13    ],
14    properties: [
15        "src",
16    ],
17}
18
19soong_config_string_variable {
20    name: "buildtype",
21    values: [
22        "user",
23        "userdebug",
24        "eng",
25    ],
26}
27
28gnss_prebuilt_etc {
29    name: "gps.cfg",
30    soong_config_variables: {
31        buildtype: {
32            user: {
33                src: "user/gps.cfg",
34            },
35            userdebug: {
36                src: "userdebug/gps.cfg",
37            },
38            eng: {
39                src: "userdebug/gps.cfg",
40            },
41            conditions_default: {
42                src: "user/gps.cfg",
43            },
44        },
45    },
46    relative_install_path: "gnss",
47    vendor: true,
48}
49