blob: d583703913f4642cbefcffe66c5e7bb66a2043a2 [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",
Liz Kammer72beb342022-02-03 08:42:10 -050020 "soong-starlark-format",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070021 "soong-ui-metrics_proto",
Sam Delmerico24c56032022-03-28 19:53:03 +000022 "soong-android-allowlists",
Liz Kammer72beb342022-02-03 08:42:10 -050023
Dan Willemsen4591b642021-05-24 14:24:12 -070024 "golang-protobuf-proto",
25 "golang-protobuf-encoding-prototext",
Colin Cross6ac95762021-11-09 13:17:44 -080026
27 // Only used for tests.
28 "androidmk-parser",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070029 ],
30 srcs: [
31 "androidmk.go",
32 "apex.go",
33 "api_levels.go",
34 "arch.go",
Colin Crossa6845402020-11-16 15:08:19 -080035 "arch_list.go",
Liz Kammerea6666f2021-02-17 10:17:28 -050036 "bazel.go",
Chris Parsonsf3c96ef2020-09-29 02:23:17 -040037 "bazel_handler.go",
Liz Kammer620dea62021-04-14 17:36:10 -040038 "bazel_paths.go",
Inseob Kimc7c47462022-04-25 18:23:58 +090039 "buildinfo_prop.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070040 "config.go",
Sam Delmerico7f889562022-03-25 14:55:40 +000041 "config_bp2build.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070042 "csuite_config.go",
Paul Duffin064b70c2020-11-02 17:32:38 +000043 "deapexer.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070044 "defaults.go",
45 "defs.go",
Colin Cross96c44122020-11-25 14:29:50 -080046 "depset_generic.go",
47 "depset_paths.go",
Colin Crosse9fe2942020-11-10 18:12:15 -080048 "deptag.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070049 "expand.go",
50 "filegroup.go",
Paul Duffin35816122021-02-24 01:49:52 +000051 "fixture.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070052 "hooks.go",
53 "image.go",
Bob Badour37af0462021-01-07 03:34:31 +000054 "license.go",
55 "license_kind.go",
Colin Cross4acaea92021-12-10 23:05:02 +000056 "license_metadata.go",
Paul Duffinb0bb3762021-05-06 16:48:05 +010057 "license_sdk_member.go",
Bob Badour37af0462021-01-07 03:34:31 +000058 "licenses.go",
Yifan Hong696ed4d2020-07-27 12:59:58 -070059 "makefile_goal.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070060 "makevars.go",
61 "metrics.go",
62 "module.go",
63 "mutator.go",
64 "namespace.go",
65 "neverallow.go",
Colin Cross12129292020-10-29 18:23:58 -070066 "ninja_deps.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070067 "notices.go",
68 "onceper.go",
69 "override_module.go",
70 "package.go",
71 "package_ctx.go",
Jiyong Park073ea552020-11-09 14:08:34 +090072 "packaging.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070073 "path_properties.go",
74 "paths.go",
Colin Crossc3d87d32020-06-04 13:25:17 -070075 "phony.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070076 "prebuilt.go",
Dan Willemsen751ae872020-07-16 17:49:05 -070077 "prebuilt_build_tool.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070078 "proto.go",
79 "register.go",
80 "rule_builder.go",
81 "sandbox.go",
82 "sdk.go",
Jiyong Parkf1691d22021-03-29 20:11:58 +090083 "sdk_version.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070084 "singleton.go",
Colin Cross9aed5bc2020-12-28 15:15:34 -080085 "singleton_module.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070086 "soong_config_modules.go",
Paul Duffin9dcf2532021-03-12 11:50:43 +000087 "test_asserts.go",
Colin Cross8eebb132020-01-29 20:07:03 -080088 "test_suites.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070089 "testing.go",
90 "util.go",
91 "variable.go",
92 "visibility.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070093 ],
94 testSrcs: [
95 "android_test.go",
96 "androidmk_test.go",
Colin Cross9f720ce2020-10-02 10:26:04 -070097 "apex_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070098 "arch_test.go",
Rupert Shuttleworthb7e30762021-04-21 11:09:52 -040099 "bazel_handler_test.go",
Jingwen Chen12b4c272021-03-10 02:05:59 -0500100 "bazel_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700101 "config_test.go",
Sam Delmerico7f889562022-03-25 14:55:40 +0000102 "config_bp2build_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700103 "csuite_config_test.go",
Rupert Shuttleworthb7e30762021-04-21 11:09:52 -0400104 "defaults_test.go",
Colin Cross9e44e212020-07-14 15:02:16 -0700105 "depset_test.go",
Colin Crosse9fe2942020-11-10 18:12:15 -0800106 "deptag_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700107 "expand_test.go",
Paul Duffin35816122021-02-24 01:49:52 +0000108 "fixture_test.go",
Bob Badour37af0462021-01-07 03:34:31 +0000109 "license_kind_test.go",
110 "license_test.go",
111 "licenses_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700112 "module_test.go",
113 "mutator_test.go",
114 "namespace_test.go",
115 "neverallow_test.go",
Colin Cross12129292020-10-29 18:23:58 -0700116 "ninja_deps_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700117 "onceper_test.go",
118 "package_test.go",
Jiyong Parkdda8f692020-11-09 18:38:48 +0900119 "packaging_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700120 "path_properties_test.go",
121 "paths_test.go",
122 "prebuilt_test.go",
123 "rule_builder_test.go",
satayev0ee2f912021-12-01 17:39:48 +0000124 "sdk_version_test.go",
Paul Duffin581f2e52021-09-22 13:25:23 +0100125 "sdk_test.go",
Colin Cross9aed5bc2020-12-28 15:15:34 -0800126 "singleton_module_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700127 "soong_config_modules_test.go",
128 "util_test.go",
129 "variable_test.go",
130 "visibility_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700131 ],
132}