Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathReact-jsc.podspec
More file actions
Latest commit
38 lines (33 loc) · 1.57 KB
/
Copy pathReact-jsc.podspec
File metadata and controls
38 lines (33 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
require"json"
package=JSON.parse(File.read(File.join(__dir__,"package.json")))
version=package['version']
folly_config=get_folly_config()
folly_compiler_flags=folly_config[:compiler_flags]
folly_version=folly_config[:version]
boost_config=get_boost_config()
boost_compiler_flags=boost_config[:compiler_flags]
Pod::Spec.newdo |s|
s.name="React-jsc"
s.version=version
s.summary="JavaScriptCore engine for React Native"
s.homepage="https://github.com/react-native-community/javascriptcore"
s.license=package["license"]
s.author="Meta Platforms, Inc. and its affiliates"
s.platforms={:ios=>"15.1",:tvos=>"15.1",:visionos=>"1.0",:osx=>"10.15"}
s.source={:git=>"https://github.com/react-native-community/javascriptcore.git",:tag=>"#{s.version}"}
s.source_files="common/*.{cpp,h}","apple/*.{mm,h}"
s.compiler_flags=folly_compiler_flags + ' ' + boost_compiler_flags
s.weak_framework="JavaScriptCore"
s.pod_target_xcconfig={"DEFINES_MODULE"=>"YES"}
s.module_name="ReactJSC"
s.dependency"RCT-Folly",folly_version
s.dependency"DoubleConversion"
s.dependency"React-jsitooling"
s.dependency"React-cxxreact"
s.dependency"React-jsi"
s.dependency"React-jsiexecutor"
end