2016-07-25 06:31:32 -07:00
|
|
|
# Copyright (c) 2014-present, Facebook, Inc.
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# This source code is licensed under the BSD-style license found in the
|
|
|
|
# LICENSE file in the root directory of this source tree. An additional grant
|
|
|
|
# of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
|
2017-02-24 21:40:45 -08:00
|
|
|
include_defs("//YOGA_DEFS")
|
2016-08-16 03:47:40 -07:00
|
|
|
|
2016-07-25 06:31:32 -07:00
|
|
|
COMPILER_FLAGS = [
|
2017-02-24 21:40:45 -08:00
|
|
|
"-std=c++11",
|
|
|
|
"-Wno-missing-prototypes",
|
2016-07-25 06:31:32 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
cxx_library(
|
2017-02-24 21:40:45 -08:00
|
|
|
name = "gtest",
|
|
|
|
srcs = glob(["googletest/googletest/src/*.cc"]),
|
|
|
|
compiler_flags = COMPILER_FLAGS,
|
|
|
|
exported_headers = subdir_glob([
|
|
|
|
("googletest/googletest/include", "**/*.h"),
|
|
|
|
("googletest/googletest", "src/*.h"),
|
|
|
|
("googletest/googletest", "src/*.cc"),
|
|
|
|
]),
|
|
|
|
header_namespace = "",
|
|
|
|
visibility = [YOGA_ROOT],
|
|
|
|
deps = [],
|
2016-07-25 06:31:32 -07:00
|
|
|
)
|