blob: e88ea03b3362c73e5aa5e51290b5dceee89b487c [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",
Joe Onorato37f900c2023-07-18 16:58:16 -070035 "generated_cc_library.go",
Inseob Kime498dd92020-08-04 09:24:04 +090036 "image.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070037 "linkable.go",
38 "lto.go",
39 "makevars.go",
40 "pgo.go",
41 "prebuilt.go",
42 "proto.go",
43 "rs.go",
44 "sanitize.go",
45 "sabi.go",
46 "sdk.go",
Inseob Kimde5744a2020-12-02 13:14:28 +090047 "snapshot_prebuilt.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070048 "snapshot_utils.go",
49 "stl.go",
50 "strip.go",
Trevor Radcliffecee4e052022-09-06 19:31:25 +000051 "sysprop.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070052 "tidy.go",
53 "util.go",
54 "vendor_snapshot.go",
55 "vndk.go",
56 "vndk_prebuilt.go",
57
Jaewoong Jung4b79e982020-06-01 10:45:49 -070058 "cmakelists.go",
59 "compdb.go",
60 "compiler.go",
61 "installer.go",
62 "linker.go",
63
64 "binary.go",
65 "binary_sdk_member.go",
66 "fuzz.go",
Paul Duffin63696222021-09-06 10:28:34 +010067 "image_sdk_traits.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070068 "library.go",
69 "library_headers.go",
70 "library_sdk_member.go",
Inseob Kim5eb7ee92022-04-27 10:30:34 +090071 "library_stub.go",
Paul Duffin93b750e2019-11-19 19:44:10 +000072 "native_bridge_sdk_trait.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070073 "object.go",
74 "test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070075
Dan Albertf1d14c72020-07-30 14:32:55 -070076 "ndk_abi.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070077 "ndk_headers.go",
78 "ndk_library.go",
Dan Albertf1d14c72020-07-30 14:32:55 -070079 "ndk_prebuilt.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070080 "ndk_sysroot.go",
81
82 "llndk_library.go",
83
84 "kernel_headers.go",
85
86 "genrule.go",
87
88 "vendor_public_library.go",
89
90 "testing.go",
Kiyoung Kim24dfc1f2020-11-16 10:48:44 +090091
92 "stub_library.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070093 ],
94 testSrcs: [
Yi Kongd5954a22022-01-26 17:36:26 +080095 "afdo_test.go",
David Brazdil979ef5b2022-05-09 23:11:19 +010096 "binary_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070097 "cc_test.go",
98 "compiler_test.go",
99 "gen_test.go",
100 "genrule_test.go",
101 "library_headers_test.go",
Inseob Kim5eb7ee92022-04-27 10:30:34 +0900102 "library_stub_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700103 "library_test.go",
Liz Kammer3b0f36c2022-09-16 12:39:27 -0400104 "lto_test.go",
Spandan Das73bcafc2022-08-18 23:26:00 +0000105 "ndk_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700106 "object_test.go",
107 "prebuilt_test.go",
108 "proto_test.go",
Colin Crossaf98f582021-05-12 17:27:32 -0700109 "sanitize_test.go",
Spandan Das73bcafc2022-08-18 23:26:00 +0000110 "sdk_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700111 "test_data_test.go",
Chih-Hung Hsieh104f51f2022-04-20 15:48:41 -0700112 "tidy_test.go",
Colin Crossf12db532021-04-23 14:04:33 -0700113 "vendor_public_library_test.go",
Colin Cross0fce0ba2021-01-08 16:40:12 -0800114 "vendor_snapshot_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700115 ],
116 pluginFor: ["soong_build"],
117}