Declare ANDROID_VERSION global

Bug: 140105936
Test: print the rendered .html to PDF and see what filename it uses
Change-Id: If19ff54761dd26e007ee0ff44e4ffc568d05db2d
diff --git a/make_cdd.py b/make_cdd.py
index 959d8ec..f2e143c 100755
--- a/make_cdd.py
+++ b/make_cdd.py
@@ -23,6 +23,7 @@
 
 
 HEADERS_FOR_TOC = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'h7']
+global ANDROID_VERSION
 ANDROID_VERSION = "7.0, (N)"
 TOC_PER_COL = 34
 
@@ -179,6 +180,7 @@
 
 def main():
   # Read version and branch info and output file name.
+  global ANDROID_VERSION
   (ANDROID_VERSION, CURRENT_BRANCH, output_filename) = get_version_branch_and_output()
 
   # Scan current directory for source files and compile info for the toc..