electron/native_mate/BUILD.gn
Jeremy Apthorp 14fc6f3081 chore: add GN linting (#14678)
* chore: add GN linter

* chore: fix GN lint errors

* try some crazy bash to get a gn exe

* base64 on linux is different

* cloning build_tools doesn't download GN

* download_from_google_storage needs depot_tools in the path

* fixup! chore: add GN linter
2018-10-03 18:03:26 -05:00

36 lines
1,012 B
Text

config("native_mate_config") {
include_dirs = [ "." ]
cflags_cc = [ "-Wno-deprecated-declarations" ]
cflags_objcc = cflags_cc
}
source_set("native_mate") {
deps = [
"//base",
"//net",
"//third_party/electron_node:node_lib",
"//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",
]
}