BUCK 743 B

1234567891011121314151617181920212223242526272829
  1. load("//tools/build_defs/oss:rn_defs.bzl", "ANDROID", "APPLE", "rn_xplat_cxx_library", "subdir_glob")
  2. rn_xplat_cxx_library(
  3. name = "callinvoker",
  4. srcs = glob(["**/*.cpp"]),
  5. header_namespace = "",
  6. exported_headers = subdir_glob(
  7. [
  8. ("ReactCommon", "*.h"),
  9. ],
  10. prefix = "ReactCommon",
  11. ),
  12. compiler_flags = [
  13. "-fexceptions",
  14. "-frtti",
  15. "-std=c++14",
  16. "-Wall",
  17. ],
  18. fbobjc_labels = ["supermodule:ios/default/public.react_native.infra"],
  19. platforms = (ANDROID, APPLE),
  20. preferred_linkage = "static",
  21. preprocessor_flags = [
  22. "-DLOG_TAG=\"ReactNative\"",
  23. "-DWITH_FBSYSTRACE=1",
  24. ],
  25. visibility = [
  26. "PUBLIC",
  27. ],
  28. )