Skip to content

Commit

Permalink
add source files to RN
Browse files Browse the repository at this point in the history
  • Loading branch information
fealebenpae committed Sep 26, 2017
1 parent 3ddf1ea commit 96a008d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions react-native/android/src/main/jni/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ LOCAL_SRC_FILES += src/object-store/src/schema.cpp
LOCAL_SRC_FILES += src/object-store/src/shared_realm.cpp
LOCAL_SRC_FILES += src/object-store/src/thread_safe_reference.cpp
ifeq ($(strip $(BUILD_TYPE_SYNC)),1)
LOCAL_SRC_FILES += src/object-store/src/sync/partial_sync.cpp
LOCAL_SRC_FILES += src/object-store/src/sync/sync_config.cpp
LOCAL_SRC_FILES += src/object-store/src/sync/sync_manager.cpp
LOCAL_SRC_FILES += src/object-store/src/sync/sync_session.cpp
LOCAL_SRC_FILES += src/object-store/src/sync/sync_user.cpp
Expand Down
10 changes: 10 additions & 0 deletions src/RealmJS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
5D1BF0571EF1DB4800B7DC87 /* jsc_value.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5D1BF0561EF1DB4800B7DC87 /* jsc_value.cpp */; };
5D25F5A11D6284FD00EBBB30 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = F63FF3301C16434400B3B8E0 /* libz.tbd */; };
8507156E1E2CFCD000E548DB /* object_notifier.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8507156B1E2CFC0100E548DB /* object_notifier.cpp */; };
8529DCAE1F7A91AF00A58475 /* sync_config.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8529DCAC1F7A91AF00A58475 /* sync_config.cpp */; };
8529DCB51F7A91F400A58475 /* partial_sync.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8529DCB41F7A91F400A58475 /* partial_sync.cpp */; };
F61378791C18EAC5008BFC51 /* js in Resources */ = {isa = PBXBuildFile; fileRef = F61378781C18EAAC008BFC51 /* js */; };
F63FF2C61C12469E00B3B8E0 /* jsc_init.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 029048011C0428DF00ABDED4 /* jsc_init.cpp */; };
F63FF2C91C12469E00B3B8E0 /* js_realm.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 029048071C0428DF00ABDED4 /* js_realm.cpp */; };
Expand Down Expand Up @@ -212,6 +214,9 @@
8507156B1E2CFC0100E548DB /* object_notifier.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = object_notifier.cpp; sourceTree = "<group>"; };
8507156C1E2CFC0100E548DB /* object_notifier.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = object_notifier.hpp; sourceTree = "<group>"; };
850715AE1E32366B00E548DB /* event_loop_dispatcher.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = event_loop_dispatcher.hpp; sourceTree = "<group>"; };
8529DCAC1F7A91AF00A58475 /* sync_config.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = sync_config.cpp; path = src/sync/sync_config.cpp; sourceTree = "<group>"; };
8529DCB31F7A91F400A58475 /* partial_sync.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = partial_sync.hpp; path = src/sync/partial_sync.hpp; sourceTree = "<group>"; };
8529DCB41F7A91F400A58475 /* partial_sync.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = partial_sync.cpp; path = src/sync/partial_sync.cpp; sourceTree = "<group>"; };
F60102CF1CBB814A00EC01BA /* node_init.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = node_init.hpp; sourceTree = "<group>"; };
F60102D11CBB865A00EC01BA /* jsc_init.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = jsc_init.hpp; sourceTree = "<group>"; };
F60102F71CBDA6D400EC01BA /* js_collection.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = js_collection.hpp; sourceTree = "<group>"; };
Expand Down Expand Up @@ -463,7 +468,10 @@
isa = PBXGroup;
children = (
504CF8521EBCAE3600A9A4B6 /* impl */,
8529DCB41F7A91F400A58475 /* partial_sync.cpp */,
8529DCB31F7A91F400A58475 /* partial_sync.hpp */,
02E315CD1DB80DF200555337 /* sync_client.hpp */,
8529DCAC1F7A91AF00A58475 /* sync_config.cpp */,
02E315C21DB80DDD00555337 /* sync_config.hpp */,
02E315CE1DB80DF200555337 /* sync_file.cpp */,
02E315CF1DB80DF200555337 /* sync_file.hpp */,
Expand Down Expand Up @@ -953,9 +961,11 @@
F63FF31B1C1642BB00B3B8E0 /* GCDWebServer.m in Sources */,
F63FF31C1C1642BB00B3B8E0 /* GCDWebServerConnection.m in Sources */,
F63FF3201C1642BB00B3B8E0 /* GCDWebServerDataRequest.m in Sources */,
8529DCB51F7A91F400A58475 /* partial_sync.cpp in Sources */,
F63FF3241C1642BB00B3B8E0 /* GCDWebServerDataResponse.m in Sources */,
F63FF3251C1642BB00B3B8E0 /* GCDWebServerErrorResponse.m in Sources */,
F63FF3211C1642BB00B3B8E0 /* GCDWebServerFileRequest.m in Sources */,
8529DCAE1F7A91AF00A58475 /* sync_config.cpp in Sources */,
F63FF3261C1642BB00B3B8E0 /* GCDWebServerFileResponse.m in Sources */,
F63FF31D1C1642BB00B3B8E0 /* GCDWebServerFunctions.m in Sources */,
F63FF3221C1642BB00B3B8E0 /* GCDWebServerMultiPartFormRequest.m in Sources */,
Expand Down

0 comments on commit 96a008d

Please sign in to comment.