blob: 3bbcaa92e3d2e19b7413e59a344bf03c8532aead [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",
Yu Liueae7b362023-11-16 17:05:47 -080012 "soong-aconfig",
Vinh Tran367d89d2023-04-28 11:21:25 -040013 "soong-aidl-library",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070014 "soong-android",
15 "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",
Aditya Choudhary87b2ab22023-11-17 15:27:06 +000020 "soong-testing",
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",
Yi Kongeb8efc92021-12-09 18:06:29 +080028 "builder.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070029 "cc.go",
30 "ccdeps.go",
31 "check.go",
32 "coverage.go",
33 "gen.go",
Joe Onorato37f900c2023-07-18 16:58:16 -070034 "generated_cc_library.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",
Sharjeel Khanc6a93d82023-07-18 21:01:11 +000039 "orderfile.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070040 "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 "stl.go",
48 "strip.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070049 "tidy.go",
50 "util.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070051 "vndk.go",
52 "vndk_prebuilt.go",
53
Hao Chen1c8ea5b2023-10-20 23:03:45 +000054 "cmake_snapshot.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070055 "cmakelists.go",
56 "compdb.go",
57 "compiler.go",
58 "installer.go",
59 "linker.go",
60
61 "binary.go",
62 "binary_sdk_member.go",
63 "fuzz.go",
Paul Duffin63696222021-09-06 10:28:34 +010064 "image_sdk_traits.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070065 "library.go",
66 "library_headers.go",
67 "library_sdk_member.go",
Inseob Kim5eb7ee92022-04-27 10:30:34 +090068 "library_stub.go",
Paul Duffin93b750e2019-11-19 19:44:10 +000069 "native_bridge_sdk_trait.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070070 "object.go",
71 "test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070072
Dan Albertf1d14c72020-07-30 14:32:55 -070073 "ndk_abi.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070074 "ndk_headers.go",
75 "ndk_library.go",
Dan Albertf1d14c72020-07-30 14:32:55 -070076 "ndk_prebuilt.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070077 "ndk_sysroot.go",
78
79 "llndk_library.go",
80
81 "kernel_headers.go",
82
83 "genrule.go",
84
85 "vendor_public_library.go",
86
87 "testing.go",
Kiyoung Kim24dfc1f2020-11-16 10:48:44 +090088
89 "stub_library.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070090 ],
91 testSrcs: [
Yi Kongd5954a22022-01-26 17:36:26 +080092 "afdo_test.go",
David Brazdil979ef5b2022-05-09 23:11:19 +010093 "binary_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070094 "cc_test.go",
Ronald Braunsteina115e262024-04-09 18:07:38 -070095 "cc_test_only_property_test.go",
Hao Chen1c8ea5b2023-10-20 23:03:45 +000096 "cmake_snapshot_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070097 "compiler_test.go",
98 "gen_test.go",
99 "genrule_test.go",
100 "library_headers_test.go",
101 "library_test.go",
Liz Kammer3b0f36c2022-09-16 12:39:27 -0400102 "lto_test.go",
Spandan Das73bcafc2022-08-18 23:26:00 +0000103 "ndk_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700104 "object_test.go",
Sharjeel Khanc6a93d82023-07-18 21:01:11 +0000105 "orderfile_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700106 "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",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700113 ],
Hao Chen1c8ea5b2023-10-20 23:03:45 +0000114 embedSrcs: [
115 "cmake_ext_add_aidl_library.txt",
116 "cmake_ext_append_flags.txt",
117 "cmake_main.txt",
118 "cmake_module_aidl.txt",
119 "cmake_module_cc.txt",
120 ],
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700121 pluginFor: ["soong_build"],
122}