BUILD.gn 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. config("native_mate_config") {
  2. include_dirs = [ "." ]
  3. }
  4. source_set("native_mate") {
  5. deps = [
  6. "//base",
  7. "//net",
  8. "//third_party/electron_node:node_lib",
  9. "//v8:v8_headers",
  10. ]
  11. public_configs = [ ":native_mate_config" ]
  12. include_dirs = [ ".." ]
  13. sources = [
  14. "native_mate/arguments.cc",
  15. "native_mate/arguments.h",
  16. "native_mate/compat.h",
  17. "native_mate/constructor.h",
  18. "native_mate/converter.cc",
  19. "native_mate/converter.h",
  20. "native_mate/dictionary.cc",
  21. "native_mate/dictionary.h",
  22. "native_mate/function_template.cc",
  23. "native_mate/function_template.h",
  24. "native_mate/handle.h",
  25. "native_mate/microtasks_scope.cc",
  26. "native_mate/microtasks_scope.h",
  27. "native_mate/object_template_builder.cc",
  28. "native_mate/object_template_builder_deprecated.h",
  29. "native_mate/persistent_dictionary.cc",
  30. "native_mate/persistent_dictionary.h",
  31. "native_mate/scoped_persistent.h",
  32. "native_mate/wrappable.cc",
  33. "native_mate/wrappable.h",
  34. "native_mate/wrappable_base.h",
  35. ]
  36. }