Commit 4bbd47e5 authored by Martijn Coenen's avatar Martijn Coenen
Browse files

Move NXP JNI and DeviceHost implementation into separate dir.

Preparation for the new NCI stack. The idea is to
build either the NXP or the NCI stack, triggered
by a makefile switch. To that end, move the
DeviceHost and JNI implementations in their own
directory, so we can build them only if needed.

Change-Id: I8579ec30ceb1908e4cd180cfbd10224aa4bddb8d
parent ff94ceff
......@@ -6,6 +6,14 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := \
$(call all-java-files-under, src)
ifeq ($(NFC_USE_NCI_STACK), true)
LOCAL_SRC_FILES += \
$(call all-java-files-under, nci)
else
LOCAL_SRC_FILES += \
$(call all-java-files-under, nxp)
endif
LOCAL_PACKAGE_NAME := Nfc
LOCAL_CERTIFICATE := platform
......
LOCAL_PATH:= $(call my-dir)
include $(call all-makefiles-under,$(LOCAL_PATH))
File moved
File moved
File moved
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.nfc.nxp;
package com.android.nfc.dhimpl;
import com.android.nfc.DeviceHost;
import com.android.nfc.LlcpPacket;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.nfc.nxp;
package com.android.nfc.dhimpl;
import com.android.nfc.DeviceHost;
import com.android.nfc.DeviceHost.LlcpSocket;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.nfc.nxp;
package com.android.nfc.dhimpl;
import com.android.nfc.DeviceHost;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.nfc.nxp;
package com.android.nfc.dhimpl;
import com.android.nfc.DeviceHost;
import com.android.nfc.LlcpException;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.nfc.nxp;
package com.android.nfc.dhimpl;
import android.content.Context;
import android.content.SharedPreferences;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.android.nfc.nxp;
package com.android.nfc.dhimpl;
import com.android.nfc.DeviceHost.TagEndpoint;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment