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.cpp b/script_api/Generator.cpp
index f67e473..bcb7b02 100644
--- a/script_api/Generator.cpp
+++ b/script_api/Generator.cpp
@@ -154,7 +154,7 @@
 
 using namespace std;
 
-static bool parseCommandLine(int argc, char* argv[], unsigned int* maxApiLevel, bool* forVerification,
+static bool parseCommandLine(int argc, char* argv[], unsigned int* maxApiLevel,
                              vector<string>* specFileNames) {
     for (int i = 1; i < argc; i++) {
         if (argv[i][0] == '-') {
@@ -171,8 +171,6 @@
                     cerr << "Missing version number after -v\n";
                     return false;
                 }
-            } else if (argv[i][1] == 'H') {
-                *forVerification = true;
             } else {
                 cerr << "Unrecognized flag %s\n" << argv[i] << "\n";
                 return false;
@@ -192,9 +190,9 @@
     // If there's no restriction, generated test files for the very highest version.
     unsigned int maxApiLevel = VersionInfo::kUnreleasedVersion;
     vector<string> specFileNames;
-    bool forVerification = false;
-    if (!parseCommandLine(argc, argv, &maxApiLevel, &forVerification, &specFileNames)) {
-        cout << "Usage: gen_runtime spec_file [spec_file...] [-v version_of_test_files][-H]\n";
+    if (!parseCommandLine(argc, argv, &maxApiLevel, &specFileNames)) {
+        cout << "Usage: gen_runtime spec_file [spec_file...] [-v "
+                "version_of_test_files]\n";
         return -1;
     }
     bool success = true;
@@ -204,7 +202,7 @@
         }
     }
     if (success) {
-        success = systemSpecification.generateFiles(forVerification, maxApiLevel);
+        success = systemSpecification.generateFiles(maxApiLevel);
     }
     return success ? 0 : -2;
 }