Add a reverse proxy to enable grpc-web for webapps
[AGL/meta-agl-demo.git] / recipes-wam / wam / files / WebAppMgr-cef.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=true
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
44 # Set location of all NPAPI plugins
45 NPAPI_PLUGIN_PATH=${HBBTV_PLUGIN_PATH}":"${NETCAST_PLUGIN_PATH}":"${PRIVILEGED_PLUGIN_PATH}
46
47 # setup 8 Mb minimum codecache capacity
48 JSC_minGlobalCodeCacheCapacity=8388608
49
50 # Enable more explicit logging of timing with regards to rendering
51 # export WAM2_ENABLE_DEBUG_RENDER_TIMING=1
52
53 # enable Web Inspector and Tellurium if in developer mode
54 TELLURIUM_NUB_PATH=/usr/palm/tellurium/telluriumnub.js
55 ENABLE_INSPECTOR=1
56
57 # Enable cursor by default
58 ENABLE_CURSOR_BY_DEFAULT=1
59
60 # Enable launch optimization
61 ENABLE_LAUNCH_OPTIMIZATION=1
62
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
66
67 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/share/wam
68
69 WAM_SWITCHES="\
70   --user-data-dir=\"$WAM_DATA_PATH\" \
71   --use-gl=egl \
72   --ozone-platform=wayland \
73   --no-sandbox \
74   --use-viz-fmp-with-timeout=0 \
75   --remote-debugging-port=9998 \
76   --webos-wam \
77   --agl-shell-appid=homescreen \
78   --disable-gpu-vsync \
79   --ignore-gpu-blocklist \
80   --allow-universal-access-from-files \
81   --allow-file-access-from-files"