1# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2# vim: set filetype=python: 3# This Source Code Form is subject to the terms of the Mozilla Public 4# License, v. 2.0. If a copy of the MPL was not distributed with this 5# file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7DIRS += [ 8 "ipc", 9] 10 11EXPORTS += [ 12 "PaymentRequestData.h", 13 "PaymentRequestService.h", 14] 15 16EXPORTS.mozilla.dom += [ 17 "MerchantValidationEvent.h", 18 "PaymentAddress.h", 19 "PaymentMethodChangeEvent.h", 20 "PaymentRequest.h", 21 "PaymentRequestManager.h", 22 "PaymentRequestUpdateEvent.h", 23 "PaymentResponse.h", 24] 25 26UNIFIED_SOURCES += [ 27 "BasicCardPayment.cpp", 28 "MerchantValidationEvent.cpp", 29 "PaymentActionResponse.cpp", 30 "PaymentAddress.cpp", 31 "PaymentMethodChangeEvent.cpp", 32 "PaymentRequest.cpp", 33 "PaymentRequestData.cpp", 34 "PaymentRequestManager.cpp", 35 "PaymentRequestService.cpp", 36 "PaymentRequestUpdateEvent.cpp", 37 "PaymentRequestUtils.cpp", 38 "PaymentResponse.cpp", 39] 40 41XPCOM_MANIFESTS += [ 42 "components.conf", 43] 44 45include("/ipc/chromium/chromium-config.mozbuild") 46 47FINAL_LIBRARY = "xul" 48 49with Files("**"): 50 BUG_COMPONENT = ("Core", "DOM: Web Payments") 51 52BROWSER_CHROME_MANIFESTS += ["test/browser.ini"] 53MOCHITEST_MANIFESTS += ["test/mochitest.ini"] 54