commit | 9c2cee17011342943e2b5c0f8246c6eb9409a8dc | [log] [tgz] |
---|---|---|
author | Mohannad Farrag <aymanm@google.com> | Tue Dec 06 17:11:25 2022 +0000 |
committer | Motomu Utsumi <motomuman@google.com> | Thu Dec 08 12:30:47 2022 +0900 |
tree | 03ffa430275f2db296c0f3d3ceba9545035421b7 | |
parent | 81bb83459dce601256884554b04e244240abf2c2 [diff] |
gn2bp: Split `gcc_preprocess` actions into genrules * It's not allowed to run `gcc` from within genrule in Soong. So It was an easier decision to create a cc_object and run it with a -E flag which is equivalent to what `gcc_preprocess` action does. Then perform a soong_zip on the result to generate the equivalent java file needed Test: update_results && m cronet_aml_components_cronet_android_cronet Change-Id: I1b2e50f1f95fbf700c1190902c716e624805a2b4