File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ # This file is used by GN for building, which is NOT the build system used for
2+ # building official binaries.
3+ # Please edit the gyp files if you are making changes to build system.
4+
5+ import (" ../../node.gni" )
6+ import (" $node_v8_path /gni/v8.gni" )
7+
8+ # The actual configurations are put inside a template in unofficial.gni to
9+ # prevent accidental edits from contributors.
10+ template (" ncrypto_gn_build" ) {
11+ config (" ncrypto_config" ) {
12+ include_dirs = [ " ." ]
13+ cflags = [
14+ " -Wno-deprecated-declarations" ,
15+ " -Wno-pessimizing-move" ,
16+ " -Wno-shadow" ,
17+ ]
18+ }
19+
20+ gypi_values = exec_script (" ../../tools/gypi_to_gn.py" ,
21+ [ rebase_path (" ncrypto.gyp" ) ],
22+ " scope" ,
23+ [ " ncrypto.gyp" ])
24+
25+ source_set (target_name ) {
26+ forward_variables_from (invoker , " *" )
27+ public_configs = [ " :ncrypto_config" ]
28+ sources = gypi_values .ncrypto_sources
29+ deps = [ " ../openssl" ]
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments