Module: Libv8::Node::Paths
- Defined in:
- ext/libv8-node/paths.rb
Class Method Summary collapse
Class Method Details
.config ⇒ Object
22 23 24 |
# File 'ext/libv8-node/paths.rb', line 22 def config RbConfig::MAKEFILE_CONFIG end |
.include_paths ⇒ Object
10 11 12 |
# File 'ext/libv8-node/paths.rb', line 10 def include_paths [Shellwords.escape(File.join(vendored_source_path, 'include'))] end |
.object_paths ⇒ Object
14 15 16 17 18 19 20 |
# File 'ext/libv8-node/paths.rb', line 14 def object_paths [Shellwords.escape(File.join(vendored_source_path, 'out.gn', 'libv8', 'obj', "libv8_monolith.#{config['LIBEXT']}"))] end |
.vendored_source_path ⇒ Object
26 27 28 |
# File 'ext/libv8-node/paths.rb', line 26 def vendored_source_path File.('../../vendor/v8', __dir__) end |