Skip to content

Commit

Permalink
Bump to NDK 27b + 16 KB page size
Browse files Browse the repository at this point in the history
Reviewed By: oprisnik

Differential Revision: D63514438

fbshipit-source-id: 568f6c1a7af864298f76cce3e9de4ce20c5aac64
  • Loading branch information
alanleedev authored and facebook-github-bot committed Oct 9, 2024
1 parent f5d7c99 commit 766a877
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r25c
ndk-version: r27b
- name: Install JDK
uses: actions/setup-java@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
id: setup-ndk
uses: nttld/setup-ndk@v1
with:
ndk-version: r25c
ndk-version: r27b
- name: Register NDK
run: |
echo $PATH
echo 'ndk.path=/opt/hostedtoolcache/ndk/r25c/x64' >> local.properties
echo 'ndk.path=/opt/hostedtoolcache/ndk/r27b/x64' >> local.properties
- name: Write GPG Sec Ring
run: echo '${{ secrets.GPG_KEY_CONTENTS }}' | base64 -d > /tmp/secring.gpg
- name: Update gradle.properties
Expand Down
2 changes: 1 addition & 1 deletion animated-gif/src/main/jni/Application.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ APP_MK_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
NDK_MODULE_PATH := $(APP_MK_DIR)$(HOST_DIRSEP)$(APP_MK_DIR)../../../nativedeps/merge

APP_STL := c++_static

APP_SUPPORT_FLEXIBLE_PAGE_SIZES := true
# Make sure every shared lib includes a .note.gnu.build-id header
APP_LDFLAGS := -Wl,--build-id

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ object GradleDeps {
}

object Native {
const val version = "25.2.9519653"
const val version = "27.1.12297006"
}

object Publishing {
Expand Down
2 changes: 1 addition & 1 deletion imagepipeline-native/src/main/jni/Application.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ APP_MK_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
NDK_MODULE_PATH := $(APP_MK_DIR)$(HOST_DIRSEP)$(APP_MK_DIR)../../../nativedeps/merge

APP_STL := c++_static

APP_SUPPORT_FLEXIBLE_PAGE_SIZES := true
# Make sure every shared lib includes a .note.gnu.build-id header
APP_LDFLAGS := -Wl,--build-id

Expand Down
2 changes: 1 addition & 1 deletion imagepipeline-native/src/main/jni/imagepipeline/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ LOCAL_LDFLAGS += $(FRESCO_CPP_LDFLAGS)

LOCAL_STATIC_LIBRARIES += bitmaps
LOCAL_STATIC_LIBRARIES += memchunk
LOCAL_LDFLAGS += -Wl,--exclude-libs
LOCAL_LDFLAGS += -Wl

include $(BUILD_SHARED_LIBRARY)
$(call import-module,bitmaps)
Expand Down
4 changes: 2 additions & 2 deletions native-filters/src/main/jni/Application.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ APP_MK_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
NDK_MODULE_PATH := $(APP_MK_DIR)$(HOST_DIRSEP)$(APP_MK_DIR)../../../nativedeps/merge

APP_STL := c++_static

APP_SUPPORT_FLEXIBLE_PAGE_SIZES := true
# Make sure every shared lib includes a .note.gnu.build-id header
APP_LDFLAGS := -Wl,--build-id

Expand All @@ -23,4 +23,4 @@ NDK_TOOLCHAIN_VERSION := clang
# coming from other stl implementations as well

# This hides all symbols exported from libgnustl_static
FRESCO_CPP_LDFLAGS := -Wl,--gc-sections
FRESCO_CPP_LDFLAGS := -Wl,--gc-sections
4 changes: 2 additions & 2 deletions native-filters/src/main/jni/native-filters/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ LOCAL_LDLIBS := -llog -ljnigraphics
LOCAL_LDFLAGS += $(FRESCO_CPP_LDFLAGS)

LOCAL_STATIC_LIBRARIES += filters
LOCAL_LDFLAGS += -Wl,--exclude-libs
LOCAL_LDFLAGS += -Wl

include $(BUILD_SHARED_LIBRARY)
$(call import-module,filters)
$(call import-module,filters)
2 changes: 1 addition & 1 deletion native-imagetranscoder/src/main/jni/Application.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ APP_MK_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
NDK_MODULE_PATH := $(APP_MK_DIR)$(HOST_DIRSEP)$(APP_MK_DIR)../../../nativedeps/merge

APP_STL := c++_static

APP_SUPPORT_FLEXIBLE_PAGE_SIZES := true
# Make sure every shared lib includes a .note.gnu.build-id header
APP_LDFLAGS := -Wl,--build-id

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,5 @@ include $(CLEAR_VARS)
LOCAL_MODULE:= fb_jpegturbo
LOCAL_SRC_FILES := $(JPEGTURBO_SRC_FILES)
LOCAL_CFLAGS := $(JPEGTURBO_CFLAGS)
LOCAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
include $(BUILD_STATIC_LIBRARY)
2 changes: 1 addition & 1 deletion static-webp/src/main/jni/Application.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ APP_MK_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
NDK_MODULE_PATH := $(APP_MK_DIR)$(HOST_DIRSEP)$(APP_MK_DIR)../../../nativedeps/merge

APP_STL := c++_static

APP_SUPPORT_FLEXIBLE_PAGE_SIZES := true
# Make sure every shared lib includes a .note.gnu.build-id header
APP_LDFLAGS := -Wl,--build-id

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ open class BaseControllerListener2<INFO> : ControllerListener2<INFO> {
companion object {
private val NO_OP_LISTENER: ControllerListener2<*> = BaseControllerListener2<Any?>()

@Suppress("UNCHECKED_CAST")
@JvmStatic
fun <I> getNoOpListener(): ControllerListener2<I> = NO_OP_LISTENER as ControllerListener2<I>
}
Expand Down

0 comments on commit 766a877

Please sign in to comment.