Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
1327e6f4
Commit
1327e6f4
authored
Sep 09, 2016
by
Adrian Ludwin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update repo to use google test
parent
d00cab0f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
WORKSPACE
WORKSPACE
+8
-8
gmock.BUILD
gmock.BUILD
+10
-10
No files found.
WORKSPACE
View file @
1327e6f4
new_http_archive(
name = "gmock_archive",
url = "https://googlemock.googlecode.com/files/gmock-1.7.0.zip",
sha256 = "26fcbb5925b74ad5fc8c26b0495dfc96353f4d553492eb97e85a8a6d2f43095b",
new_git_repository(
name = "googletest",
build_file = "gmock.BUILD",
remote = "https://github.com/google/googletest",
tag = "release-1.8.0",
)
new_http_archive(
name = "six_archive",
url = "https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55",
sha256 = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a",
build_file = "six.BUILD",
sha256 = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a",
url = "https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55",
)
bind(
...
...
@@ -19,12 +19,12 @@ bind(
bind(
name = "gtest",
actual = "@g
mock_archive
//:gtest",
actual = "@g
oogletest
//:gtest",
)
bind(
name = "gtest_main",
actual = "@g
mock_archive
//:gtest_main",
actual = "@g
oogletest
//:gtest_main",
)
bind(
...
...
gmock.BUILD
View file @
1327e6f4
cc_library(
name = "gtest",
srcs = [
"g
mock-1.7.0/g
test/src/gtest-all.cc",
"g
mock-1.7.0
/src/gmock-all.cc",
"g
oogle
test/src/gtest-all.cc",
"g
ooglemock
/src/gmock-all.cc",
],
hdrs = glob([
"
gmock-1.7.0/
**/*.h",
"g
mock-1.7.0/g
test/src/*.cc",
"g
mock-1.7.0
/src/*.cc",
"**/*.h",
"g
oogle
test/src/*.cc",
"g
ooglemock
/src/*.cc",
]),
includes = [
"g
mock-1.7.0
",
"g
mock-1.7.0/g
test",
"g
mock-1.7.0/g
test/include",
"g
mock-1.7.0
/include",
"g
ooglemock
",
"g
oogle
test",
"g
oogle
test/include",
"g
ooglemock
/include",
],
linkopts = ["-pthread"],
visibility = ["//visibility:public"],
...
...
@@ -21,7 +21,7 @@ cc_library(
cc_library(
name = "gtest_main",
srcs = ["g
mock-1.7.0
/src/gmock_main.cc"],
srcs = ["g
ooglemock
/src/gmock_main.cc"],
linkopts = ["-pthread"],
visibility = ["//visibility:public"],
deps = [":gtest"],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment