Merge "Create out dir if it does not exist." am: bd491d9de7
Original change: https://android-review.googlesource.com/c/platform/development/+/1646655 Change-Id: I089bf08b7c99f90a6b029deb21d785e492e86488
This commit is contained in:
@@ -55,6 +55,7 @@ def generate_docs() -> None:
|
|||||||
html_dir = out_dir / 'html'
|
html_dir = out_dir / 'html'
|
||||||
input_dir = product_out.parents[2] / 'soong/ndk/sysroot/usr/include'
|
input_dir = product_out.parents[2] / 'soong/ndk/sysroot/usr/include'
|
||||||
doxyfile_template = ANDROID_TOP / 'frameworks/native/docs/Doxyfile'
|
doxyfile_template = ANDROID_TOP / 'frameworks/native/docs/Doxyfile'
|
||||||
|
out_dir.mkdir(parents=True, exist_ok=True)
|
||||||
doxyfile = out_dir / 'Doxyfile'
|
doxyfile = out_dir / 'Doxyfile'
|
||||||
|
|
||||||
doxyfile_contents = doxyfile_template.read_text()
|
doxyfile_contents = doxyfile_template.read_text()
|
||||||
|
|||||||
Reference in New Issue
Block a user