BUCK 874 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. load("@fbsource//tools/build_defs:glob_defs.bzl", "subdir_glob")
  2. load("//tools/build_defs/oss:rn_defs.bzl", "rn_xplat_cxx_library")
  3. EXPORTED_HEADERS = [
  4. "InspectorInterfaces.h",
  5. ]
  6. rn_xplat_cxx_library(
  7. name = "jsinspector",
  8. srcs = glob(
  9. ["*.cpp"],
  10. ),
  11. headers = subdir_glob(
  12. [
  13. ("", "*.h"),
  14. ],
  15. exclude = EXPORTED_HEADERS,
  16. prefix = "jsinspector",
  17. ),
  18. header_namespace = "",
  19. exported_headers = subdir_glob(
  20. [
  21. ("", header)
  22. for header in EXPORTED_HEADERS
  23. ],
  24. prefix = "jsinspector",
  25. ),
  26. compiler_flags = [
  27. "-Wall",
  28. "-fexceptions",
  29. "-std=c++1y",
  30. ],
  31. fbandroid_preferred_linkage = "shared",
  32. fbobjc_labels = ["supermodule:ios/default/public.react_native.infra"],
  33. visibility = [
  34. "PUBLIC",
  35. ],
  36. )