summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pdf/config/common.pri3
-rw-r--r--src/pdf/configure.json11
2 files changed, 12 insertions, 2 deletions
diff --git a/src/pdf/config/common.pri b/src/pdf/config/common.pri
index f688caded..b148e55fa 100644
--- a/src/pdf/config/common.pri
+++ b/src/pdf/config/common.pri
@@ -76,3 +76,6 @@ qtConfig(pdf-xfa-tiff) {
} else {
gn_args += pdf_enable_xfa_tiff=false
}
+qtConfig(pdf-bitcode) {
+ gn_args += enable_ios_bitcode=true
+}
diff --git a/src/pdf/configure.json b/src/pdf/configure.json
index 069893660..baea3520d 100644
--- a/src/pdf/configure.json
+++ b/src/pdf/configure.json
@@ -44,7 +44,13 @@
"purpose": "Enables XFA-TIFF support.",
"condition": "features.pdf-xfa",
"output": ["privateFeature" ]
- }
+ },
+ "pdf-bitcode": {
+ "label": "Bitcode support",
+ "purpose": "Enables bitcode",
+ "condition": "config.ios",
+ "output": ["privateFeature"]
+ }
},
"report": [
],
@@ -57,7 +63,8 @@
"pdf-xfa-bmp",
"pdf-xfa-gif",
"pdf-xfa-png",
- "pdf-xfa-tiff"
+ "pdf-xfa-tiff",
+ "pdf-bitcode"
]
}
]