Skip to content

Conversation

@Abdelaziz177
Copy link

Visibility: switch the following targets to //visibility:public so downstream repos (e.g. communication) can depend on them directly:

generic_trace_api_header
trace_library_interface
meta_info
type_definitions

Dependency fix: add :trace_library_interface to :generic_trace_api_header deps.
generic_trace_api.h includes i_trace_library.h, so this must be provided transitively; otherwise downstream builds see missing headers.

Background / context

While building the QNX IPC example and communication’s tracing code, we hit missing-header and visibility errors because
@score-baselibs//score/analysis/tracing/generic_trace_library/interface_types targets were restricted to subpackages
and generic_trace_api_header didn’t expose the interface include it uses.

communication consumes the interface types directly (not the full tracing lib), so these symbols need to be publicly visible.

Impact

Unblocks communication/score/mw/com/impl/tracing and the QNX IPC example build.

No behavioral changes; build/visibility only.

Notes for reviewers

Only BUILD file changes; no C++ source changes.

The change preserves existing warning features (COMPILER_WARNING_FEATURES).

Testing

Rebuilt locally after the change and verified that communication can depend on the interface targets without visibility or missing-header failures.

Built the QNX IPC example with the updated deps.

…nterface to generic_trace_api_header deps

- visibility: __subpackages__ → //visibility:public
- deps: add :trace_library_interface to generic_trace_api_header

This unblocks communication/impl/tracing which consumes the interface types directly when building QNX IPC example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant