1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5subdirs = [ 6 "androidmk", 7 "bpfix", 8 "cmd/*", 9 "fs", 10 "finder", 11 "jar", 12 "zip", 13 "third_party/zip", 14 "ui/*", 15] 16 17bootstrap_go_package { 18 name: "soong", 19 pkgPath: "android/soong", 20 deps: [ 21 "blueprint", 22 ], 23 srcs: [ 24 "doc.go", 25 ], 26} 27 28// 29// Defaults to enable various configurations of host bionic 30// 31 32cc_defaults { 33 name: "linux_bionic_supported", 34 host_supported: true, 35 target: { 36 host: { 37 enabled: false, 38 }, 39 linux_bionic: { 40 enabled: true, 41 }, 42 }, 43} 44 45// 46// C static libraries extracted from the gcc toolchain 47// 48 49toolchain_library { 50 name: "libwinpthread", 51 host_supported: true, 52 enabled: false, 53 target: { 54 windows: { 55 enabled: true, 56 }, 57 windows_x86: { 58 src: "prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/lib32/libwinpthread.a", 59 }, 60 windows_x86_64: { 61 src: "prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/lib/libwinpthread.a", 62 }, 63 }, 64 notice: ":mingw-libwinpthread-notice", 65} 66 67kernel_headers { 68 name: "device_kernel_headers", 69 vendor: true, 70 recovery_available: true, 71} 72 73cc_genrule { 74 name: "host_bionic_linker_asm", 75 host_supported: true, 76 device_supported: false, 77 target: { 78 linux_bionic: { 79 enabled: true, 80 }, 81 linux_glibc: { 82 enabled: false, 83 }, 84 darwin: { 85 enabled: false, 86 }, 87 }, 88 tools: ["extract_linker"], 89 cmd: "$(location) -s $(out) $(in)", 90 srcs: [":linker"], 91 out: ["linker.s"], 92} 93 94cc_genrule { 95 name: "host_bionic_linker_flags", 96 host_supported: true, 97 device_supported: false, 98 target: { 99 linux_bionic: { 100 enabled: true, 101 }, 102 linux_glibc: { 103 enabled: false, 104 }, 105 darwin: { 106 enabled: false, 107 }, 108 }, 109 tools: ["extract_linker"], 110 cmd: "$(location) -f $(out) $(in)", 111 srcs: [":linker"], 112 out: ["linker.flags"], 113} 114 115// Instantiate the dex_bootjars singleton module. 116dex_bootjars { 117 name: "dex_bootjars", 118} 119