Commit 7e4c994
Generate Kotlin files with enums.py (#55631)
Summary:
Pull Request resolved: #55631
This PR extends enums.py to also write Kotlin files. To introduce this in the least breaking manner, we can gradually do one by one and at the end clean up the Java script.
Migrate YogaDirection to Kotlin.
Changelog: [Internal]
X-link: facebook/yoga#1845
Test Plan:
RN
```sh
yarn android
yarn test-android
```
Yoga
```sh
./gradlew :yoga:assembleDebug
```
Reviewed By: cortinico
Differential Revision: D93555645
Pulled By: NickGerleman
fbshipit-source-id: cdddc9850f05cf0782cc4fdb782f22776ab12d311 parent 21ada9c commit 7e4c994
2 files changed
Lines changed: 29 additions & 35 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/yoga
Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments