Merged core/ and testrunner/ into a single directory.

Source files do not need to be split up in the unbundled branch.

Change-Id: I4ab82e111691a88b90265c2816fb902bbc8a3f8d
diff --git a/.classpath b/.classpath
index c916e44..c4c36bf 100644
--- a/.classpath
+++ b/.classpath
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
-	<classpathentry kind="src" path="core"/>
-	<classpathentry kind="src" path="testrunner"/>
+	<classpathentry kind="src" path="src"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 	<classpathentry kind="var" path="UIAUTOMATOR_ROOT/prebuilts/sdk/current/android.jar"/>
 	<classpathentry kind="output" path="bin"/>
diff --git a/Android.mk b/Android.mk
index 7d61619..897c6e8 100644
--- a/Android.mk
+++ b/Android.mk
@@ -16,16 +16,13 @@
 
 LOCAL_PATH:= $(call my-dir)
 
-uiautomator.core_src_files := $(call all-java-files-under, testrunner) \
-    $(call all-java-files-under, core)
-
 uiautomator_internal_api_file := $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/uiautomator_api.txt
 
 ###############################################
 # Build core library
 include $(CLEAR_VARS)
 
-LOCAL_SRC_FILES := $(uiautomator.core_src_files)
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
 LOCAL_MODULE := ub-uiautomator
 LOCAL_SDK_VERSION := current
 
@@ -48,7 +45,7 @@
 ###############################################
 # Generate the stub source files
 include $(CLEAR_VARS)
-LOCAL_SRC_FILES := $(uiautomator.core_src_files)
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
 LOCAL_SDK_VERSION := current
 LOCAL_MODULE_CLASS := DOCS
 LOCAL_DROIDDOC_HTML_DIR :=
@@ -113,8 +110,6 @@
 
 ###############################################
 # clean up temp vars
-uiautomator.core_src_files :=
-uiautomator.core_java_libraries :=
 uiautomator_stubs_stamp :=
 uiautomator_internal_api_file :=
 uiautomator_library :=
