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 no_full_install: true, 108} 109 110// Pseudo-test that's run on checkbuilds to ensure that get_clang_version can 111// parse cc/config/global.go. 112genrule { 113 name: "get_clang_version_test", 114 cmd: "$(location get_clang_version) > $(out)", 115 tools: ["get_clang_version"], 116 srcs: ["cc/config/global.go"], 117 out: ["clang-prebuilts-version.txt"], 118} 119 120dexpreopt_systemserver_check { 121 name: "dexpreopt_systemserver_check", 122} 123 124// buildinfo.prop contains common properties for system/build.prop, like ro.build.version.* 125buildinfo_prop { 126 name: "buildinfo.prop", 127 128 // not installable because this will be included to system/build.prop 129 installable: false, 130 131 // Currently, only microdroid can refer to buildinfo.prop 132 visibility: ["//packages/modules/Virtualization/microdroid"], 133} 134 135// container for apex_contributions selected using build flags 136all_apex_contributions { 137 name: "all_apex_contributions", 138} 139