diff options
author | Cole Faust <colefaust@google.com> | 2023-04-24 11:47:08 -0700 |
---|---|---|
committer | Cole Faust <colefaust@google.com> | 2023-04-24 15:10:52 -0700 |
commit | e9748ade075bda078a7f3e7041d0afdd5f07b08e (patch) | |
tree | 97cb617b2c6a0f7665a5e110c3f1d23a33090d00 | |
parent | 09d044cd46b3ba1a92cd10fd4fa918e917baf7d5 (diff) | |
download | vixl-e9748ade075bda078a7f3e7041d0afdd5f07b08e.tar.gz |
Remove usages of art_cc_defaults
Replace the codegen property with the target property.
Bug: 247785938
Test: See other cl in the topic
Change-Id: I1dccba261ae5ab0e19cc4ae4647b0ec02e6c2427
-rw-r--r-- | Android.bp | 33 |
1 files changed, 26 insertions, 7 deletions
@@ -106,11 +106,23 @@ cc_defaults { }, } -art_cc_defaults { +cc_defaults { name: "vixl-arm", defaults: ["vixl-common"], - codegen: { - arm: { + target: { + host: { + srcs: ["src/aarch32/*.cc"], + cppflags: [ + "-DVIXL_INCLUDE_TARGET_T32", + ], + }, + android_arm: { + srcs: ["src/aarch32/*.cc"], + cppflags: [ + "-DVIXL_INCLUDE_TARGET_T32", + ], + }, + android_arm64: { srcs: ["src/aarch32/*.cc"], cppflags: [ "-DVIXL_INCLUDE_TARGET_T32", @@ -119,11 +131,18 @@ art_cc_defaults { }, } -art_cc_defaults { +cc_defaults { name: "vixl-arm64", defaults: ["vixl-common"], - codegen: { - arm64: { + target: { + host: { + srcs: ["src/aarch64/*.cc"], + cppflags: [ + "-DVIXL_INCLUDE_SIMULATOR_AARCH64", + "-DVIXL_INCLUDE_TARGET_A64", + ], + }, + android_arm64: { srcs: ["src/aarch64/*.cc"], cppflags: [ "-DVIXL_INCLUDE_SIMULATOR_AARCH64", @@ -234,7 +253,7 @@ cc_test_host { "test", ], exclude_srcs: [ - "test/test-donkey.cc" + "test/test-donkey.cc", ], srcs: [ "test/*.cc", |