moz.build (1308B)
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 7 DIRS += [ 8 "ipc", 9 ] 10 11 EXPORTS += [ 12 "PaymentRequestData.h", 13 "PaymentRequestService.h", 14 ] 15 16 EXPORTS.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 26 UNIFIED_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 41 XPCOM_MANIFESTS += [ 42 "components.conf", 43 ] 44 45 include("/ipc/chromium/chromium-config.mozbuild") 46 47 FINAL_LIBRARY = "xul" 48 49 with Files("**"): 50 BUG_COMPONENT = ("Core", "DOM: Web Payments") 51 52 BROWSER_CHROME_MANIFESTS += ["test/browser.toml"] 53 MOCHITEST_MANIFESTS += ["test/mochitest.toml"]