blob: 3688c8a9aead6db5042d6a4921976e8a9567c1f1 [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",
Aditya Choudhary87b2ab22023-11-17 15:27:06 +000019 "soong-testing",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070020 "soong-tradefed",
21 ],
22 srcs: [
Yi Kongeb8efc92021-12-09 18:06:29 +080023 "afdo.go",
Vinh Tran44cb78c2023-03-09 22:07:19 -050024 "fdo_profile.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070025 "androidmk.go",
Dan Albert1a246272020-07-06 14:49:35 -070026 "api_level.go",
Yi Kongeb8efc92021-12-09 18:06:29 +080027 "builder.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070028 "cc.go",
29 "ccdeps.go",
30 "check.go",
31 "coverage.go",
32 "gen.go",
Joe Onorato37f900c2023-07-18 16:58:16 -070033 "generated_cc_library.go",
Inseob Kime498dd92020-08-04 09:24:04 +090034 "image.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070035 "linkable.go",
36 "lto.go",
37 "makevars.go",
Sharjeel Khanc6a93d82023-07-18 21:01:11 +000038 "orderfile.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070039 "prebuilt.go",
40 "proto.go",
41 "rs.go",
42 "sanitize.go",
43 "sabi.go",
44 "sdk.go",
Inseob Kimde5744a2020-12-02 13:14:28 +090045 "snapshot_prebuilt.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070046 "stl.go",
47 "strip.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070048 "tidy.go",
49 "util.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070050 "vndk.go",
51 "vndk_prebuilt.go",
52
Hao Chen1c8ea5b2023-10-20 23:03:45 +000053 "cmake_snapshot.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070054 "cmakelists.go",
55 "compdb.go",
56 "compiler.go",
57 "installer.go",
58 "linker.go",
59
60 "binary.go",
61 "binary_sdk_member.go",
62 "fuzz.go",
Paul Duffin63696222021-09-06 10:28:34 +010063 "image_sdk_traits.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070064 "library.go",
65 "library_headers.go",
66 "library_sdk_member.go",
Paul Duffin93b750e2019-11-19 19:44:10 +000067 "native_bridge_sdk_trait.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070068 "object.go",
69 "test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070070
Dan Albertf1d14c72020-07-30 14:32:55 -070071 "ndk_abi.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070072 "ndk_headers.go",
73 "ndk_library.go",
74 "ndk_sysroot.go",
75
76 "llndk_library.go",
77
78 "kernel_headers.go",
79
80 "genrule.go",
81
82 "vendor_public_library.go",
83
84 "testing.go",
Kiyoung Kim24dfc1f2020-11-16 10:48:44 +090085
86 "stub_library.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070087 ],
88 testSrcs: [
Yi Kongd5954a22022-01-26 17:36:26 +080089 "afdo_test.go",
David Brazdil979ef5b2022-05-09 23:11:19 +010090 "binary_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070091 "cc_test.go",
Ronald Braunsteina115e262024-04-09 18:07:38 -070092 "cc_test_only_property_test.go",
Hao Chen1c8ea5b2023-10-20 23:03:45 +000093 "cmake_snapshot_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070094 "compiler_test.go",
95 "gen_test.go",
96 "genrule_test.go",
97 "library_headers_test.go",
98 "library_test.go",
Liz Kammer3b0f36c2022-09-16 12:39:27 -040099 "lto_test.go",
Spandan Das73bcafc2022-08-18 23:26:00 +0000100 "ndk_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700101 "object_test.go",
Sharjeel Khanc6a93d82023-07-18 21:01:11 +0000102 "orderfile_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700103 "prebuilt_test.go",
104 "proto_test.go",
Colin Crossaf98f582021-05-12 17:27:32 -0700105 "sanitize_test.go",
Spandan Das73bcafc2022-08-18 23:26:00 +0000106 "sdk_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700107 "test_data_test.go",
Chih-Hung Hsieh104f51f2022-04-20 15:48:41 -0700108 "tidy_test.go",
Colin Crossf12db532021-04-23 14:04:33 -0700109 "vendor_public_library_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700110 ],
Hao Chen1c8ea5b2023-10-20 23:03:45 +0000111 embedSrcs: [
112 "cmake_ext_add_aidl_library.txt",
113 "cmake_ext_append_flags.txt",
114 "cmake_main.txt",
115 "cmake_module_aidl.txt",
116 "cmake_module_cc.txt",
117 ],
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700118 pluginFor: ["soong_build"],
Cole Faust16d227a2024-09-18 16:42:01 -0700119 // Used by plugins
120 visibility: ["//visibility:public"],
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700121}