Revise API reference generator for DevSite-based DAC
This CL updates the RenderScript API references generator so that
DevSite headers are generated, and the driving generate.sh now places the
generated files in a Piper client, assuming DevSite-based DAC directory
structure.
Also removed support for verification (i.e. -H) as it is no longer used.
Bug: 62802398
Test: run generate.sh given a Piper client
Test: g4 diff between generated API reference files and the DAC version
Change-Id: Ie9bc7ef5a2cc58f17d07d86872220fa9d2dde213
diff --git a/script_api/Generator.h b/script_api/Generator.h
index 5d72101..dc61edc 100644
--- a/script_api/Generator.h
+++ b/script_api/Generator.h
@@ -23,11 +23,11 @@
// Generates the Java and RenderScript test files. The implementation is in GenerateTestFiles.cpp.
bool generateTestFiles(const std::string& directory, unsigned int versionOfTestFiles);
-/* Generates the documentation files. The implementation is in GenerateDocumentation.cpp.
- * If forVerification is false (the default), we generate the .jd files needed by the
- * documentation system. If it's true, we generate complete .html files for local debugging.
+/* Generates the documentation files. The implementation is in
+ * GenerateDocumentation.cpp. This function generates the .jd files needed by
+ * the documentation system.
*/
-bool generateDocumentation(const std::string& director, bool forVerification);
+bool generateDocumentation(const std::string& director);
/* Generates the RSStubsWhiteList.cpp file. Also generates script test files that are used
* when testing slang and that can be used to manually verify the white list.