summaryrefslogtreecommitdiff
path: root/sdk/java_sdk_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2022-09-01 11:02:15 -0700
committer Colin Cross <ccross@android.com> 2022-09-01 14:21:36 -0700
commitfc3b064c9a23081901c0b599ecd4a4b1baab5fc4 (patch)
tree5a096c65650e62ac3efb18cd0d3539386b5cfcd2 /sdk/java_sdk_test.go
parent52d9b95f5439facfdaece0c40ba106b05743a289 (diff)
Make toolchain more compose-y
Remove many of the overridden methods from toolchainBase in favor of having smaller composable types. toolchainNoCrt, toolchain32Bit and toolchain64Bit now only provide a few methods and can be mixed in to any toolchain type. toolchainLinux, toolchainBionic, toolchainWindows and toolchainDarwin now embed toolchainBase to provide the default flags methods for when they don't override them. This avoids the need for disambiguation methods required when a type embeds two types that implement the same method. Test: cc_test.go Change-Id: I641da2a47aba597c517f693efedb65cf41273c82
Diffstat (limited to 'sdk/java_sdk_test.go')
0 files changed, 0 insertions, 0 deletions