generate Notice.html

1,002 views
Skip to first unread message

Sascha Effert

unread,
Feb 28, 2019, 10:53:35 AM2/28/19
to Android Building
Hi,

as part of our build we are generating the Notice.xml files for the vendor and system partition. As part of the AOSP obligation fullfillments we have to deliver a Notice.html. Is there a way to convert the XML files in a html file?

bests

Sascha

David

unread,
Feb 28, 2019, 7:27:54 PM2/28/19
to Android Building
Hey,

you could generate it at runtime the same way as the Settings App is doing it.
See the SettingsApp:

Or there is also a python script which you could use:


Cheers,
David

Sascha Effert

unread,
Mar 1, 2019, 11:34:45 AM3/1/19
to Android Building
Hi,

thanks, I got the file by calling

./build/make/tools/generate-notice-files.py --text-output out/notice.txt --html-output out/notice.html -t notice -s out/

from the root of my Android checkout.

bests

Sascha
Reply all
Reply to author
Forward
0 new messages