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.
|
|
|
|
|
2016-12-02 05:08:55 -08:00
|
|
|
include_defs('//YOGA_DEFS')
|
2016-08-16 03:47:40 -07:00
|
|
|
|
2016-07-25 06:31:32 -07:00
|
|
|
COMPILER_FLAGS = [
|
|
|
|
'-std=c++11',
|
|
|
|
'-Wno-missing-prototypes',
|
|
|
|
]
|
|
|
|
|
|
|
|
cxx_library(
|
|
|
|
name = 'gtest',
|
2016-11-17 04:46:31 -08:00
|
|
|
srcs = glob(['googletest/googletest/src/*.cc']),
|
2016-07-25 06:31:32 -07:00
|
|
|
exported_headers = subdir_glob([
|
2016-11-17 04:46:31 -08:00
|
|
|
('googletest/googletest/include', '**/*.h'),
|
|
|
|
('googletest/googletest', 'src/*.h'),
|
|
|
|
('googletest/googletest', 'src/*.cc'),
|
2016-07-25 06:31:32 -07:00
|
|
|
]),
|
|
|
|
header_namespace = '',
|
|
|
|
compiler_flags = COMPILER_FLAGS,
|
|
|
|
deps = [],
|
|
|
|
visibility = [CSSLAYOUT_ROOT],
|
|
|
|
)
|