-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unfortunately, I could think of no way to get rid of it entirely. However, LiquidCore and LiquidCore-headers are now decoupled (not dependent on each other), which makes deployment easier.
- Loading branch information
1 parent
f881cc0
commit a86aa81
Showing
4 changed files
with
106 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
require "json" | ||
|
||
lcpackage = JSON.parse(File.read(File.join(__dir__, "package.json"))) | ||
version = lcpackage['version'] | ||
|
||
Pod::Spec.new do |s| | ||
s.name = "LiquidCore-headers" | ||
s.version = version | ||
s.summary = "Header include files for LiquidCore." | ||
s.description = <<-DESC | ||
Header include files for LiquidCore addons. To use in a native addon, | ||
add "${PODS_CONFIGURATION_BUILD_DIR}/LiquidCore-headers/LiquidCore_headers.framework/PrivateHeaders" | ||
to your header search path. | ||
DESC | ||
s.homepage = "https://github.com/LiquidPlayer/LiquidCore" | ||
s.license = {:type => "MIT", :file => "LICENSE.md"} | ||
s.author = {"Eric Lange" => "eric@flicket.tv"} | ||
s.platform = :ios, '11.0' | ||
s.source = {:git => "https://github.com/LiquidPlayer/LiquidCore.git", :tag => "#{s.version}"} | ||
s.prepare_command = <<-CMD | ||
bash LiquidCore/src/ios/copy_headers.sh | ||
CMD | ||
s.source_files = | ||
"LiquidCore/src/ios/gen/include/*.h", | ||
"LiquidCore/src/ios/gen/include/uv/*.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/errno.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/aix.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/android-ifaddrs.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/bsd.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/darwin.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/linux.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/os390.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/posix.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/stdint-msvc2008.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/sunos.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/threadpool.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/tree.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/unix.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/version.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/win.h", | ||
"LiquidCore/src/ios/gen/include/node/*.h", | ||
"LiquidCore/src/ios/gen/include/node/inspector/**/*.h", | ||
"LiquidCore/src/ios/gen/include/node/large_pages/**/*.h", | ||
"LiquidCore/src/ios/gen/include/node/tracing/**/*.h", | ||
"LiquidCore/src/ios/gen/include/v8/*.h", | ||
"LiquidCore/src/ios/gen/include/v8/libplatform/**/*.h", | ||
"LiquidCore/src/ios/gen/include/openssl/**/*.h", | ||
"LiquidCore/src/ios/gen/include/http_parser/*.h", | ||
"LiquidCore/src/ios/gen/include/nghttp2/*.h", | ||
"LiquidCore/src/ios/gen/include/cares/*.h", | ||
"LiquidCore/src/ios/header-dummy.cc" | ||
s.private_header_files = [ | ||
"LiquidCore/src/ios/gen/include/*.h", | ||
"LiquidCore/src/ios/gen/include/uv/*.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/errno.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/aix.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/android-ifaddrs.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/bsd.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/darwin.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/linux.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/os390.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/posix.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/stdint-msvc2008.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/sunos.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/threadpool.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/tree.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/unix.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/version.h", | ||
"LiquidCore/src/ios/gen/include/uv/uv/win.h", | ||
"LiquidCore/src/ios/gen/include/node/*.h", | ||
"LiquidCore/src/ios/gen/include/node/inspector/**/*.h", | ||
"LiquidCore/src/ios/gen/include/node/large_pages/**/*.h", | ||
"LiquidCore/src/ios/gen/include/node/tracing/**/*.h", | ||
"LiquidCore/src/ios/gen/include/v8/*.h", | ||
"LiquidCore/src/ios/gen/include/v8/libplatform/**/*.h", | ||
"LiquidCore/src/ios/gen/include/openssl/**/*.h", | ||
"LiquidCore/src/ios/gen/include/http_parser/*.h", | ||
"LiquidCore/src/ios/gen/include/nghttp2/*.h", | ||
"LiquidCore/src/ios/gen/include/cares/*.h", | ||
] | ||
s.header_mappings_dir = "LiquidCore/src/ios/gen/include" | ||
s.preserve_paths = "LiquidCore/src/ios/gen/include/uv/uv/errno.h" | ||
s.xcconfig = { | ||
:CLANG_WARN_DOCUMENTATION_COMMENTS => 'NO', | ||
:GCC_WARN_UNUSED_FUNCTION => 'NO', | ||
:HEADER_SEARCH_PATHS => [ | ||
"$(PODS_TARGET_SRCROOT)/LiquidCore/src/ios/gen/include", | ||
"$(PODS_TARGET_SRCROOT)/LiquidCore/src/ios/gen/include/uv", | ||
"$(PODS_TARGET_SRCROOT)/LiquidCore/src/ios/gen/include/v8", | ||
"$(PODS_TARGET_SRCROOT)/LiquidCore/src/ios/gen/include/cares", | ||
"$(PODS_TARGET_SRCROOT)/LiquidCore/src/ios/gen/include/http_parser", | ||
"$(PODS_TARGET_SRCROOT)/LiquidCore/src/ios/gen/include/nghttp2", | ||
"$(PODS_TARGET_SRCROOT)/LiquidCore/src/ios/gen/include/node", | ||
].join(' ') | ||
} | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#include "addon.h" | ||
|
||
void LiquidCoreHeader_dummy() { | ||
static void LiquidCoreHeader_dummy() { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters