Skip to content

Conversation

@copybara-service
Copy link

Adjust JNI targets

Removes color/internal/jni:native. The targets following that pattern are supposed to be JNI interface targets, but this one didn't contain JNI interface at all. It contained only helper code, which consumers are already getting from the more specific :color_jni_helper target.

Rename the other JNI interface targets from [module]/internal/jni:native to just module/internal/jni for brevity.

Stop depending on brush/internal/jni from strokes/internal/jni for consistency. The other targets reflect the JNI interface of a single module, not the interface of a module and that module's dependencies.

Move rendering/skia/common_internal/jni to rendering/android/internal/jni for consistency and to clarify that's Android-specific code which doesn't introduce a C++ Skia dependency.

Removes `color/internal/jni:native`. The targets following that pattern are supposed to be JNI interface targets, but this one didn't contain JNI interface at all. It contained only helper code, which consumers are already getting from the more specific `:color_jni_helper` target.

Rename the other JNI interface targets from `[module]/internal/jni:native` to just `module/internal/jni` for brevity.

Stop depending on `brush/internal/jni` from `strokes/internal/jni` for consistency. The other targets reflect the JNI interface of a single module, not the interface of a module and that module's dependencies.

Move `rendering/skia/common_internal/jni` to `rendering/android/internal/jni` for consistency and to clarify that's Android-specific code which doesn't introduce a C++ Skia dependency.

PiperOrigin-RevId: 855902247
@copybara-service copybara-service bot merged commit 8755e16 into main Jan 13, 2026
@copybara-service copybara-service bot deleted the test_854327276 branch January 13, 2026 23:17
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