[wam][cef] Fix wam user and working directory
[AGL/meta-agl-demo.git] / recipes-wam / wam / files / WebAppMgr.env
1 # Set wam executable file path
2 HOOK_SEGV=NO
3
4 # Set wam name for user-agent
5 WAM_NAME="WebAppManager"
6
7 WAM_IS_CEF=false
8
9 # Only allow UTF8 encoding for luna-service messages.
10 LS_ENABLE_UTF8=1
11
12 # suspending javascript execution delay for page visibility
13 WAM_SUSPEND_DELAY_IN_MS=250
14
15 WAM_DATA_PATH="/home/agl-driver/wamdata"
16
17 # setup 50 Mb maximum for ApplicationCache
18 WAM_APPCACHE_MAXSIZE=52428800
19
20 # setup 10 Mb maximum for ApplicationCache per domain
21 WAM_APPCACHE_DOMAINLIMIT=10485760
22
23 # setup 50 Mb maximum for DiskCache
24 WAM_DISKCACHE_MAXSIZE=52428800
25
26 # setup 256 Kb maximum for resource buffer allocation
27 WAM_RESOURCE_BUFFER_MAX_ALLOC_SIZE=262144
28
29 # setup 1 Mb for resource buffer
30 WAM_RESOURCE_BUFFER_SIZE=1048576
31
32 # setup 200 seconds for watchdog timeout of render process
33 WATCHDOG_RENDER_TIMEOUT=200
34
35 # setup nubmer of raster threads to 1
36 BLINK_NUM_RASTER_THREADS=2
37
38 # use default tile width if not sed by recipe
39 BLINK_NUM_RASTER_THREADS=1
40
41 # setup 6 Mb maximum for the program GPU cache
42 GPU_PROGRAM_CACHE_SIZE=6144
43 # Set location of all NPAPI plugins
44 NPAPI_PLUGIN_PATH=${HBBTV_PLUGIN_PATH}":"${NETCAST_PLUGIN_PATH}":"${PRIVILEGED_PLUGIN_PATH}
45
46 # setup 8 Mb minimum codecache capacity
47 JSC_minGlobalCodeCacheCapacity=8388608
48
49 # Enable more explicit logging of timing with regards to rendering
50 # export WAM2_ENABLE_DEBUG_RENDER_TIMING=1
51
52 # enable Web Inspector and Tellurium if in developer mode
53 TELLURIUM_NUB_PATH=/usr/palm/tellurium/telluriumnub.js
54 ENABLE_INSPECTOR=1
55
56 # Enable cursor by default
57 ENABLE_CURSOR_BY_DEFAULT=1
58
59 # Enable launch optimization
60 ENABLE_LAUNCH_OPTIMIZATION=1
61
62 # Set the duration(seconds) passed from last network activity (e.g. FMP Detector)
63 # If set to a positive value, adjust a custom timeout for a network stable timer in FMPDetector
64 NETWORK_STABLE_TIMEOUT=3
65
66 WAM_SWITCHES="\
67   --user-data-dir=$WAM_DATA_PATH \
68   --use-gl=egl \
69   --enable-features=UseOzonePlatform \
70   --ozone-platform=wayland \
71   --no-sandbox \
72   --use-viz-fmp-with-timeout=0 \
73   --in-process-gpu \
74   --remote-debugging-port=9998 \
75   --webos-wam \
76   --agl-shell-appid=homescreen \
77   --disable-gpu-vsync \
78   --ignore-gpu-blocklist"