diff --git a/core/com/android/uiautomator/core/AccessibilityNodeInfoDumper.java b/src/com/android/uiautomator/core/AccessibilityNodeInfoDumper.java
similarity index 100%
rename from core/com/android/uiautomator/core/AccessibilityNodeInfoDumper.java
rename to src/com/android/uiautomator/core/AccessibilityNodeInfoDumper.java
diff --git a/core/com/android/uiautomator/core/AccessibilityNodeInfoHelper.java b/src/com/android/uiautomator/core/AccessibilityNodeInfoHelper.java
similarity index 100%
rename from core/com/android/uiautomator/core/AccessibilityNodeInfoHelper.java
rename to src/com/android/uiautomator/core/AccessibilityNodeInfoHelper.java
diff --git a/core/com/android/uiautomator/core/Configurator.java b/src/com/android/uiautomator/core/Configurator.java
similarity index 100%
rename from core/com/android/uiautomator/core/Configurator.java
rename to src/com/android/uiautomator/core/Configurator.java
diff --git a/testrunner/com/android/uiautomator/core/InstrumentationUiAutomatorBridge.java b/src/com/android/uiautomator/core/InstrumentationUiAutomatorBridge.java
similarity index 100%
rename from testrunner/com/android/uiautomator/core/InstrumentationUiAutomatorBridge.java
rename to src/com/android/uiautomator/core/InstrumentationUiAutomatorBridge.java
diff --git a/core/com/android/uiautomator/core/InteractionController.java b/src/com/android/uiautomator/core/InteractionController.java
similarity index 100%
rename from core/com/android/uiautomator/core/InteractionController.java
rename to src/com/android/uiautomator/core/InteractionController.java
diff --git a/core/com/android/uiautomator/core/QueryController.java b/src/com/android/uiautomator/core/QueryController.java
similarity index 100%
rename from core/com/android/uiautomator/core/QueryController.java
rename to src/com/android/uiautomator/core/QueryController.java
diff --git a/core/com/android/uiautomator/core/Tracer.java b/src/com/android/uiautomator/core/Tracer.java
similarity index 100%
rename from core/com/android/uiautomator/core/Tracer.java
rename to src/com/android/uiautomator/core/Tracer.java
diff --git a/core/com/android/uiautomator/core/UiAutomatorBridge.java b/src/com/android/uiautomator/core/UiAutomatorBridge.java
similarity index 100%
rename from core/com/android/uiautomator/core/UiAutomatorBridge.java
rename to src/com/android/uiautomator/core/UiAutomatorBridge.java
diff --git a/core/com/android/uiautomator/core/UiCollection.java b/src/com/android/uiautomator/core/UiCollection.java
similarity index 100%
rename from core/com/android/uiautomator/core/UiCollection.java
rename to src/com/android/uiautomator/core/UiCollection.java
diff --git a/core/com/android/uiautomator/core/UiDevice.java b/src/com/android/uiautomator/core/UiDevice.java
similarity index 100%
rename from core/com/android/uiautomator/core/UiDevice.java
rename to src/com/android/uiautomator/core/UiDevice.java
diff --git a/core/com/android/uiautomator/core/UiObject.java b/src/com/android/uiautomator/core/UiObject.java
similarity index 100%
rename from core/com/android/uiautomator/core/UiObject.java
rename to src/com/android/uiautomator/core/UiObject.java
diff --git a/core/com/android/uiautomator/core/UiObjectNotFoundException.java b/src/com/android/uiautomator/core/UiObjectNotFoundException.java
similarity index 100%
rename from core/com/android/uiautomator/core/UiObjectNotFoundException.java
rename to src/com/android/uiautomator/core/UiObjectNotFoundException.java
diff --git a/core/com/android/uiautomator/core/UiScrollable.java b/src/com/android/uiautomator/core/UiScrollable.java
similarity index 100%
rename from core/com/android/uiautomator/core/UiScrollable.java
rename to src/com/android/uiautomator/core/UiScrollable.java
diff --git a/core/com/android/uiautomator/core/UiSelector.java b/src/com/android/uiautomator/core/UiSelector.java
similarity index 100%
rename from core/com/android/uiautomator/core/UiSelector.java
rename to src/com/android/uiautomator/core/UiSelector.java
diff --git a/core/com/android/uiautomator/core/UiWatcher.java b/src/com/android/uiautomator/core/UiWatcher.java
similarity index 100%
rename from core/com/android/uiautomator/core/UiWatcher.java
rename to src/com/android/uiautomator/core/UiWatcher.java
diff --git a/testrunner/com/android/uiautomator/testrunner/IAutomationSupport.java b/src/com/android/uiautomator/testrunner/IAutomationSupport.java
similarity index 100%
rename from testrunner/com/android/uiautomator/testrunner/IAutomationSupport.java
rename to src/com/android/uiautomator/testrunner/IAutomationSupport.java
diff --git a/testrunner/com/android/uiautomator/testrunner/InstrumentationAutomationSupport.java b/src/com/android/uiautomator/testrunner/InstrumentationAutomationSupport.java
similarity index 100%
rename from testrunner/com/android/uiautomator/testrunner/InstrumentationAutomationSupport.java
rename to src/com/android/uiautomator/testrunner/InstrumentationAutomationSupport.java
diff --git a/testrunner/com/android/uiautomator/testrunner/UiAutomatorInstrumentationTestRunner.java b/src/com/android/uiautomator/testrunner/UiAutomatorInstrumentationTestRunner.java
similarity index 100%
rename from testrunner/com/android/uiautomator/testrunner/UiAutomatorInstrumentationTestRunner.java
rename to src/com/android/uiautomator/testrunner/UiAutomatorInstrumentationTestRunner.java
diff --git a/testrunner/com/android/uiautomator/testrunner/UiAutomatorTestCase.java b/src/com/android/uiautomator/testrunner/UiAutomatorTestCase.java
similarity index 100%
rename from testrunner/com/android/uiautomator/testrunner/UiAutomatorTestCase.java
rename to src/com/android/uiautomator/testrunner/UiAutomatorTestCase.java