xref: /aosp_15_r20/build/soong/android/Android.bp (revision 333d2b3687b3a337dbcca9d65000bca186795e39)
1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5bootstrap_go_package {
6    name: "soong-android",
7    pkgPath: "android/soong/android",
8    deps: [
9        "blueprint",
10        "blueprint-bootstrap",
11        "blueprint-depset",
12        "blueprint-gobtools",
13        "blueprint-metrics",
14        "sbox_proto",
15        "soong",
16        "soong-android_team_proto",
17        "soong-android-soongconfig",
18        "soong-remoteexec",
19        "soong-response",
20        "soong-shared",
21        "soong-starlark-format",
22        "soong-ui-metrics_proto",
23        "soong-android-allowlists",
24
25        "golang-protobuf-proto",
26        "golang-protobuf-encoding-prototext",
27
28        // Only used for tests.
29        "androidmk-parser",
30    ],
31    srcs: [
32        "aconfig_providers.go",
33        "all_teams.go",
34        "android_info.go",
35        "androidmk.go",
36        "apex.go",
37        "apex_contributions.go",
38        "api_domain.go",
39        "api_levels.go",
40        "arch.go",
41        "arch_list.go",
42        "arch_module_context.go",
43        "base_module_context.go",
44        "build_prop.go",
45        "compliance_metadata.go",
46        "config.go",
47        "container_violations.go",
48        "container.go",
49        "test_config.go",
50        "configurable_properties.go",
51        "configured_jars.go",
52        "csuite_config.go",
53        "deapexer.go",
54        "defaults.go",
55        "defs.go",
56        "deptag.go",
57        "dirgroup.go",
58        "early_module_context.go",
59        "expand.go",
60        "filegroup.go",
61        "fixture.go",
62        "gen_notice.go",
63        "hooks.go",
64        "image.go",
65        "init.go",
66        "license.go",
67        "license_kind.go",
68        "license_metadata.go",
69        "license_sdk_member.go",
70        "licenses.go",
71        "logtags.go",
72        "makevars.go",
73        "metrics.go",
74        "module.go",
75        "module_context.go",
76        "module_info_json.go",
77        "module_proxy.go",
78        "mutator.go",
79        "namespace.go",
80        "neverallow.go",
81        "ninja_deps.go",
82        "notices.go",
83        "onceper.go",
84        "override_module.go",
85        "package.go",
86        "package_ctx.go",
87        "packaging.go",
88        "path_properties.go",
89        "paths.go",
90        "phony.go",
91        "plugin.go",
92        "prebuilt.go",
93        "prebuilt_build_tool.go",
94        "product_config.go",
95        "proto.go",
96        "provider.go",
97        "raw_files.go",
98        "register.go",
99        "rule_builder.go",
100        "sandbox.go",
101        "sbom.go",
102        "sdk.go",
103        "sdk_version.go",
104        "shared_properties.go",
105        "singleton.go",
106        "singleton_module.go",
107        "soong_config_modules.go",
108        "team.go",
109        "test_asserts.go",
110        "test_suites.go",
111        "testing.go",
112        "util.go",
113        "variable.go",
114        "vendor_api_levels.go",
115        "vintf_fragment.go",
116        "vintf_data.go",
117        "visibility.go",
118    ],
119    testSrcs: [
120        "all_teams_test.go",
121        "android_test.go",
122        "androidmk_test.go",
123        "apex_test.go",
124        "arch_test.go",
125        "blueprint_e2e_test.go",
126        "build_prop_test.go",
127        "config_test.go",
128        "configured_jars_test.go",
129        "csuite_config_test.go",
130        "defaults_test.go",
131        "deptag_test.go",
132        "expand_test.go",
133        "filegroup_test.go",
134        "fixture_test.go",
135        "gen_notice_test.go",
136        "license_kind_test.go",
137        "license_test.go",
138        "licenses_test.go",
139        "module_test.go",
140        "mutator_test.go",
141        "namespace_test.go",
142        "neverallow_test.go",
143        "ninja_deps_test.go",
144        "onceper_test.go",
145        "package_test.go",
146        "packaging_test.go",
147        "path_properties_test.go",
148        "paths_test.go",
149        "prebuilt_test.go",
150        "rule_builder_test.go",
151        "sdk_version_test.go",
152        "sdk_test.go",
153        "selects_test.go",
154        "singleton_module_test.go",
155        "soong_config_modules_test.go",
156        "test_suites_test.go",
157        "util_test.go",
158        "variable_test.go",
159        "vintf_fragment_test.go",
160        "visibility_test.go",
161    ],
162    // Used by plugins
163    visibility: ["//visibility:public"],
164}
165