File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ import("$node_v8_path/gni/v8.gni")
88# The actual configurations are put inside a template in unofficial.gni to
99# prevent accidental edits from contributors.
1010template (" ncrypto_gn_build" ) {
11- config (" ncrypto_config " ) {
11+ config (" ncrypto_external_config " ) {
1212 include_dirs = [ " ." ]
13+ }
14+ config (" ncrypto_internal_config" ) {
1315 cflags = [
1416 " -Wno-deprecated-declarations" ,
1517 " -Wno-pessimizing-move" ,
@@ -27,7 +29,8 @@ template("ncrypto_gn_build") {
2729
2830 source_set (target_name ) {
2931 forward_variables_from (invoker , " *" )
30- public_configs = [ " :ncrypto_config" ]
32+ configs += [ " :ncrypto_internal_config" ]
33+ public_configs = [ " :ncrypto_external_config" ]
3134 sources = gypi_values .ncrypto_sources
3235 deps = [ " $node_openssl_path " ]
3336 }
You can’t perform that action at this time.
0 commit comments