AI 146831: am: CL 146750 am: CL 146747 Add the JetCreator tools and docs to the SDK (mac/windows only).
  Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146831
diff --git a/build/sdk-darwin-x86.atree b/build/sdk-darwin-x86.atree
index 1e27678..26bbd1c 100644
--- a/build/sdk-darwin-x86.atree
+++ b/build/sdk-darwin-x86.atree
@@ -8,3 +8,12 @@
 framework/org.eclipse.core.commands_3.2.0.I20060605-1400.jar tools/lib/org.eclipse.core.commands_3.2.0.I20060605-1400.jar
 framework/org.eclipse.equinox.common_3.2.0.v20060603.jar tools/lib/org.eclipse.equinox.common_3.2.0.v20060603.jar
 framework/org.eclipse.jface_3.2.0.I20060605-1400.jar tools/lib/org.eclipse.jface_3.2.0.I20060605-1400.jar
+
+# JetCreator (only available on mac/windows)
+external/sonivox/jet_tools/JetCreator tools/JetCreator
+prebuilt/darwin-x86/jetcreator/libEASLIb.dylib tools/JetCreator/libEASLIb.dylib
+
+external/sonivox/docs/JET_Authoring_Guidelines.html docs/JetCreator/JET_Authoring_Guidelines.html
+external/sonivox/docs/JET_Authoring_Guidelines_files docs/JetCreator/JET_Authoring_Guidelines_files
+external/sonivox/docs/JET_Creator_User_Manual.html docs/JetCreator/JET_Creator_User_Manual.html
+external/sonivox/docs/JET_Creator_User_Manual_files docs/JetCreator/JET_Creator_User_Manual_files
diff --git a/build/tools/make_windows_sdk.sh b/build/tools/make_windows_sdk.sh
index 2abe7b1..a23a66a 100755
--- a/build/tools/make_windows_sdk.sh
+++ b/build/tools/make_windows_sdk.sh
@@ -128,6 +128,25 @@
     cp -v development/tools/hierarchyviewer/etc/hierarchyviewer.bat "$TOOLS"
     cp -v development/tools/draw9patch/etc/draw9patch.bat "$TOOLS"
     cp -v development/tools/sdkmanager/app/etc/android.bat "$TOOLS"
+    
+    # Put the JetCreator tools (not available in the linux SDK)
+    JETCREATOR="$TOOLS/JetCreator"
+    JETDOC="$DEST/docs/JetCreator"
+
+    # need to rm these folders since a Mac SDK will have them and it would create a conflict
+    rm -rfv "$JETCREATOR"
+    rm -rfv "$JETDOC"
+
+    # now create fresh folders for JetCreator
+    mkdir "$JETCREATOR"
+    mkdir "$JETDOC"
+
+    cp -v external/sonivox/jet_tools/JetCreator "$JETCREATOR"
+    cp -v prebuilt/windows/jetcreator/EASDLL.dll "$JETCREATOR" 
+    cp -v external/sonivox/docs/JET_Authoring_Guidelines.html "$JETDOC"
+    cp -rv external/sonivox/docs/JET_Authoring_Guidelines_files/* docs/JetCreator/JET_Authoring_Guidelines_files
+    cp -v external/sonivox/docs/JET_Creator_User_Manual.html "$JETDOC"
+    cp -rv external/sonivox/docs/JET_Creator_User_Manual_files/* docs/JetCreator/JET_Creator_User_Manual_files
 
     # Copy or move platform specific tools to the default platform.
     cp -v dalvik/dx/etc/dx.bat "$PLATFORM_TOOLS"