Skip to content

Commit c827d05

Browse files
Renju MenonRenju Menon
authored andcommitted
upgrade pdfium to make 16 kb page size support
1 parent 4a4011c commit c827d05

File tree

334 files changed

+30810
-8306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

334 files changed

+30810
-8306
lines changed

android-pdf-viewer/bintray.gradle

Lines changed: 0 additions & 89 deletions
This file was deleted.

android-pdf-viewer/build.gradle

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,15 @@
11
apply plugin: 'com.android.library'
22

3-
ext {
4-
bintrayRepo = 'maven'
5-
bintrayName = 'android-pdf-viewer'
63

7-
publishedGroupId = 'com.github.barteksc'
8-
libraryName = 'AndroidPdfViewer'
9-
artifact = 'android-pdf-viewer'
10-
11-
libraryDescription = 'Android view for displaying PDFs rendered with PdfiumAndroid'
12-
13-
siteUrl = 'https://github.com/barteksc/AndroidPdfViewer'
14-
gitUrl = 'https://github.com/barteksc/AndroidPdfViewer.git'
15-
16-
libraryVersion = '3.2.0-beta.1'
17-
18-
developerId = 'barteksc'
19-
developerName = 'Bartosz Schiller'
20-
developerEmail = '[email protected]'
21-
22-
licenseName = 'The Apache Software License, Version 2.0'
23-
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
24-
allLicenses = ["Apache-2.0"]
25-
}
264

275
android {
28-
compileSdkVersion 29
6+
compileSdkVersion 35
7+
namespace 'com.github.barteksc.pdfviewer'
8+
299

3010
defaultConfig {
31-
minSdkVersion 14
32-
targetSdkVersion 29
11+
minSdkVersion 21
12+
targetSdkVersion 35
3313
versionCode 1
3414
versionName "4.0.0"
3515
}
@@ -46,4 +26,3 @@ dependencies {
4626
api project(':pdfium')
4727
}
4828

49-
apply from: 'bintray.gradle'

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
21
buildscript {
32
repositories {
43
google()
5-
jcenter()
4+
mavenCentral()
5+
maven { url "https://jitpack.io" }
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:4.0.1'
9-
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5'
8+
classpath 'com.android.tools.build:gradle:8.7.3'
109
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
10+
1111
}
1212
}
1313

1414
allprojects {
1515
repositories {
1616
google()
17-
jcenter()
17+
mavenCentral()
1818
maven { url 'https://jitpack.io' }
1919
}
2020
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Values used to calculate the hash in this folder name.
2+
# Should not depend on the absolute path of the project itself.
3+
# - AGP: 8.7.3.
4+
# - $NDK is the path to NDK 27.0.12077973.
5+
# - $PROJECT is the path to the parent folder of the root Gradle build file.
6+
# - $ABI is the ABI to be built with. The specific value doesn't contribute to the value of the hash.
7+
# - $HASH is the hash value computed from this text.
8+
# - $CMAKE is the path to CMake 3.22.1.
9+
# - $NINJA is the path to Ninja.
10+
-H$PROJECT/pdfium/src/main/cpp
11+
-DCMAKE_SYSTEM_NAME=Android
12+
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
13+
-DCMAKE_SYSTEM_VERSION=21
14+
-DANDROID_PLATFORM=android-21
15+
-DANDROID_ABI=$ABI
16+
-DCMAKE_ANDROID_ARCH_ABI=$ABI
17+
-DANDROID_NDK=$NDK
18+
-DCMAKE_ANDROID_NDK=$NDK
19+
-DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake
20+
-DCMAKE_MAKE_PROGRAM=$NINJA
21+
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=$PROJECT/pdfium/build/intermediates/cxx/Debug/$HASH/obj/$ABI
22+
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=$PROJECT/pdfium/build/intermediates/cxx/Debug/$HASH/obj/$ABI
23+
-DCMAKE_BUILD_TYPE=Debug
24+
-B$PROJECT/pdfium/.cxx/Debug/$HASH/$ABI
25+
-GNinja
26+
-DANDROID_STL=c++_shared

pdfium/.cxx/Debug/236r5j22/x86/.cmake/api/v1/query/client-agp/cache-v2

Whitespace-only changes.

pdfium/.cxx/Debug/236r5j22/x86/.cmake/api/v1/query/client-agp/cmakeFiles-v1

Whitespace-only changes.

pdfium/.cxx/Debug/236r5j22/x86/.cmake/api/v1/query/client-agp/codemodel-v2

Whitespace-only changes.

0 commit comments

Comments
 (0)