blob: f49dc1a9ec962a38bd7e806b8d92ddaa9c7ea261 [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-cc",
7 pkgPath: "android/soong/cc",
8 deps: [
9 "blueprint",
10 "blueprint-pathtools",
11 "soong",
Vinh Tran367d89d2023-04-28 11:21:25 -040012 "soong-aidl-library",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070013 "soong-android",
Rupert Shuttleworth095081c2021-03-25 09:06:03 +000014 "soong-bazel",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070015 "soong-cc-config",
16 "soong-etc",
hamzehc0a671f2021-07-22 12:05:08 -070017 "soong-fuzz",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070018 "soong-genrule",
Inseob Kim5eb7ee92022-04-27 10:30:34 +090019 "soong-multitree",
Kiyoung Kim48f37782021-07-07 12:42:39 +090020 "soong-snapshot",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070021 "soong-tradefed",
22 ],
23 srcs: [
Yi Kongeb8efc92021-12-09 18:06:29 +080024 "afdo.go",
Vinh Tran44cb78c2023-03-09 22:07:19 -050025 "fdo_profile.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070026 "androidmk.go",
Dan Albert1a246272020-07-06 14:49:35 -070027 "api_level.go",
Jingwen Chen91220d72021-03-24 02:18:33 -040028 "bp2build.go",
Yi Kongeb8efc92021-12-09 18:06:29 +080029 "builder.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070030 "cc.go",
31 "ccdeps.go",
32 "check.go",
33 "coverage.go",
34 "gen.go",
Inseob Kime498dd92020-08-04 09:24:04 +090035 "image.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070036 "linkable.go",
37 "lto.go",
38 "makevars.go",
39 "pgo.go",
40 "prebuilt.go",
41 "proto.go",
42 "rs.go",
43 "sanitize.go",
44 "sabi.go",
45 "sdk.go",
Inseob Kimde5744a2020-12-02 13:14:28 +090046 "snapshot_prebuilt.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070047 "snapshot_utils.go",
48 "stl.go",
49 "strip.go",
Trevor Radcliffecee4e052022-09-06 19:31:25 +000050 "sysprop.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070051 "tidy.go",
52 "util.go",
53 "vendor_snapshot.go",
54 "vndk.go",
55 "vndk_prebuilt.go",
56
Jaewoong Jung4b79e982020-06-01 10:45:49 -070057 "cmakelists.go",
58 "compdb.go",
59 "compiler.go",
60 "installer.go",
61 "linker.go",
62
63 "binary.go",
64 "binary_sdk_member.go",
65 "fuzz.go",
Paul Duffin63696222021-09-06 10:28:34 +010066 "image_sdk_traits.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070067 "library.go",
68 "library_headers.go",
69 "library_sdk_member.go",
Inseob Kim5eb7ee92022-04-27 10:30:34 +090070 "library_stub.go",
Paul Duffin93b750e2019-11-19 19:44:10 +000071 "native_bridge_sdk_trait.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070072 "object.go",
73 "test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070074
Dan Albertf1d14c72020-07-30 14:32:55 -070075 "ndk_abi.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070076 "ndk_headers.go",
77 "ndk_library.go",
Dan Albertf1d14c72020-07-30 14:32:55 -070078 "ndk_prebuilt.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070079 "ndk_sysroot.go",
80
81 "llndk_library.go",
82
83 "kernel_headers.go",
84
85 "genrule.go",
86
87 "vendor_public_library.go",
88
89 "testing.go",
Kiyoung Kim24dfc1f2020-11-16 10:48:44 +090090
91 "stub_library.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070092 ],
93 testSrcs: [
Yi Kongd5954a22022-01-26 17:36:26 +080094 "afdo_test.go",
David Brazdil979ef5b2022-05-09 23:11:19 +010095 "binary_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070096 "cc_test.go",
97 "compiler_test.go",
98 "gen_test.go",
99 "genrule_test.go",
100 "library_headers_test.go",
Inseob Kim5eb7ee92022-04-27 10:30:34 +0900101 "library_stub_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700102 "library_test.go",
Liz Kammer3b0f36c2022-09-16 12:39:27 -0400103 "lto_test.go",
Spandan Das73bcafc2022-08-18 23:26:00 +0000104 "ndk_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700105 "object_test.go",
106 "prebuilt_test.go",
107 "proto_test.go",
Colin Crossaf98f582021-05-12 17:27:32 -0700108 "sanitize_test.go",
Spandan Das73bcafc2022-08-18 23:26:00 +0000109 "sdk_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700110 "test_data_test.go",
Chih-Hung Hsieh104f51f2022-04-20 15:48:41 -0700111 "tidy_test.go",
Colin Crossf12db532021-04-23 14:04:33 -0700112 "vendor_public_library_test.go",
Colin Cross0fce0ba2021-01-08 16:40:12 -0800113 "vendor_snapshot_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700114 ],
115 pluginFor: ["soong_build"],
116}