Commit aa778390 authored by Jonathan Metzman's avatar Jonathan Metzman Committed by Commit Bot

[LPM] Make psuedo-protobuf_full a static_library like the real one.

Change-Id: I5553b7df35bbed19fe8c99645db5265aee67d776
Reviewed-on: https://chromium-review.googlesource.com/1147609
Commit-Queue: Jonathan Metzman <metzman@chromium.org>
Reviewed-by: default avatarMartin Barbella <mbarbella@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577354}
parent 25a1b05e
......@@ -98,13 +98,14 @@ fuzzable_proto_library("override_lite_runtime_plugin_test_fuzzer_proto") {
]
}
# Component that can provide protobuf_full to non-testonly targets
component("protobuf_full") {
# Stop people from using me by accident.
if (!use_libfuzzer) {
testonly = true
}
# Avoid CQ complaints on platforms we don't care about (ie: iOS).
# Also prevent people from using this to include protobuf_full into a production
# build of Chrome.
if (use_libfuzzer) {
# Component that can provide protobuf_full to non-testonly targets
static_library("protobuf_full") {
public_deps = [
"//third_party/protobuf:protobuf_full",
]
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment