xref: /aosp_15_r20/prebuilts/runtime/mainline/runtime/host-exports/Android.bp (revision 924841fff420cd6b931e1027ee46b85e0a18fe17)
1// This is auto-generated. DO NOT EDIT.
2
3package {
4    // A default list here prevents the license LSC from adding its own list which would
5    // be unnecessary as every module in the sdk already has its own licenses property.
6    default_applicable_licenses: ["Android-Apache-2.0"],
7}
8
9apex_contributions_defaults {
10    name: "runtime-module-host-exports.contributions",
11    contents: [
12        "prebuilt_linkerconfig",
13        "prebuilt_linker",
14    ],
15}
16
17license {
18    name: "runtime-module-host-exports_bionic_apex_license",
19    visibility: ["//visibility:private"],
20    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
21    license_text: ["licenses/bionic/apex/NOTICE"],
22}
23
24license {
25    name: "runtime-module-host-exports_Android-Apache-2.0",
26    visibility: ["//visibility:private"],
27    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
28    license_text: ["licenses/build/soong/licenses/LICENSE"],
29}
30
31license {
32    name: "runtime-module-host-exports_bionic_linker_license",
33    visibility: ["//visibility:private"],
34    license_kinds: ["SPDX-license-identifier-BSD"],
35    license_text: ["licenses/bionic/linker/NOTICE"],
36}
37
38cc_prebuilt_binary {
39    name: "linkerconfig",
40    prefer: false,
41    visibility: ["//visibility:public"],
42    apex_available: ["com.android.runtime"],
43    licenses: ["runtime-module-host-exports_Android-Apache-2.0"],
44    device_supported: false,
45    host_supported: true,
46    stl: "c++_static",
47    compile_multilib: "64",
48    shared_libs: [
49        "libbase",
50        "libbase",
51    ],
52    target: {
53        host: {
54            enabled: false,
55        },
56        linux_bionic_x86_64: {
57            enabled: true,
58            srcs: ["linux_bionic/x86_64/bin/linkerconfig"],
59        },
60        linux_glibc_x86_64: {
61            enabled: true,
62            srcs: ["linux_glibc/x86_64/bin/linkerconfig"],
63        },
64    },
65}
66
67cc_prebuilt_binary {
68    name: "linker",
69    prefer: false,
70    visibility: ["//visibility:public"],
71    apex_available: [
72        "//apex_available:platform",
73        "com.android.runtime",
74    ],
75    licenses: ["runtime-module-host-exports_bionic_linker_license"],
76    device_supported: false,
77    host_supported: true,
78    stl: "none",
79    compile_multilib: "64",
80    system_shared_libs: [],
81    static_executable: true,
82    nocrt: true,
83    target: {
84        host: {
85            enabled: false,
86        },
87        linux_bionic_x86_64: {
88            enabled: true,
89            srcs: ["x86_64/bin/linker64"],
90        },
91    },
92}
93