mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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
17 lines
355 B
Python
17 lines
355 B
Python
load("//tools/build_defs/oss:rn_defs.bzl", "cxx_library")
|
|
|
|
cxx_library(
|
|
name = "yoga",
|
|
srcs = glob(["yoga/**/*.cpp"]),
|
|
header_namespace = "",
|
|
exported_headers = glob(["yoga/**/*.h"]),
|
|
compiler_flags = [
|
|
"-fno-omit-frame-pointer",
|
|
"-O3"
|
|
],
|
|
force_static = True,
|
|
visibility = ["PUBLIC"],
|
|
deps = [
|
|
],
|
|
)
|