blob: b587409bdc77e994f68f0a8b2e7ea3d2d9daa0fe [file] [log] [blame]
Colin Cross1b211062017-03-17 14:02:13 -07001cc_prebuilt_library_shared {
Pirama Arumuga Nainar64cb27f2017-08-03 11:43:45 -07002 name: "libLLVM_android",
Tim Kleinfabc7af2019-05-14 00:29:55 +01003 vendor_available: true,
Colin Crossa7158942016-11-23 17:01:45 -08004 host_supported: true,
Victor Khimenko41a12d32020-05-12 00:02:42 +02005 // TODO(ccross): this is necessary because the prebuilt module must have
6 // all the variants that are in the source module. Ideally Soong's
7 // arch mutator should handle this.
8 // TODO(b/153609531): remove when no longer needed.
9 native_bridge_supported: true,
Colin Crossa7158942016-11-23 17:01:45 -080010 target: {
Dan Willemsenc1e8b942017-10-02 10:41:10 -070011 linux_glibc_x86_64: {
Pirama Arumuga Nainar64cb27f2017-08-03 11:43:45 -070012 srcs: ["linux/lib64/libLLVM_android.so"],
Colin Crossa7158942016-11-23 17:01:45 -080013 },
14 darwin_x86_64: {
Pirama Arumuga Nainar64cb27f2017-08-03 11:43:45 -070015 srcs: ["darwin/lib64/libLLVM_android.dylib"],
Colin Crossa7158942016-11-23 17:01:45 -080016 },
17 // TODO(ccross): this is necessary because the prebuilt module must have
18 // all the variants that are in the source module. Ideally Soong's
19 // arch mutator should handle this.
20 windows: {
21 enabled: true,
22 }
23 },
Colin Crossb706c582016-12-07 12:26:00 -080024}
25
Colin Cross1b211062017-03-17 14:02:13 -070026cc_prebuilt_library_shared {
Pirama Arumuga Nainar64cb27f2017-08-03 11:43:45 -070027 name: "libclang_android",
Colin Crossb706c582016-12-07 12:26:00 -080028 host_supported: true,
Victor Khimenko41a12d32020-05-12 00:02:42 +020029 // TODO(ccross): this is necessary because the prebuilt module must have
30 // all the variants that are in the source module. Ideally Soong's
31 // arch mutator should handle this.
32 // TODO(b/153609531): remove when no longer needed.
33 native_bridge_supported: true,
Colin Crossb706c582016-12-07 12:26:00 -080034 target: {
Dan Willemsenc1e8b942017-10-02 10:41:10 -070035 linux_glibc_x86_64: {
Pirama Arumuga Nainar64cb27f2017-08-03 11:43:45 -070036 srcs: ["linux/lib64/libclang_android.so"],
Colin Crossb706c582016-12-07 12:26:00 -080037 },
38 darwin_x86_64: {
Pirama Arumuga Nainar64cb27f2017-08-03 11:43:45 -070039 srcs: ["darwin/lib64/libclang_android.dylib"],
Colin Crossb706c582016-12-07 12:26:00 -080040 },
41 // TODO(ccross): this is necessary because the prebuilt module must have
42 // all the variants that are in the source module. Ideally Soong's
43 // arch mutator should handle this.
44 windows: {
45 enabled: true,
46 }
47 },
Colin Crossa7158942016-11-23 17:01:45 -080048}
Colin Cross8e85c702017-09-22 19:57:03 -070049
50java_import {
51 name: "sdk-core-lambda-stubs",
52 jars: ["core-lambda-stubs.jar"],
53}