Move stuff from prebuilt/ to prebuilts/misc

Change-Id: Ia54ee1be4b81a1ca73e93355a36bab23b7012665
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..ed78307
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,21 @@
+#
+# Copyright (C) 2008 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+LOCAL_PATH := $(my-dir)
+
+include $(call first-makefiles-under, \
+		$(LOCAL_PATH)/common \
+		$(LOCAL_PATH)/$(TARGET_PREBUILT_TAG) \
+		$(LOCAL_PATH)/$(HOST_PREBUILT_TAG))
diff --git a/android-arm/gdbserver/Android.mk b/android-arm/gdbserver/Android.mk
new file mode 100644
index 0000000..72af088
--- /dev/null
+++ b/android-arm/gdbserver/Android.mk
@@ -0,0 +1,16 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+# Explicitly mark gdbserver as "eng" so that it doesn't
+# get included in user or SDK builds. (GPL issues)
+#
+LOCAL_SRC_FILES := gdbserver
+LOCAL_MODULE := gdbserver
+LOCAL_MODULE_CLASS := EXECUTABLES
+LOCAL_MODULE_TAGS := debug
+include $(BUILD_PREBUILT)
+
+# Any prebuilt files with default TAGS can use the below:
+prebuilt_files :=
+
+$(call add-prebuilt-files, EXECUTABLES, $(prebuilt_files))
diff --git a/android-arm/gdbserver/README.txt b/android-arm/gdbserver/README.txt
new file mode 100644
index 0000000..f2fc3d2
--- /dev/null
+++ b/android-arm/gdbserver/README.txt
@@ -0,0 +1,2 @@
+To compile a new gdbserver, see
+//toolchain/gdb/src/gdb/gdbserver/README_ANDROID.txt
diff --git a/android-arm/gdbserver/gdbserver b/android-arm/gdbserver/gdbserver
new file mode 100755
index 0000000..ae5668d
--- /dev/null
+++ b/android-arm/gdbserver/gdbserver
Binary files differ
diff --git a/android-x86/gdbserver/Android.mk b/android-x86/gdbserver/Android.mk
new file mode 100644
index 0000000..72af088
--- /dev/null
+++ b/android-x86/gdbserver/Android.mk
@@ -0,0 +1,16 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+# Explicitly mark gdbserver as "eng" so that it doesn't
+# get included in user or SDK builds. (GPL issues)
+#
+LOCAL_SRC_FILES := gdbserver
+LOCAL_MODULE := gdbserver
+LOCAL_MODULE_CLASS := EXECUTABLES
+LOCAL_MODULE_TAGS := debug
+include $(BUILD_PREBUILT)
+
+# Any prebuilt files with default TAGS can use the below:
+prebuilt_files :=
+
+$(call add-prebuilt-files, EXECUTABLES, $(prebuilt_files))
diff --git a/android-x86/gdbserver/gdbserver b/android-x86/gdbserver/gdbserver
new file mode 100755
index 0000000..d121dd9
--- /dev/null
+++ b/android-x86/gdbserver/gdbserver
Binary files differ
diff --git a/darwin-x86/flex/MODULE_LICENSE_BSD_LIKE b/darwin-x86/flex/MODULE_LICENSE_BSD_LIKE
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/darwin-x86/flex/MODULE_LICENSE_BSD_LIKE
diff --git a/darwin-x86/flex/NOTICE b/darwin-x86/flex/NOTICE
new file mode 100644
index 0000000..c041f02
--- /dev/null
+++ b/darwin-x86/flex/NOTICE
@@ -0,0 +1,38 @@
+Flex carries the copyright used for BSD software, slightly modified
+because it originated at the Lawrence Berkeley (not Livermore!) Laboratory,
+which operates under a contract with the Department of Energy:
+
+	Copyright (c) 1990 The Regents of the University of California.
+	All rights reserved.
+
+	This code is derived from software contributed to Berkeley by
+	Vern Paxson.
+
+	The United States Government has rights in this work pursuant
+	to contract no. DE-AC03-76SF00098 between the United States
+	Department of Energy and the University of California.
+
+	Redistribution and use in source and binary forms with or without
+	modification are permitted provided that: (1) source distributions
+	retain this entire copyright notice and comment, and (2)
+	distributions including binaries display the following
+	acknowledgement: ``This product includes software developed by the
+	University of California, Berkeley and its contributors'' in the
+	documentation or other materials provided with the distribution and
+	in all advertising materials mentioning features or use of this
+	software.  Neither the name of the University nor the names of its
+	contributors may be used to endorse or promote products derived
+	from this software without specific prior written permission.
+
+	THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+	IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+	WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+	PURPOSE.
+
+This basically says "do whatever you please with this software except
+remove this notice or take advantage of the University's (or the flex
+authors') name".
+
+Note that the "flex.skl" scanner skeleton carries no copyright notice.
+You are free to do whatever you please with scanners generated using flex;
+for them, you are not even bound by the above copyright.
diff --git a/darwin-x86/flex/PREBUILT b/darwin-x86/flex/PREBUILT
new file mode 100644
index 0000000..9a98850
--- /dev/null
+++ b/darwin-x86/flex/PREBUILT
@@ -0,0 +1,4 @@
+The objects in this prebuilt directory can be rebuilt
+using the source archive hosted at
+
+http://prdownloads.sourceforge.net/flex/flex-2.5.4a.tar.gz?download
diff --git a/darwin-x86/flex/flex-2.5.4a b/darwin-x86/flex/flex-2.5.4a
new file mode 100755
index 0000000..1c29c5d
--- /dev/null
+++ b/darwin-x86/flex/flex-2.5.4a
Binary files differ
diff --git a/linux-x86/flex/MODULE_LICENSE_BSD_LIKE b/linux-x86/flex/MODULE_LICENSE_BSD_LIKE
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/linux-x86/flex/MODULE_LICENSE_BSD_LIKE
diff --git a/linux-x86/flex/NOTICE b/linux-x86/flex/NOTICE
new file mode 100644
index 0000000..c041f02
--- /dev/null
+++ b/linux-x86/flex/NOTICE
@@ -0,0 +1,38 @@
+Flex carries the copyright used for BSD software, slightly modified
+because it originated at the Lawrence Berkeley (not Livermore!) Laboratory,
+which operates under a contract with the Department of Energy:
+
+	Copyright (c) 1990 The Regents of the University of California.
+	All rights reserved.
+
+	This code is derived from software contributed to Berkeley by
+	Vern Paxson.
+
+	The United States Government has rights in this work pursuant
+	to contract no. DE-AC03-76SF00098 between the United States
+	Department of Energy and the University of California.
+
+	Redistribution and use in source and binary forms with or without
+	modification are permitted provided that: (1) source distributions
+	retain this entire copyright notice and comment, and (2)
+	distributions including binaries display the following
+	acknowledgement: ``This product includes software developed by the
+	University of California, Berkeley and its contributors'' in the
+	documentation or other materials provided with the distribution and
+	in all advertising materials mentioning features or use of this
+	software.  Neither the name of the University nor the names of its
+	contributors may be used to endorse or promote products derived
+	from this software without specific prior written permission.
+
+	THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+	IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+	WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+	PURPOSE.
+
+This basically says "do whatever you please with this software except
+remove this notice or take advantage of the University's (or the flex
+authors') name".
+
+Note that the "flex.skl" scanner skeleton carries no copyright notice.
+You are free to do whatever you please with scanners generated using flex;
+for them, you are not even bound by the above copyright.
diff --git a/linux-x86/flex/PREBUILT b/linux-x86/flex/PREBUILT
new file mode 100644
index 0000000..9a98850
--- /dev/null
+++ b/linux-x86/flex/PREBUILT
@@ -0,0 +1,4 @@
+The objects in this prebuilt directory can be rebuilt
+using the source archive hosted at
+
+http://prdownloads.sourceforge.net/flex/flex-2.5.4a.tar.gz?download
diff --git a/linux-x86/flex/flex-2.5.4a b/linux-x86/flex/flex-2.5.4a
new file mode 100755
index 0000000..efc8fac
--- /dev/null
+++ b/linux-x86/flex/flex-2.5.4a
Binary files differ
diff --git a/linux-x86_64/icu-4.8/gencnval b/linux-x86_64/icu-4.8/gencnval
new file mode 100755
index 0000000..846582b
--- /dev/null
+++ b/linux-x86_64/icu-4.8/gencnval
Binary files differ
diff --git a/linux-x86_64/icu-4.8/genrb b/linux-x86_64/icu-4.8/genrb
new file mode 100755
index 0000000..e82d91a
--- /dev/null
+++ b/linux-x86_64/icu-4.8/genrb
Binary files differ
diff --git a/linux-x86_64/icu-4.8/icupkg b/linux-x86_64/icu-4.8/icupkg
new file mode 100755
index 0000000..e76499f
--- /dev/null
+++ b/linux-x86_64/icu-4.8/icupkg
Binary files differ
diff --git a/linux-x86_64/icu-4.8/makeconv b/linux-x86_64/icu-4.8/makeconv
new file mode 100755
index 0000000..07fbad6
--- /dev/null
+++ b/linux-x86_64/icu-4.8/makeconv
Binary files differ
diff --git a/linux-x86_64/icu-4.8/readme.txt b/linux-x86_64/icu-4.8/readme.txt
new file mode 100644
index 0000000..6152249
--- /dev/null
+++ b/linux-x86_64/icu-4.8/readme.txt
@@ -0,0 +1,21 @@
+This directory contains the Linux versions
+of some ICU tools potentially needed during
+the Android build process. The tools can be
+re-created using the following steps:
+
+(1) Copy the whole "/extlibs/icu-4.8"
+    directory somewhere else. Please
+    do not use a vanilla ICU 4.8 for
+    this, since the Android version
+    includes some patches for tweaking
+    file sizes.
+
+(2) Change to the copy of the directory.
+
+(3) Execute "./runConfigureICU Linux --enable-static=yes --enable-shared=no".
+
+(4) Execute "make".
+
+(5) If you're successful, the results of
+    your efforts will reside in "bin".
+    Copy them here.
diff --git a/windows/flex/MODULE_LICENSE_BSD_LIKE b/windows/flex/MODULE_LICENSE_BSD_LIKE
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/windows/flex/MODULE_LICENSE_BSD_LIKE
diff --git a/windows/flex/NOTICE b/windows/flex/NOTICE
new file mode 100644
index 0000000..c041f02
--- /dev/null
+++ b/windows/flex/NOTICE
@@ -0,0 +1,38 @@
+Flex carries the copyright used for BSD software, slightly modified
+because it originated at the Lawrence Berkeley (not Livermore!) Laboratory,
+which operates under a contract with the Department of Energy:
+
+	Copyright (c) 1990 The Regents of the University of California.
+	All rights reserved.
+
+	This code is derived from software contributed to Berkeley by
+	Vern Paxson.
+
+	The United States Government has rights in this work pursuant
+	to contract no. DE-AC03-76SF00098 between the United States
+	Department of Energy and the University of California.
+
+	Redistribution and use in source and binary forms with or without
+	modification are permitted provided that: (1) source distributions
+	retain this entire copyright notice and comment, and (2)
+	distributions including binaries display the following
+	acknowledgement: ``This product includes software developed by the
+	University of California, Berkeley and its contributors'' in the
+	documentation or other materials provided with the distribution and
+	in all advertising materials mentioning features or use of this
+	software.  Neither the name of the University nor the names of its
+	contributors may be used to endorse or promote products derived
+	from this software without specific prior written permission.
+
+	THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+	IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+	WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+	PURPOSE.
+
+This basically says "do whatever you please with this software except
+remove this notice or take advantage of the University's (or the flex
+authors') name".
+
+Note that the "flex.skl" scanner skeleton carries no copyright notice.
+You are free to do whatever you please with scanners generated using flex;
+for them, you are not even bound by the above copyright.
diff --git a/windows/flex/PREBUILT b/windows/flex/PREBUILT
new file mode 100644
index 0000000..9a98850
--- /dev/null
+++ b/windows/flex/PREBUILT
@@ -0,0 +1,4 @@
+The objects in this prebuilt directory can be rebuilt
+using the source archive hosted at
+
+http://prdownloads.sourceforge.net/flex/flex-2.5.4a.tar.gz?download
diff --git a/windows/flex/flex-2.5.4a.exe b/windows/flex/flex-2.5.4a.exe
new file mode 100755
index 0000000..a227dba
--- /dev/null
+++ b/windows/flex/flex-2.5.4a.exe
Binary files differ