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 49kernel_headers { 50 name: "device_kernel_headers", 51 vendor: true, 52 recovery_available: true, 53 min_sdk_version: "apex_inherit", 54} 55 56cc_genrule { 57 name: "host_bionic_linker_asm", 58 host_supported: true, 59 device_supported: false, 60 target: { 61 linux_bionic: { 62 enabled: true, 63 }, 64 linux_musl: { 65 enabled: false, 66 }, 67 linux_glibc: { 68 enabled: false, 69 }, 70 darwin: { 71 enabled: false, 72 }, 73 }, 74 tools: ["extract_linker"], 75 cmd: "$(location) -s $(out) $(in)", 76 srcs: [":linker"], 77 out: ["linker.s"], 78} 79 80cc_genrule { 81 name: "host_bionic_linker_script", 82 host_supported: true, 83 device_supported: false, 84 target: { 85 linux_bionic: { 86 enabled: true, 87 }, 88 linux_musl: { 89 enabled: false, 90 }, 91 linux_glibc: { 92 enabled: false, 93 }, 94 darwin: { 95 enabled: false, 96 }, 97 }, 98 tools: ["extract_linker"], 99 cmd: "$(location) -T $(out) $(in)", 100 srcs: [":linker"], 101 out: ["linker.script"], 102} 103 104// Instantiate the dex_bootjars singleton module. 105dex_bootjars { 106 name: "dex_bootjars", 107} 108 109// Pseudo-test that's run on checkbuilds to ensure that get_clang_version can 110// parse cc/config/global.go. 111genrule { 112 name: "get_clang_version_test", 113 cmd: "$(location get_clang_version) > $(out)", 114 tools: ["get_clang_version"], 115 srcs: ["cc/config/global.go"], 116 out: ["clang-prebuilts-version.txt"], 117} 118 119dexpreopt_systemserver_check { 120 name: "dexpreopt_systemserver_check", 121} 122 123// buildinfo.prop contains common properties for system/build.prop, like ro.build.version.* 124buildinfo_prop { 125 name: "buildinfo.prop", 126 127 // not installable because this will be included to system/build.prop 128 installable: false, 129 130 // Currently, only microdroid can refer to buildinfo.prop 131 visibility: ["//packages/modules/Virtualization/microdroid"], 132} 133