summaryrefslogtreecommitdiff
path: root/go/current/Android.bp
blob: 00b3c851196204652bc465c80c2b2d978a5f32de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// This is auto-generated. DO NOT EDIT.

// blueprint rules added by vendor/google/build/mainline_modules_sdks.py
// to support coexistence.
blueprint_package_includes {
    match_all: ["com.android.mainline_go"]
}

package {
    // A default list here prevents the license LSC from adding its own list which would
    // be unnecessary as every module in the sdk already has its own licenses property.
    default_applicable_licenses: ["Android-Apache-2.0"],
}

prebuilt_bootclasspath_fragment {
    name: "com.android.ipsec-bootclasspath-fragment",
    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
    use_source_config_var: {
        config_namespace: "ANDROID",
        var_name: "module_build_from_source",
    },
    visibility: ["//visibility:public"],
    apex_available: ["com.android.ipsec"],
    licenses: ["ipsec-module-sdk_Android-Apache-2.0"],
    contents: ["android.net.ipsec.ike"],
    fragments: [
        {
            apex: "com.android.art",
            module: "art-bootclasspath-fragment",
        },
        {
            apex: "com.android.tethering",
            module: "com.android.tethering-bootclasspath-fragment",
        },
    ],
    hidden_api: {
        annotation_flags: "hiddenapi/annotation-flags.csv",
        metadata: "hiddenapi/metadata.csv",
        index: "hiddenapi/index.csv",
        signature_patterns: "hiddenapi/signature-patterns.csv",
        filtered_stub_flags: "hiddenapi/filtered-stub-flags.csv",
        filtered_flags: "hiddenapi/filtered-flags.csv",
    },
}

java_sdk_library_import {
    name: "android.net.ipsec.ike",
    // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
    use_source_config_var: {
        config_namespace: "ANDROID",
        var_name: "module_build_from_source",
    },
    visibility: ["//visibility:public"],
    apex_available: [
        "com.android.ipsec",
        "test_com.android.ipsec",
    ],
    licenses: ["ipsec-module-sdk_Android-Apache-2.0"],
    shared_library: true,
    compile_dex: true,
    permitted_packages: [
        "com.android.internal.net",
        "android.net.ipsec.ike",
        "android.net.eap",
    ],
    public: {
        jars: ["sdk_library/public/android.net.ipsec.ike-stubs.jar"],
        stub_srcs: ["sdk_library/public/android.net.ipsec.ike.srcjar"],
        current_api: "sdk_library/public/android.net.ipsec.ike.txt",
        removed_api: "sdk_library/public/android.net.ipsec.ike-removed.txt",
        annotations: "sdk_library/public/android.net.ipsec.ike_annotations.zip",
        sdk_version: "module_current",
    },
    system: {
        jars: ["sdk_library/system/android.net.ipsec.ike-stubs.jar"],
        stub_srcs: ["sdk_library/system/android.net.ipsec.ike.srcjar"],
        current_api: "sdk_library/system/android.net.ipsec.ike.txt",
        removed_api: "sdk_library/system/android.net.ipsec.ike-removed.txt",
        annotations: "sdk_library/system/android.net.ipsec.ike_annotations.zip",
        sdk_version: "module_current",
    },
    module_lib: {
        jars: ["sdk_library/module-lib/android.net.ipsec.ike-stubs.jar"],
        stub_srcs: ["sdk_library/module-lib/android.net.ipsec.ike.srcjar"],
        current_api: "sdk_library/module-lib/android.net.ipsec.ike.txt",
        removed_api: "sdk_library/module-lib/android.net.ipsec.ike-removed.txt",
        annotations: "sdk_library/module-lib/android.net.ipsec.ike_annotations.zip",
        sdk_version: "module_current",
    },
}

license {
    name: "ipsec-module-sdk_Android-Apache-2.0",
    visibility: ["//visibility:private"],
    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
    license_text: ["licenses/build/soong/licenses/LICENSE"],
}