summaryrefslogtreecommitdiffstats
path: root/src/core/config/common.pri
blob: f822ab7cc5566591d6aa483ed68aea7ea170af3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Shared configuration for all our supported platforms

# Trigger Qt-specific build conditions.
GYP_CONFIG += use_qt=1
# We do not want to ship more external binary blobs, so let v8 embed its startup data.
GYP_CONFIG += v8_use_external_startup_data=0
# WebSpeech requires Google API keys and adds dependencies on speex and flac.
GYP_CONFIG += enable_web_speech=0
# We do not use or even include the extensions
GYP_CONFIG += enable_extensions=0

sanitize_address: GYP_CONFIG += asan=1
sanitize_thread: GYP_CONFIG += tsan=1
sanitize_memory: GYP_CONFIG += msan=1
sanitize_undefined: GYP_CONFIG += ubsan=1

use?(printing) {
    GYP_CONFIG += enable_basic_printing=1 enable_print_preview=1
} else {
    GYP_CONFIG += enable_basic_printing=0 enable_print_preview=0
}

use?(pdf) {
    GYP_CONFIG += enable_pdf=1
} else {
    GYP_CONFIG += enable_pdf=0
}

use?(pepper_plugins) {
    GYP_CONFIG += enable_plugins=1 enable_widevine=1
} else {
    GYP_CONFIG += enable_plugins=0 enable_widevine=0
}