summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2023-04-20 15:46:49 -0700
committer Cole Faust <colefaust@google.com> 2023-05-08 17:22:11 +0000
commit32645f219cb3d4588c1aefcf9c7db944aef6cd45 (patch)
tree3289943d1f5ef837aad074990ccc452583f0138c /cmdline
parentaad32c712ec6860d96c30e152bfcd02e74200b15 (diff)
Remove the codegen property
The codegen property was very similar to the targets property, except: - on host it combined all the properties from all the arches - it would apply the properties from each arch branch if the device supported it, with the exception of always including a 32bit branch if the 64bit branch was included. For the most part, this could be expressed by using the regular `target` property in soong. However, the `target` branches are selected based on if the module itself is being compiled for 32bit/64bit/a particular arch, not if the device supports it or not. This means that after this change, compiling a module for 32 bit on a device that supports both 64 and 32 bit will not have the 64 bit flags. Note that the reverse does not work the same way, the 32 bit flags are manually copied onto the 64 bit `target` branch to maintain the plugin's old behavior of always including 32bit code on 64bit. Bug: 247785938 Test: Presubmits (because of the behavior change described above, the ninja files do have differences) Change-Id: I23f585c2a2ad2cbe9b3e212097aef88d63c5394b
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/Android.bp b/cmdline/Android.bp
index 91c8ccd8d1..46ab8a61fc 100644
--- a/cmdline/Android.bp
+++ b/cmdline/Android.bp
@@ -36,7 +36,7 @@ cc_library_headers {
],
}
-art_cc_defaults {
+cc_defaults {
name: "art_cmdline_tests_defaults",
tidy_timeout_srcs: ["cmdline_parser_test.cc"],
srcs: ["cmdline_parser_test.cc"],