Permalink
Browse files

Renamed bridge, first addon skeleton

  • Loading branch information...
1 parent f8f59cf commit 2a9a3c67af9ae187236b19125bdff28192ce4ba7 @paddybyers committed Nov 28, 2011
Showing with 38 additions and 1 deletion.
  1. +34 −0 bridge-addon/Android.mk
  2. +3 −0 bridge-addon/Application.mk
  3. 0 {bridge → bridge-java}/.classpath
  4. +1 −1 {bridge → bridge-java}/.project
  5. 0 {bridge → bridge-java}/src/org/meshpoint/anode/java/Base.java
  6. 0 {bridge → bridge-java}/src/org/meshpoint/anode/js/JSArray.java
  7. 0 {bridge → bridge-java}/src/org/meshpoint/anode/js/JSInterface.java
  8. 0 {bridge → bridge-java}/src/org/meshpoint/anode/js/JSObject.java
  9. 0 {bridge → bridge-java}/src/org/meshpoint/anode/js/JSValue.java
  10. 0 {bridge → bridge-java}/src/org/meshpoint/node/bridge/Env.java
  11. 0 {bridge → bridge-java}/src/org/meshpoint/node/bridge/FinalizeQueue.java
  12. 0 {bridge → bridge-java}/src/org/meshpoint/node/bridge/Module.java
  13. 0 {bridge → bridge-java}/src/org/meshpoint/node/bridge/ModuleContext.java
  14. 0 {bridge → bridge-java}/src/org/meshpoint/node/bridge/NativeBinding.java
  15. 0 {bridge → bridge-java}/src/org/meshpoint/node/bridge/SynchronousOperation.java
  16. 0 {bridge → bridge-java}/src/org/meshpoint/node/bridge/WrapQueue.java
  17. 0 {bridge → bridge-java}/src/org/meshpoint/node/idl/IDLInterface.java
  18. 0 {bridge → bridge-java}/src/org/meshpoint/node/idl/InterfaceManager.java
  19. 0 {bridge → bridge-java}/src/org/meshpoint/node/idl/Types.java
  20. 0 {bridge → bridge-java}/src/org/meshpoint/node/type/IBoolean.java
  21. 0 {bridge → bridge-java}/src/org/meshpoint/node/type/ICollection.java
  22. 0 {bridge → bridge-java}/src/org/meshpoint/node/type/IDate.java
  23. 0 {bridge → bridge-java}/src/org/meshpoint/node/type/IFunction.java
  24. 0 {bridge → bridge-java}/src/org/meshpoint/node/type/IIndexedCollection.java
  25. 0 {bridge → bridge-java}/src/org/meshpoint/node/type/IInterface.java
  26. 0 {bridge → bridge-java}/src/org/meshpoint/node/type/INumber.java
  27. 0 {bridge → bridge-java}/src/org/meshpoint/node/type/IString.java
  28. 0 {bridge → bridge-java}/src/org/meshpoint/node/type/IValue.java
View
@@ -0,0 +1,34 @@
+# Set up the following environment variables
+# NODE_ROOT: location of the node root directory (for include files)
+# ANODE_ROOT: location of the anode root directory (for the libjninode binary)
+
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := bridge
+
+LOCAL_CFLAGS := \
+ -D__POSIX__ \
+ -DBUILDING_NODE_EXTENSION
+
+LOCAL_CPPFLAGS :=
+
+LOCAL_C_INCLUDES := \
+ src \
+ $(NODE_ROOT)/src \
+ $(NODE_ROOT)/deps/v8/include \
+ $(NODE_ROOT)/deps/uv/include
+
+LOCAL_LDLIBS := \
+ $(ANODE_ROOT)/libnode/libs/armeabi/libjninode.so
+
+LOCAL_CPP_EXTENSION := .cc
+
+LOCAL_SRC_FILES :=\
+ src/bridge.cpp
+
+LOCAL_STATIC_LIBRARIES :=
+
+# Do not edit this line.
+include $(ANODE_ROOT)/sdk/addon/build-node-addon.mk
+
@@ -0,0 +1,3 @@
+APP_PROJECT_PATH :=.
+APP_BUILD_SCRIPT :=$(APP_PROJECT_PATH)/Android.mk
+APP_PLATFORM := android-9
File renamed without changes.
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>bridge</name>
+ <name>bridge-java</name>
<comment></comment>
<projects>
</projects>

0 comments on commit 2a9a3c6

Please sign in to comment.