Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: build with ndk r27b on top of webkitgtk 2.26.4 #184

Merged
merged 6 commits into from
Nov 25, 2024
Merged

Conversation

Kudo
Copy link
Member

@Kudo Kudo commented Nov 16, 2024

Why

to support android 16k page sizes and react-native 0.77

How

  • migrate webkit repo from svn to git
  • update to webkitgtk 2.26.4 (previous we had 2.26.1). the main reason is that git repo don't have 2.26.1 tag but 2.26 branch.
  • change the version scheme. originally we use svn revision, but webkit team don't have revision anymore. the new version scheme will base on webkitgtk version.
    $ echo "2.26.4" | awk -F. '{printf "%d%03d%03d\n", $1, $2, $3}'
    2026004
  • update ci, lib builder, and test projects
  • use ndk r27b
  • bump minSdkVersion to 24
  • add -Wl,-z,max-page-size=16384 linker flags

Test Plan

ci passed

Kudo added 6 commits November 16, 2024 18:46
- use ndk r27
- use jdk 17
- use android emulator api 24
- use ubuntu-runner and maestro to run e2e test
- gradle wrapper 8.10.2
- agp 8.7.2
- git rm -rf test
- yarn create expo-app -t blank@@sdk-52 test
- add postinstall to package.json to replace jsc dist
- update app.json
  - add appId
  - add jsEngine=jsc
- add maestro.yaml
- migrate repo from svn to git
- since we bump ndk to r27, then we can remove deprecated NDK patches
- set minSdkVersion to 24
@Kudo Kudo marked this pull request as ready for review November 25, 2024 13:18
@Kudo Kudo merged commit 4a89838 into main Nov 25, 2024
2 checks passed
@Kudo Kudo deleted the @kudo/ndkr27_2_26_1 branch November 25, 2024 13:19
facebook-github-bot pushed a commit to facebook/react-native that referenced this pull request Dec 6, 2024
Summary:
Since people mostly use Hermes, it doesn't make sense to download jsc-android from npm even when jsc is not used. This PR migrates the jsc-android to [mavenCentral](https://repo1.maven.org/maven2/io/github/react-native-community/jsc-android/2026004.0.0/). The new jsc-android supports Android 16KB memory page sizes and packaged by prefab.
Relevant PRs:
  - react-native-community/jsc-android-buildscripts#184
  - react-native-community/jsc-android-buildscripts#185

## Changelog:

[ANDROID] [CHANGED] - Migrate jsc-android to mavenCentral

Pull Request resolved: #47972

Test Plan: CI passed

Reviewed By: cipolleschi

Differential Revision: D66772407

Pulled By: cortinico

fbshipit-source-id: e34d2d138996e394763ef67d7aad65bb3e7b13dc
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