1load("//tools/build_defs/oss:rn_defs.bzl", "ANDROID", "APPLE", "CXX", "rn_xplat_cxx_library", "subdir_glob") 2 3rn_xplat_cxx_library( 4 name = "callinvoker", 5 header_namespace = "", 6 exported_headers = subdir_glob( 7 [ 8 ("ReactCommon", "*.h"), 9 ], 10 prefix = "ReactCommon", 11 ), 12 compiler_flags_pedantic = True, 13 labels = [ 14 "pfh:ReactNative_CommonInfrastructurePlaceholder", 15 ], 16 platforms = (ANDROID, APPLE, CXX), 17 preferred_linkage = "static", 18 preprocessor_flags = [ 19 "-DLOG_TAG=\"ReactNative\"", 20 "-DWITH_FBSYSTRACE=1", 21 ], 22 visibility = [ 23 "PUBLIC", 24 ], 25) 26