Skip to content

Migrate YogaLogLevel enum to Kotlin#56794

Closed
cortinico wants to merge 12 commits into
facebook:mainfrom
cortinico:export-D104666343
Closed

Migrate YogaLogLevel enum to Kotlin#56794
cortinico wants to merge 12 commits into
facebook:mainfrom
cortinico:export-D104666343

Conversation

@cortinico
Copy link
Copy Markdown
Contributor

Summary: Migrate YogaLogLevel.java to YogaLogLevel.kt by adding LogLevel to KOTLIN_ENUM_NAMES in enums.py and regenerating. Also adds DO_NOT_STRIP support to the Kotlin codegen path to preserve the DoNotStrip annotation.

Differential Revision: D104666343

cortinico and others added 12 commits May 12, 2026 05:42
Summary:
Migrate YogaAlign.java to YogaAlign.kt by adding Align to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Changelog:
[Internal] -

Differential Revision: D104666334
Summary: Migrate YogaBoxSizing.java to YogaBoxSizing.kt by adding BoxSizing to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666350
Summary: Migrate YogaDimension.java to YogaDimension.kt by adding Dimension to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666342
Summary: Migrate YogaDisplay.java to YogaDisplay.kt by adding Display to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666346
Summary: Migrate YogaEdge.java to YogaEdge.kt by adding Edge to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666351
Summary: Migrate YogaErrata.java to YogaErrata.kt by adding Errata to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666332
Summary: Migrate YogaExperimentalFeature.java to YogaExperimentalFeature.kt by adding ExperimentalFeature to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666330
Summary: Migrate YogaFlexDirection.java to YogaFlexDirection.kt by adding FlexDirection to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666341
Summary: Migrate YogaGridTrackType.java to YogaGridTrackType.kt by adding GridTrackType to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666336
Summary: Migrate YogaGutter.java to YogaGutter.kt by adding Gutter to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666345
Summary: Migrate YogaJustify.java to YogaJustify.kt by adding Justify to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666331
Summary: Migrate YogaLogLevel.java to YogaLogLevel.kt by adding LogLevel to KOTLIN_ENUM_NAMES in enums.py and regenerating. Also adds DO_NOT_STRIP support to the Kotlin codegen path to preserve the DoNotStrip annotation.

Differential Revision: D104666343
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 12, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 12, 2026

@cortinico has exported this pull request. If you are a Meta employee, you can view the originating Diff in D104666343.

@meta-codesync meta-codesync Bot closed this in 5d5350b May 12, 2026
@facebook-github-tools facebook-github-tools Bot added the Merged This PR has been merged. label May 12, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 12, 2026

This pull request has been merged in 5d5350b.

meta-codesync Bot pushed a commit to facebook/yoga that referenced this pull request May 12, 2026
Summary:
Pull Request resolved: #1943

X-link: facebook/react-native#56794

Migrate YogaLogLevel.java to YogaLogLevel.kt by adding LogLevel to KOTLIN_ENUM_NAMES in enums.py and regenerating. Also adds DO_NOT_STRIP support to the Kotlin codegen path to preserve the DoNotStrip annotation.

Reviewed By: fabriziocucci

Differential Revision: D104666343

fbshipit-source-id: 6307e0f72559d505a8db115d63669271cbd8754a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant