Skip to content

Commit

Permalink
Include jvv validator file in packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
daijro committed Dec 2, 2024
1 parent ad807b2 commit 3e524aa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ setup: setup-minimal
ff-dbg: setup
# Only apply patches to help debug vanilla Firefox
make patch ./patches/chromeutil.patch
make patch ./patches/debug-url-navigation.patch
make patch ./patches/browser-init.patch
echo "LOCAL_INCLUDES += ['/camoucfg']" >> $(cf_source_dir)/dom/base/moz.build
touch $(cf_source_dir)/_READY
make checkpoint
Expand Down Expand Up @@ -130,6 +130,7 @@ package-linux:
python3 scripts/package.py linux \
--includes \
settings/chrome.css \
settings/camoucfg.jvv \
settings/properties.json \
bundle/fontconfigs \
--version $(version) \
Expand All @@ -141,6 +142,7 @@ package-macos:
python3 scripts/package.py macos \
--includes \
settings/chrome.css \
settings/camoucfg.jvv \
settings/properties.json \
--version $(version) \
--release $(release) \
Expand All @@ -151,6 +153,7 @@ package-windows:
python3 scripts/package.py windows \
--includes \
settings/chrome.css \
settings/camoucfg.jvv \
settings/properties.json \
~/.mozbuild/vs/VC/Redist/MSVC/14.38.33135/$(vcredist_arch)/Microsoft.VC143.CRT/*.dll \
--version $(version) \
Expand Down
20 changes: 10 additions & 10 deletions settings/properties.jvv → settings/camoucfg.jvv
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
"screen.availLeft": "int[>=0]",
"locale:language$__LOCALE": "str",
"locale:region$__LOCALE": "str",
"locale:script": "str",
"geolocation:latitude$__GEO": "double[-90 - 90]",
"geolocation:longitude$__GEO": "double[-180 - 180]",
"geolocation:accuracy": "double[>=0]",
"timezone": "str[/^[\\w_]+/[\\w_]+$/]",
"locale:script": "str",
"locale:all": "str",

"locale:all": "str",
"headers.Accept-Language": "str",
"navigator.language": "str",
"navigator.languages": "array[str]",
Expand Down Expand Up @@ -57,10 +57,10 @@
"window.screenY": "int",
"window.devicePixelRatio": "double[>0]",

"document.body.clientWidth$__DOC_BODY$__W_INNER": "int[>=0]",
"document.body.clientHeight$__DOC_BODY$__W_INNER": "int[>=0]",
"document.body.clientTop$__DOC_BODY": "int",
"document.body.clientLeft$__DOC_BODY": "int",
"document.body.clientWidth$__DOC_BODY": "int[>=0]",
"document.body.clientHeight$__DOC_BODY": "int[>=0]",
"document.body.clientTop": "int",
"document.body.clientLeft": "int",

"webrtc:ipv4": "str[/^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$/]",
"webrtc:ipv6": "str[/^(([0-9a-fA-F]{0,4}:){1,7}[0-9a-fA-F]{0,4})$/]",
Expand All @@ -84,15 +84,15 @@

"webGl:renderer$__WEBGL": "str",
"webGl:vendor$__WEBGL": "str",

"webGl:supportedExtensions": "array[str[/^[\\w_]+$/]]",
"webGl2:supportedExtensions": "array[str[/^[\\w_]+$/]]",

"webGl:parameters": "@WEBGL_PARAMS",
"webGl2:parameters": "@WEBGL_PARAMS",
"webGl:parameters:blockIfNotDefined": "bool",
"webGl2:parameters:blockIfNotDefined": "bool",

"webGl:shaderPrecisionFormats": "@WEBGL_SHADER_PRECISION_FORMATS",
"webGl2:shaderPrecisionFormats": "@WEBGL_SHADER_PRECISION_FORMATS",
"webGl:shaderPrecisionFormats:blockIfNotDefined": "bool",
Expand Down Expand Up @@ -258,7 +258,7 @@
"*precision": "int[>=0]"
}
},

"@WEBGL_CONTEXT_ATTRIBUTES": {
"alpha": "bool",
"antialias": "bool",
Expand Down Expand Up @@ -291,4 +291,4 @@
"memorysaver": "bool",
"addons": "array[str]",
"debug": "bool"
}
}

0 comments on commit 3e524aa

Please sign in to comment.