Raw ninja build log (not hashes)

198 views
Skip to first unread message

Арсений Марьин

unread,
Dec 28, 2021, 9:52:37 PM12/28/21
to Android Building
I want to obtain ninja build log with actual bash commands (not hashes). Is it possible?

Dan Willemsen

unread,
Dec 28, 2021, 9:55:48 PM12/28/21
to android-...@googlegroups.com
The ninja log file, which is an implementation detail, does not have that information. The verbose.log.gz does have the command, and it's also possible to query the commands from ninja. In any case, remember that the command is executed within the build sandbox environment, so it may not act the same when you run it on the command line yourself.

- Dan

On Tue, Dec 28, 2021 at 6:52 PM Арсений Марьин <ars.ma...@gmail.com> wrote:
I want to obtain ninja build log with actual bash commands (not hashes). Is it possible?

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/961ceca3-90f3-441d-9b97-1fd790668b9en%40googlegroups.com.

操权力

unread,
Jan 4, 2022, 5:40:18 PM1/4/22
to android-...@googlegroups.com
prebuilts/build-tools/linux-x86/bin/ninja -f out/combined-$(TARGET_PRODUCT).ninja -t commands $(ModuleName)

'Dan Willemsen' via Android Building <android-...@googlegroups.com> 于2021年12月29日周三 10:55写道:
Reply all
Reply to author
Forward
0 new messages