8000 Address review comments for Bazel/Win32 build by drigz · Pull Request #499 · google/glog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Address review comments for Bazel/Win32 build #499

Merged
merged 3 commits into from
Nov 27, 2019
Merged

Address review comments for Bazel/Win32 build #499

merged 3 commits into from
Nov 27, 2019

Conversation

drigz
Copy link
Member
@drigz drigz commented Nov 20, 2019

This prevents leaking config.h and some unnecessary defines to rules that depend on glog. It also adds a caveat about not supporting the namespace parameter.

@skeptic-monkey, could you check that these changes work with your use case?

This uses strip_include_prefix to avoid leaking private headers
(config.h, port.h). This needs a workaround to prevent a "missing
dependency declarations" error.
The only macro referenced by the public headers is GOOGLE_GLOG_DLL_DECL.
This means fewer defines are propagated to rules that depend on glog.
@drigz
Copy link
Member Author
drigz commented Nov 27, 2019

Another user reported that this works for them, so I'll merge.

@drigz drigz merged commit 1b7d541 into master Nov 27, 2019
@drigz drigz deleted the bazel-windows branch November 27, 2019 17:24
@sergiud sergiud added this to the 0.5 milestone Mar 30, 2021
@sergiud sergiud mentioned this pull request May 6, 2021
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.

3 participants
0