Make perfetto_trace_protos vendor_available#2114
Merged
Conversation
Due to b/424439549, Soong wasn't enforcing that vendor modules could only link against other vendor modules. Add vendor_available to perfetto_trace_protos since it is used by a vendor module to allow re-enabling the error in Soong. Bug: 424439549 Flag: EXEMPT build only fix Test: builds Change-Id: Ibe0de069bf11aeacf8963c343270c8cfbac9f55d (cherry picked from commit 0a67696)
rsavitski
approved these changes
Jul 10, 2025
olehkuznetsov
pushed a commit
to olehkuznetsov/perfetto
that referenced
this pull request
Mar 12, 2026
Port of internal commit. **Original commit message:** Subject: Make perfetto_trace_protos vendor_available Due to b/424439549, Soong wasn't enforcing that vendor modules could only link against other vendor modules. Add vendor_available to perfetto_trace_protos since it is used by a vendor module to allow re-enabling the error in Soong. Bug: 424439549 Flag: EXEMPT build only fix Test: builds Change-Id: Ibe0de069bf11aeacf8963c343270c8cfbac9f55d --- Original internal commit hash: 0a67696 Cherry-picked with `-x`. This PR is part of a stack. Base branch: main Co-authored-by: Colin Cross <ccross@android.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port of internal commit.
Original commit message:
Subject: Make perfetto_trace_protos vendor_available
Due to b/424439549, Soong wasn't enforcing that vendor modules could only link against
other vendor modules. Add vendor_available to perfetto_trace_protos
since it is used by a vendor module to allow re-enabling the error in
Soong.
Bug: 424439549
Flag: EXEMPT build only fix
Test: builds
Change-Id: Ibe0de069bf11aeacf8963c343270c8cfbac9f55d
Original internal commit hash: 0a67696
Cherry-picked with
-x.This PR is part of a stack. Base branch: main