blob: 118087db7b9cccc83d299f2867dd8428fe2a4ae2 [file] [log] [blame]
Bob Badour02040de2021-02-03 18:08:28 -08001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
Jaewoong Jung4b79e982020-06-01 10:45:49 -07005bootstrap_go_package {
6 name: "soong-android",
7 pkgPath: "android/soong/android",
8 deps: [
9 "blueprint",
10 "blueprint-bootstrap",
Chris Parsons715b08f2022-03-22 19:23:40 -040011 "blueprint-metrics",
Colin Crosse16ce362020-11-12 08:29:30 -080012 "sbox_proto",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070013 "soong",
14 "soong-android-soongconfig",
Jingwen Chen30f5aaa2020-11-19 05:38:02 -050015 "soong-bazel",
Chris Parsons944e7d02021-03-11 11:08:46 -050016 "soong-cquery",
Colin Cross77cdcfd2021-03-12 11:28:25 -080017 "soong-remoteexec",
Colin Crosse55bd422021-03-23 13:44:30 -070018 "soong-response",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070019 "soong-shared",
Cole Faustc9508aa2023-02-07 11:38:27 -080020 "soong-starlark",
Liz Kammer72beb342022-02-03 08:42:10 -050021 "soong-starlark-format",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070022 "soong-ui-metrics_proto",
Sam Delmerico24c56032022-03-28 19:53:03 +000023 "soong-android-allowlists",
Liz Kammer72beb342022-02-03 08:42:10 -050024
Dan Willemsen4591b642021-05-24 14:24:12 -070025 "golang-protobuf-proto",
26 "golang-protobuf-encoding-prototext",
Colin Cross6ac95762021-11-09 13:17:44 -080027
28 // Only used for tests.
29 "androidmk-parser",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070030 ],
31 srcs: [
32 "androidmk.go",
33 "apex.go",
Spandan Das81593892022-09-06 17:31:48 +000034 "api_domain.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070035 "api_levels.go",
36 "arch.go",
Colin Crossa6845402020-11-16 15:08:19 -080037 "arch_list.go",
Liz Kammerea6666f2021-02-17 10:17:28 -050038 "bazel.go",
Chris Parsonsf3c96ef2020-09-29 02:23:17 -040039 "bazel_handler.go",
Liz Kammer620dea62021-04-14 17:36:10 -040040 "bazel_paths.go",
Inseob Kim4f1f3d92022-04-25 18:23:58 +090041 "buildinfo_prop.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070042 "config.go",
Liz Kammer7ec40cc2022-07-29 10:44:23 -040043 "test_config.go",
Sam Delmerico7f889562022-03-25 14:55:40 +000044 "config_bp2build.go",
Liz Kammer7ec40cc2022-07-29 10:44:23 -040045 "configured_jars.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070046 "csuite_config.go",
Paul Duffin064b70c2020-11-02 17:32:38 +000047 "deapexer.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070048 "defaults.go",
49 "defs.go",
Colin Cross96c44122020-11-25 14:29:50 -080050 "depset_generic.go",
51 "depset_paths.go",
Colin Crosse9fe2942020-11-10 18:12:15 -080052 "deptag.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070053 "expand.go",
54 "filegroup.go",
Paul Duffin35816122021-02-24 01:49:52 +000055 "fixture.go",
Bob Badoureef4c1c2022-05-16 12:20:04 -070056 "gen_notice.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070057 "hooks.go",
58 "image.go",
Bob Badour37af0462021-01-07 03:34:31 +000059 "license.go",
60 "license_kind.go",
Colin Cross4acaea92021-12-10 23:05:02 +000061 "license_metadata.go",
Paul Duffinb0bb3762021-05-06 16:48:05 +010062 "license_sdk_member.go",
Bob Badour37af0462021-01-07 03:34:31 +000063 "licenses.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070064 "makevars.go",
65 "metrics.go",
66 "module.go",
67 "mutator.go",
68 "namespace.go",
69 "neverallow.go",
Colin Cross12129292020-10-29 18:23:58 -070070 "ninja_deps.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070071 "notices.go",
72 "onceper.go",
73 "override_module.go",
74 "package.go",
75 "package_ctx.go",
Jiyong Park073ea552020-11-09 14:08:34 +090076 "packaging.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070077 "path_properties.go",
78 "paths.go",
Colin Crossc3d87d32020-06-04 13:25:17 -070079 "phony.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070080 "prebuilt.go",
Dan Willemsen751ae872020-07-16 17:49:05 -070081 "prebuilt_build_tool.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070082 "proto.go",
83 "register.go",
84 "rule_builder.go",
85 "sandbox.go",
86 "sdk.go",
Jiyong Parkf1691d22021-03-29 20:11:58 +090087 "sdk_version.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070088 "singleton.go",
Colin Cross9aed5bc2020-12-28 15:15:34 -080089 "singleton_module.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070090 "soong_config_modules.go",
Paul Duffin9dcf2532021-03-12 11:50:43 +000091 "test_asserts.go",
Colin Cross8eebb132020-01-29 20:07:03 -080092 "test_suites.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070093 "testing.go",
Alexei Nicoara7579b672022-07-27 14:52:12 +010094 "updatable_modules.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070095 "util.go",
96 "variable.go",
97 "visibility.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070098 ],
99 testSrcs: [
100 "android_test.go",
101 "androidmk_test.go",
Colin Cross9f720ce2020-10-02 10:26:04 -0700102 "apex_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700103 "arch_test.go",
Rupert Shuttleworthb7e30762021-04-21 11:09:52 -0400104 "bazel_handler_test.go",
Cole Faust9a06d252022-06-03 16:00:11 -0700105 "bazel_paths_test.go",
Jingwen Chen12b4c272021-03-10 02:05:59 -0500106 "bazel_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700107 "config_test.go",
Sam Delmerico7f889562022-03-25 14:55:40 +0000108 "config_bp2build_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700109 "csuite_config_test.go",
Rupert Shuttleworthb7e30762021-04-21 11:09:52 -0400110 "defaults_test.go",
Colin Cross9e44e212020-07-14 15:02:16 -0700111 "depset_test.go",
Colin Crosse9fe2942020-11-10 18:12:15 -0800112 "deptag_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700113 "expand_test.go",
Anton Hansson7a444ce2023-03-06 11:43:02 +0000114 "filegroup_test.go",
Paul Duffin35816122021-02-24 01:49:52 +0000115 "fixture_test.go",
Bob Badourafd99fd2022-05-23 12:37:02 -0700116 "gen_notice_test.go",
Bob Badour37af0462021-01-07 03:34:31 +0000117 "license_kind_test.go",
118 "license_test.go",
119 "licenses_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700120 "module_test.go",
121 "mutator_test.go",
122 "namespace_test.go",
123 "neverallow_test.go",
Colin Cross12129292020-10-29 18:23:58 -0700124 "ninja_deps_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700125 "onceper_test.go",
126 "package_test.go",
Jiyong Parkdda8f692020-11-09 18:38:48 +0900127 "packaging_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700128 "path_properties_test.go",
129 "paths_test.go",
130 "prebuilt_test.go",
131 "rule_builder_test.go",
satayev0ee2f912021-12-01 17:39:48 +0000132 "sdk_version_test.go",
Paul Duffin581f2e52021-09-22 13:25:23 +0100133 "sdk_test.go",
Colin Cross9aed5bc2020-12-28 15:15:34 -0800134 "singleton_module_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700135 "soong_config_modules_test.go",
136 "util_test.go",
137 "variable_test.go",
138 "visibility_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700139 ],
140}