mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 767818 - Implement navigator.pay. Part 2 - Expose 'pay' function to 'navigator'; r=jst
This commit is contained in:
parent
c0773ecb38
commit
2368411d52
@ -4199,6 +4199,7 @@ MOZ_WEBSMS_BACKEND=
|
||||
MOZ_GRAPHITE=1
|
||||
ACCESSIBILITY=1
|
||||
MOZ_SYS_MSG=
|
||||
MOZ_PAY=
|
||||
|
||||
case "$target_os" in
|
||||
mingw*)
|
||||
@ -7312,6 +7313,14 @@ if test -n "$MOZ_B2G_CAMERA"; then
|
||||
fi
|
||||
AC_SUBST(MOZ_B2G_CAMERA)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Enable Support for Payment API
|
||||
dnl ========================================================
|
||||
if test -n "$MOZ_PAY"; then
|
||||
AC_DEFINE(MOZ_PAY)
|
||||
fi
|
||||
AC_SUBST(MOZ_PAY)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Support for demangling undefined symbols
|
||||
dnl ========================================================
|
||||
|
@ -85,6 +85,12 @@ PARALLEL_DIRS += \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
ifdef MOZ_PAY
|
||||
PARALLEL_DIRS += \
|
||||
payment \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
# bindings/test is here, because it needs to build after bindings/, and
|
||||
# we build subdirectories before ourselves.
|
||||
TEST_DIRS += \
|
||||
|
3
dom/payment/Payment.manifest
Normal file
3
dom/payment/Payment.manifest
Normal file
@ -0,0 +1,3 @@
|
||||
component {a920adc0-c36e-4fd0-8de0-aac1ac6ebbd0} Payment.js
|
||||
contract @mozilla.org/payment/content-helper;1 {a920adc0-c36e-4fd0-8de0-aac1ac6ebbd0}
|
||||
category JavaScript-navigator-property mozPay @mozilla.org/payment/content-helper;1
|
@ -1213,6 +1213,12 @@ if [ "$MOZ_B2G_RIL" ]; then
|
||||
"
|
||||
fi
|
||||
|
||||
if [ "$MOZ_PAY" ]; then
|
||||
add_makefiles "
|
||||
dom/payment/Makefile
|
||||
"
|
||||
fi
|
||||
|
||||
if [ "$MOZ_CRASHREPORTER" ]; then
|
||||
add_makefiles "
|
||||
toolkit/crashreporter/Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user