Files
yoga/lib/gtest/BUCK
Emil Sjolander 32ba5ae647 Make gtest a submodule in open source
Summary: Remove infra for dynamically downloading gtest as this fails like 50% of the time on travis. I'll manually push gtest as a submodule instead.

Reviewed By: gkassabli

Differential Revision: D4183033

fbshipit-source-id: 09a121b8ede7a5974a29b6692edc63bff79aece7
2016-11-17 04:52:31 -08:00

28 lines
762 B
Python

# 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.
include_defs('//CSSLAYOUT_DEFS')
COMPILER_FLAGS = [
'-std=c++11',
'-Wno-missing-prototypes',
]
cxx_library(
name = 'gtest',
srcs = glob(['googletest/googletest/src/*.cc']),
exported_headers = subdir_glob([
('googletest/googletest/include', '**/*.h'),
('googletest/googletest', 'src/*.h'),
('googletest/googletest', 'src/*.cc'),
]),
header_namespace = '',
compiler_flags = COMPILER_FLAGS,
deps = [],
visibility = [CSSLAYOUT_ROOT],
)