aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/test/BUILD
blob: ae0a66e84e1f9e3ac4b0f9c505c513a687c2ad8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2017 Google Inc. All Rights Reserved.
# Author: misterg@google.com (Gennadiy Civil)
#
# Description:
#   Bazel BUILD file for googletest-googlemock, initial revision
#

""" gmock own tests """

cc_test(
    name = "gmock_all_test",
    size = "small",
    srcs = glob(
        include = [
            "gmock-*.cc",
        ],
    ),
    copts = select({
        "//:win": ["-DGTEST_USE_OWN_TR1_TUPLE=0"],
        "//conditions:default": ["-DGTEST_USE_OWN_TR1_TUPLE=1"],
    }),
    linkopts = select({
        "//:win": [],
        "//conditions:default": [
            "-pthread",
        ],
    }),
    deps = ["//:gtest"],
)