File tree Expand file tree Collapse file tree
boringssl/src/main/native Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 run : |
2323 echo 'android.sdk.channel=3' >> gradle.properties
2424 echo 'android.native.buildOutput=verbose' >> gradle.properties
25+ echo 'android.testoptions.manageddevices.emulator.gpu=swiftshader_indirect' >> gradle.properties
26+ echo 'android.experimental.testOptions.emulatorSnapshots.maxSnapshotsForTestFailures=0' >> gradle.properties
2527 echo 'org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8' >> gradle.properties
2628 echo 'org.gradle.caching=true' >> gradle.properties
2729
3638 git apply boringssl/src/main/native/patchs/*.patch
3739 - name : Setup Gradle
3840 uses : gradle/actions/setup-gradle@v4
41+ with :
42+ build-scan-publish : true
43+ build-scan-terms-of-use-url : " https://gradle.com/terms-of-service"
44+ build-scan-terms-of-use-agree : " yes"
3945 - name : Build with Gradle
4046 run : |
4147 ./gradlew :a:assemble
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Gradle:
1010
1111``` gradle
1212implementation("io.github.vvb2060.ndk:boringssl:20251124")
13- // or LTO version (~40MiB ), it does not strip any debug info
13+ // or LTO version (~50MiB ), it does not strip any debug info
1414implementation("io.github.vvb2060.ndk:boringssl:20251124-lto-ndk29")
1515```
1616
Original file line number Diff line number Diff line change 1- APP_CFLAGS := -Wall -Werror -Wno-unused-parameter -fvisibility=hidden -DOPENSSL_SMALL
1+ APP_CFLAGS := -Wall -Werror -Wno-unused-parameter
2+ APP_CFLAGS := -fno-strict-aliasing -fno-common -fvisibility=hidden -DOPENSSL_SMALL
23APP_CFLAGS += -Wno-builtin-macro-redefined -D__FILE__=__FILE_NAME__
34APP_LDFLAGS := -Wl,--icf=all
45APP_CONLYFLAGS := -std=c17
You can’t perform that action at this time.
0 commit comments