Skip to content
Commit 15a2c300 authored by Patrick Rohr's avatar Patrick Rohr
Browse files

gn2bp: remove script from sources

Actions using template "action_with_pydeps" put the script inside
inputs.
In soong, a file cannot be in both tool_files and srcs, so remove it
from the latter if it is there.

This got me to successfully build a valid Android.bp file for the first
time! (All the way to the first compile error, yay!) Note that this only
works with perfetto removed via 'enable_base_tracing = false' in gn
args.
Also note that likely none of the actions are correct yet.
{{response_file_name}} tags are not handled yet and all script args that
reference a file or directory are most certainly wrong.

Test: //base:base
Change-Id: I779141121c63982f001fb82a9705439cde36dd48
parent 2041d5b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment