1 # Set wam executable file path
4 # Set wam name for user-agent
5 WAM_NAME="WebAppManager"
9 # Only allow UTF8 encoding for luna-service messages.
12 # suspending javascript execution delay for page visibility
13 WAM_SUSPEND_DELAY_IN_MS=250
15 WAM_DATA_PATH="/home/agl-driver/wamdata"
17 # setup 50 Mb maximum for ApplicationCache
18 WAM_APPCACHE_MAXSIZE=52428800
20 # setup 10 Mb maximum for ApplicationCache per domain
21 WAM_APPCACHE_DOMAINLIMIT=10485760
23 # setup 50 Mb maximum for DiskCache
24 WAM_DISKCACHE_MAXSIZE=52428800
26 # setup 256 Kb maximum for resource buffer allocation
27 WAM_RESOURCE_BUFFER_MAX_ALLOC_SIZE=262144
29 # setup 1 Mb for resource buffer
30 WAM_RESOURCE_BUFFER_SIZE=1048576
32 # setup 200 seconds for watchdog timeout of render process
33 WATCHDOG_RENDER_TIMEOUT=200
35 # setup nubmer of raster threads to 1
36 BLINK_NUM_RASTER_THREADS=2
38 # use default tile width if not sed by recipe
39 BLINK_NUM_RASTER_THREADS=1
41 # setup 6 Mb maximum for the program GPU cache
42 GPU_PROGRAM_CACHE_SIZE=6144
44 # Set location of all NPAPI plugins
45 NPAPI_PLUGIN_PATH=${HBBTV_PLUGIN_PATH}":"${NETCAST_PLUGIN_PATH}":"${PRIVILEGED_PLUGIN_PATH}
47 # setup 8 Mb minimum codecache capacity
48 JSC_minGlobalCodeCacheCapacity=8388608
50 # Enable more explicit logging of timing with regards to rendering
51 # export WAM2_ENABLE_DEBUG_RENDER_TIMING=1
53 # enable Web Inspector and Tellurium if in developer mode
54 TELLURIUM_NUB_PATH=/usr/palm/tellurium/telluriumnub.js
57 # Enable cursor by default
58 ENABLE_CURSOR_BY_DEFAULT=1
60 # Enable launch optimization
61 ENABLE_LAUNCH_OPTIMIZATION=1
63 # Set the duration(seconds) passed from last network activity (e.g. FMP Detector)
64 # If set to a positive value, adjust a custom timeout for a network stable timer in FMPDetector
65 NETWORK_STABLE_TIMEOUT=3
67 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/share/wam
70 --user-data-dir=\"$WAM_DATA_PATH\" \
72 --ozone-platform=wayland \
74 --use-viz-fmp-with-timeout=0 \
75 --remote-debugging-port=9998 \
77 --agl-shell-appid=homescreen \
79 --ignore-gpu-blocklist \
80 --allow-universal-access-from-files \
81 --allow-file-access-from-files"