Googletest export
Fix iOS logging issues in tests PiperOrigin-RevId: 370484087
This commit is contained in:
10
BUILD.bazel
10
BUILD.bazel
@@ -56,6 +56,12 @@ config_setting(
|
||||
values = {"define": "absl=1"},
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "ios",
|
||||
values = {"apple_platform_type": "ios"},
|
||||
visibility = [":__subpackages__"],
|
||||
)
|
||||
|
||||
# Library that defines the FRIEND_TEST macro.
|
||||
cc_library(
|
||||
name = "gtest_prod",
|
||||
@@ -86,6 +92,10 @@ cc_library(
|
||||
"googlemock/include/gmock/*.h",
|
||||
]),
|
||||
copts = select({
|
||||
":ios": [
|
||||
"-xobjective-c++",
|
||||
"-pthread",
|
||||
],
|
||||
":windows": [],
|
||||
"//conditions:default": ["-pthread"],
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user