build: [gn] move native_mate build config to native_mate dir (#13706)
This commit is contained in:
parent
0c366f5a7a
commit
91172d6387
2 changed files with 37 additions and 38 deletions
36
native_mate/BUILD.gn
Normal file
36
native_mate/BUILD.gn
Normal file
|
@ -0,0 +1,36 @@
|
|||
config("native_mate_config") {
|
||||
include_dirs = [ "." ]
|
||||
cflags_cc = [ "-Wno-deprecated-declarations" ]
|
||||
cflags_objcc = cflags_cc
|
||||
}
|
||||
|
||||
source_set("native_mate") {
|
||||
deps = [
|
||||
"../build/node",
|
||||
"//base",
|
||||
"//net",
|
||||
"//v8:v8_headers",
|
||||
]
|
||||
public_configs = [ ":native_mate_config" ]
|
||||
sources = [
|
||||
"native_mate/arguments.cc",
|
||||
"native_mate/arguments.h",
|
||||
"native_mate/compat.h",
|
||||
"native_mate/constructor.h",
|
||||
"native_mate/converter.cc",
|
||||
"native_mate/converter.h",
|
||||
"native_mate/dictionary.cc",
|
||||
"native_mate/dictionary.h",
|
||||
"native_mate/function_template.cc",
|
||||
"native_mate/function_template.h",
|
||||
"native_mate/handle.h",
|
||||
"native_mate/object_template_builder.cc",
|
||||
"native_mate/object_template_builder.h",
|
||||
"native_mate/persistent_dictionary.cc",
|
||||
"native_mate/persistent_dictionary.h",
|
||||
"native_mate/scoped_persistent.h",
|
||||
"native_mate/wrappable.cc",
|
||||
"native_mate/wrappable.h",
|
||||
"native_mate/wrappable_base.h",
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue