close
Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Add an example using glog from Bazel - #276

Merged
drigz merged 1 commit into
google:masterfrom
drigz:add-example
Jan 4, 2018
Merged

Add an example using glog from Bazel#276
drigz merged 1 commit into
google:masterfrom
drigz:add-example

Conversation

@drigz

@drigz drigz commented Dec 19, 2017

Copy link
Copy Markdown
Member

Combined with the coming job on ci.bazel.io, this should help keep the build working.

@iirina For the Bazel build.
@shinh For the example.

@drigz
drigz requested a review from shinh December 19, 2017 14:54
Comment thread bazel/example/BUILD Outdated
size = "small",
srcs = ["main.cc"],
deps = [
"@com_google_glog//:glog",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to reference the workspace name here since you are in the same workspace

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. This was left over from my first attempt to have the example use com_google_glog as an external repo.

Thanks for the review!

Comment thread WORKSPACE Outdated
@@ -1,5 +1,7 @@
workspace(name = "com_google_glog")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also unnecessary because you don't have multiple workspaces

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@drigz
drigz merged commit 5b1aa94 into google:master Jan 4, 2018
durswd pushed a commit to durswd/glog that referenced this pull request Sep 2, 2019
Add an example using glog from Bazel
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants