Skip to content

Commit

Permalink
Added LiquidCore/addon podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwlange committed Apr 12, 2020
1 parent 0c4bc18 commit f881cc0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
11 changes: 8 additions & 3 deletions LiquidCore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,14 @@ LiquidCore enables Node.js virtual machines to run inside iOS apps. It provides
}
end

s.subspec 'addon' do |addon|
addon.dependency 'LiquidCore/headers'
addon.source_files = "LiquidCore/src/ios/gen/include/uv/uv/errno.h"
addon.private_header_files = [
"LiquidCore/src/ios/gen/include/uv/uv/errno.h"
]
end

s.subspec 'uv' do |us|
us.dependency 'LiquidCore/headers'
us.source_files =
Expand Down Expand Up @@ -378,9 +386,6 @@ LiquidCore enables Node.js virtual machines to run inside iOS apps. It provides
"deps/node-10.15.3/deps/uv/src/unix/spinlock.h"
]
us.xcconfig = {
# :HEADER_SEARCH_PATHS => [
# "$(PODS_TARGET_SRCROOT)/LiquidCore/src/ios/gen/include",
# ].join(' '),
:OTHER_CFLAGS => [
'-D_DARWIN_USE_64_BIT_INODE=1',
'-D_DARWIN_UNLIMITED_SELECT=1',
Expand Down
7 changes: 0 additions & 7 deletions LiquidCore/src/ios/header-dummy.cc
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
#include "addon.h"
//#include "node.h"
//#include "v8.h"
//#include "libplatform/libplatform.h"
//#include "nghttp2.h"
//#include "http_parser.h"
//#include "uv.h"
//#include "openssl/aes.h"

void LiquidCoreHeader_dummy() {

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "liquidcore",
"version": "0.7.5",
"version": "0.7.6",
"description": "LiquidCore enables Node.js virtual machines to run inside Android and iOS apps. It provides a complete runtime environment, including a virtual file system.",
"main": "index.js",
"bin": "lib/cli.js",
Expand Down

0 comments on commit f881cc0

Please sign in to comment.