From 047143867512abec5bba92ac7d58baa619cf8e57 Mon Sep 17 00:00:00 2001 From: Keshav Kolur Date: Fri, 30 Oct 2026 10:46:23 -0700 Subject: [PATCH] Preserve Yoga JNI header and assertion build dependencies Summary: Preserve Yoga's existing JNI header selection and debug assertion implementation when deriving build dependencies. This changes dependency annotations only; layout behavior, public APIs, JNI code and platform flags are unchanged. Changelog: [Internal] Differential Revision: D127967094 --- lib/yoga/java/jni/ScopedGlobalRef.h | 2 +- lib/yoga/java/jni/ScopedLocalRef.h | 2 +- lib/yoga/java/jni/YGJNIVanilla.cpp | 2 +- lib/yoga/java/jni/YGJNIVanilla.h | 2 +- lib/yoga/java/jni/YGJTypesVanilla.h | 2 +- lib/yoga/java/jni/corefunctions.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/yoga/java/jni/ScopedGlobalRef.h b/lib/yoga/java/jni/ScopedGlobalRef.h index a8dcacbd12f..13e98106c41 100644 --- a/lib/yoga/java/jni/ScopedGlobalRef.h +++ b/lib/yoga/java/jni/ScopedGlobalRef.h @@ -7,7 +7,7 @@ #pragma once -#include +#include // @manual #include #include #include "corefunctions.h" diff --git a/lib/yoga/java/jni/ScopedLocalRef.h b/lib/yoga/java/jni/ScopedLocalRef.h index 75af2673298..bd750f2e36a 100644 --- a/lib/yoga/java/jni/ScopedLocalRef.h +++ b/lib/yoga/java/jni/ScopedLocalRef.h @@ -11,7 +11,7 @@ */ #pragma once -#include +#include // @manual #include #include diff --git a/lib/yoga/java/jni/YGJNIVanilla.cpp b/lib/yoga/java/jni/YGJNIVanilla.cpp index d3d39a704c1..36a724c9c85 100644 --- a/lib/yoga/java/jni/YGJNIVanilla.cpp +++ b/lib/yoga/java/jni/YGJNIVanilla.cpp @@ -16,7 +16,7 @@ #include "YGJTypesVanilla.h" #include "YogaJniException.h" #include "common.h" -#include "jni.h" +#include "jni.h" // @manual using namespace facebook; using namespace facebook::yoga; diff --git a/lib/yoga/java/jni/YGJNIVanilla.h b/lib/yoga/java/jni/YGJNIVanilla.h index 77b8b11ba3c..13643b46e37 100644 --- a/lib/yoga/java/jni/YGJNIVanilla.h +++ b/lib/yoga/java/jni/YGJNIVanilla.h @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -#include "jni.h" +#include "jni.h" // @manual namespace YGJNIVanilla { void registerNatives(JNIEnv* env); diff --git a/lib/yoga/java/jni/YGJTypesVanilla.h b/lib/yoga/java/jni/YGJTypesVanilla.h index 5d21871c8e5..d7ed6c669fa 100644 --- a/lib/yoga/java/jni/YGJTypesVanilla.h +++ b/lib/yoga/java/jni/YGJTypesVanilla.h @@ -13,7 +13,7 @@ #include #include "common.h" -#include "jni.h" +#include "jni.h" // @manual class PtrJNodeMapVanilla { std::map ptrsToIdxs_{}; diff --git a/lib/yoga/java/jni/corefunctions.h b/lib/yoga/java/jni/corefunctions.h index ced9480b9cb..5efc061bf92 100644 --- a/lib/yoga/java/jni/corefunctions.h +++ b/lib/yoga/java/jni/corefunctions.h @@ -7,7 +7,7 @@ #pragma once -#include +#include // @manual #include namespace facebook::yoga::vanillajni {