Files
react-native/ReactCommon/logger/BUCK
T
Joshua Gross b60e229d7f Remove compiler_flags from BUCK modules
Summary:
Nearly all of these are identical and these compiler_flags are now centralized in rn_defs.bzl. This should have NO CHANGE on build configuration, the flags have just moved for now.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D31631766

fbshipit-source-id: be40ebeb70ae52b7ded07ca08c4a29f10a0ed925
2021-10-14 15:34:29 -07:00

39 lines
971 B
Python

load("@fbsource//tools/build_defs:glob_defs.bzl", "subdir_glob")
load("@fbsource//tools/build_defs:platform_defs.bzl", "ANDROID", "APPLE", "CXX", "FBCODE", "WINDOWS")
load("//tools/build_defs/oss:rn_defs.bzl", "rn_xplat_cxx_library")
EXPORTED_HEADERS = [
"react_native_log.h",
]
rn_xplat_cxx_library(
name = "logger",
srcs = glob(
["*.cpp"],
),
headers = subdir_glob(
[
("", "*.h"),
],
exclude = EXPORTED_HEADERS,
prefix = "logger",
),
header_namespace = "",
exported_headers = subdir_glob(
[
("", header)
for header in EXPORTED_HEADERS
],
prefix = "logger",
),
fbandroid_preferred_linkage = "shared",
labels = ["supermodule:xplat/default/public.react_native.infra"],
platforms = (ANDROID, APPLE, CXX, FBCODE, WINDOWS),
visibility = [
"PUBLIC",
],
deps = [
"//third-party/glog:glog",
],
)