Top Level Namespace
Defined Under Namespace
Modules: ProtobufClosureLibrary
Constant Summary collapse
- SOURCE_DIR =
File. File.dirname(__FILE__)
- COMPILED_PROTO_DIR =
File.join(SOURCE_DIR, ‘js’)
SOURCE_DIR
- HEADER_DIRS =
['/usr/local/include', '/usr/include']
- LIB_DIRS =
['/usr/local/lib', '/usr/lib']
Instance Method Summary collapse
Instance Method Details
#generate_proto_deps(proto) ⇒ Object
11 12 13 |
# File 'ext/protoc_js_core/extconf.rb', line 11 def generate_proto_deps proto `protoc -I /usr/include -I /usr/local/include -I #{SOURCE_DIR}/js --cpp_out=#{COMPILED_PROTO_DIR} #{proto}` end |