gecko-dev/dom/l10n/moz.build

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 строки
902 B
Plaintext
Исходник Обычный вид История

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
with Files("**"):
BUG_COMPONENT = ("Core", "Internationalization")
Bug 1552714 - Remove dom::l10n namespace and unify class naming. r=smaug Differential Revision: https://phabricator.services.mozilla.com/D33739 --HG-- rename : dom/chrome-webidl/DOMOverlays.webidl => dom/chrome-webidl/L10nOverlays.webidl rename : dom/l10n/Mutations.cpp => dom/l10n/L10nMutations.cpp rename : dom/l10n/Mutations.h => dom/l10n/L10nMutations.h rename : dom/l10n/DOMOverlays.cpp => dom/l10n/L10nOverlays.cpp rename : dom/l10n/DOMOverlays.h => dom/l10n/L10nOverlays.h rename : dom/l10n/tests/gtest/TestDOMOverlays.cpp => dom/l10n/tests/gtest/TestL10nOverlays.cpp rename : dom/l10n/tests/mochitest/dom_localization/test_mutations.html => dom/l10n/tests/mochitest/dom_localization/test_l10n_mutations.html rename : dom/l10n/tests/mochitest/mutations/test_append_content_post_dcl.html => dom/l10n/tests/mochitest/l10n_mutations/test_append_content_post_dcl.html rename : dom/l10n/tests/mochitest/mutations/test_append_content_pre_dcl.html => dom/l10n/tests/mochitest/l10n_mutations/test_append_content_pre_dcl.html rename : dom/l10n/tests/mochitest/mutations/test_append_fragment_post_dcl.html => dom/l10n/tests/mochitest/l10n_mutations/test_append_fragment_post_dcl.html rename : dom/l10n/tests/mochitest/mutations/test_pause_observing.html => dom/l10n/tests/mochitest/l10n_mutations/test_pause_observing.html rename : dom/l10n/tests/mochitest/mutations/test_set_attributes.html => dom/l10n/tests/mochitest/l10n_mutations/test_set_attributes.html rename : dom/l10n/tests/mochitest/domoverlays/test_attributes.html => dom/l10n/tests/mochitest/l10n_overlays/test_attributes.html rename : dom/l10n/tests/mochitest/domoverlays/test_extra_text_markup.html => dom/l10n/tests/mochitest/l10n_overlays/test_extra_text_markup.html rename : dom/l10n/tests/mochitest/domoverlays/test_functional_children.html => dom/l10n/tests/mochitest/l10n_overlays/test_functional_children.html rename : dom/l10n/tests/mochitest/domoverlays/test_domoverlays.xul => dom/l10n/tests/mochitest/l10n_overlays/test_l10n_overlays.xul rename : dom/l10n/tests/mochitest/domoverlays/test_same_id.html => dom/l10n/tests/mochitest/l10n_overlays/test_same_id.html rename : dom/l10n/tests/mochitest/domoverlays/test_same_id_args.html => dom/l10n/tests/mochitest/l10n_overlays/test_same_id_args.html rename : dom/l10n/tests/mochitest/domoverlays/test_text_children.html => dom/l10n/tests/mochitest/l10n_overlays/test_text_children.html extra : moz-landing-system : lando
2019-06-06 19:32:58 +03:00
EXPORTS.mozilla.dom += [
'DocumentL10n.h',
'DOMLocalization.h',
Bug 1552714 - Remove dom::l10n namespace and unify class naming. r=smaug Differential Revision: https://phabricator.services.mozilla.com/D33739 --HG-- rename : dom/chrome-webidl/DOMOverlays.webidl => dom/chrome-webidl/L10nOverlays.webidl rename : dom/l10n/Mutations.cpp => dom/l10n/L10nMutations.cpp rename : dom/l10n/Mutations.h => dom/l10n/L10nMutations.h rename : dom/l10n/DOMOverlays.cpp => dom/l10n/L10nOverlays.cpp rename : dom/l10n/DOMOverlays.h => dom/l10n/L10nOverlays.h rename : dom/l10n/tests/gtest/TestDOMOverlays.cpp => dom/l10n/tests/gtest/TestL10nOverlays.cpp rename : dom/l10n/tests/mochitest/dom_localization/test_mutations.html => dom/l10n/tests/mochitest/dom_localization/test_l10n_mutations.html rename : dom/l10n/tests/mochitest/mutations/test_append_content_post_dcl.html => dom/l10n/tests/mochitest/l10n_mutations/test_append_content_post_dcl.html rename : dom/l10n/tests/mochitest/mutations/test_append_content_pre_dcl.html => dom/l10n/tests/mochitest/l10n_mutations/test_append_content_pre_dcl.html rename : dom/l10n/tests/mochitest/mutations/test_append_fragment_post_dcl.html => dom/l10n/tests/mochitest/l10n_mutations/test_append_fragment_post_dcl.html rename : dom/l10n/tests/mochitest/mutations/test_pause_observing.html => dom/l10n/tests/mochitest/l10n_mutations/test_pause_observing.html rename : dom/l10n/tests/mochitest/mutations/test_set_attributes.html => dom/l10n/tests/mochitest/l10n_mutations/test_set_attributes.html rename : dom/l10n/tests/mochitest/domoverlays/test_attributes.html => dom/l10n/tests/mochitest/l10n_overlays/test_attributes.html rename : dom/l10n/tests/mochitest/domoverlays/test_extra_text_markup.html => dom/l10n/tests/mochitest/l10n_overlays/test_extra_text_markup.html rename : dom/l10n/tests/mochitest/domoverlays/test_functional_children.html => dom/l10n/tests/mochitest/l10n_overlays/test_functional_children.html rename : dom/l10n/tests/mochitest/domoverlays/test_domoverlays.xul => dom/l10n/tests/mochitest/l10n_overlays/test_l10n_overlays.xul rename : dom/l10n/tests/mochitest/domoverlays/test_same_id.html => dom/l10n/tests/mochitest/l10n_overlays/test_same_id.html rename : dom/l10n/tests/mochitest/domoverlays/test_same_id_args.html => dom/l10n/tests/mochitest/l10n_overlays/test_same_id_args.html rename : dom/l10n/tests/mochitest/domoverlays/test_text_children.html => dom/l10n/tests/mochitest/l10n_overlays/test_text_children.html extra : moz-landing-system : lando
2019-06-06 19:32:58 +03:00
'L10nMutations.h',
'L10nOverlays.h',
]
UNIFIED_SOURCES += [
'DocumentL10n.cpp',
'DOMLocalization.cpp',
Bug 1552714 - Remove dom::l10n namespace and unify class naming. r=smaug Differential Revision: https://phabricator.services.mozilla.com/D33739 --HG-- rename : dom/chrome-webidl/DOMOverlays.webidl => dom/chrome-webidl/L10nOverlays.webidl rename : dom/l10n/Mutations.cpp => dom/l10n/L10nMutations.cpp rename : dom/l10n/Mutations.h => dom/l10n/L10nMutations.h rename : dom/l10n/DOMOverlays.cpp => dom/l10n/L10nOverlays.cpp rename : dom/l10n/DOMOverlays.h => dom/l10n/L10nOverlays.h rename : dom/l10n/tests/gtest/TestDOMOverlays.cpp => dom/l10n/tests/gtest/TestL10nOverlays.cpp rename : dom/l10n/tests/mochitest/dom_localization/test_mutations.html => dom/l10n/tests/mochitest/dom_localization/test_l10n_mutations.html rename : dom/l10n/tests/mochitest/mutations/test_append_content_post_dcl.html => dom/l10n/tests/mochitest/l10n_mutations/test_append_content_post_dcl.html rename : dom/l10n/tests/mochitest/mutations/test_append_content_pre_dcl.html => dom/l10n/tests/mochitest/l10n_mutations/test_append_content_pre_dcl.html rename : dom/l10n/tests/mochitest/mutations/test_append_fragment_post_dcl.html => dom/l10n/tests/mochitest/l10n_mutations/test_append_fragment_post_dcl.html rename : dom/l10n/tests/mochitest/mutations/test_pause_observing.html => dom/l10n/tests/mochitest/l10n_mutations/test_pause_observing.html rename : dom/l10n/tests/mochitest/mutations/test_set_attributes.html => dom/l10n/tests/mochitest/l10n_mutations/test_set_attributes.html rename : dom/l10n/tests/mochitest/domoverlays/test_attributes.html => dom/l10n/tests/mochitest/l10n_overlays/test_attributes.html rename : dom/l10n/tests/mochitest/domoverlays/test_extra_text_markup.html => dom/l10n/tests/mochitest/l10n_overlays/test_extra_text_markup.html rename : dom/l10n/tests/mochitest/domoverlays/test_functional_children.html => dom/l10n/tests/mochitest/l10n_overlays/test_functional_children.html rename : dom/l10n/tests/mochitest/domoverlays/test_domoverlays.xul => dom/l10n/tests/mochitest/l10n_overlays/test_l10n_overlays.xul rename : dom/l10n/tests/mochitest/domoverlays/test_same_id.html => dom/l10n/tests/mochitest/l10n_overlays/test_same_id.html rename : dom/l10n/tests/mochitest/domoverlays/test_same_id_args.html => dom/l10n/tests/mochitest/l10n_overlays/test_same_id_args.html rename : dom/l10n/tests/mochitest/domoverlays/test_text_children.html => dom/l10n/tests/mochitest/l10n_overlays/test_text_children.html extra : moz-landing-system : lando
2019-06-06 19:32:58 +03:00
'L10nMutations.cpp',
'L10nOverlays.cpp',
]
LOCAL_INCLUDES += [
'/dom/base',
]
FINAL_LIBRARY = 'xul'
Bug 1552714 - Move DOM L10n tests from intl/l10n to dom/l10n. r=fluent-reviewers,smaug,Pike Differential Revision: https://phabricator.services.mozilla.com/D33197 --HG-- rename : intl/l10n/test/browser.ini => dom/l10n/tests/mochitest/browser.ini rename : intl/l10n/test/document_l10n/README.txt => dom/l10n/tests/mochitest/document_l10n/README.txt rename : intl/l10n/test/document_l10n/non-system-principal/README.txt => dom/l10n/tests/mochitest/document_l10n/non-system-principal/README.txt rename : intl/l10n/test/document_l10n/non-system-principal/browser_resource_uri.js => dom/l10n/tests/mochitest/document_l10n/non-system-principal/browser_resource_uri.js rename : intl/l10n/test/document_l10n/non-system-principal/localization/test.ftl => dom/l10n/tests/mochitest/document_l10n/non-system-principal/localization/test.ftl rename : intl/l10n/test/document_l10n/non-system-principal/test.html => dom/l10n/tests/mochitest/document_l10n/non-system-principal/test.html rename : intl/l10n/test/dom/test_docl10n.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n.html rename : intl/l10n/test/dom/test_docl10n.xhtml => dom/l10n/tests/mochitest/document_l10n/test_docl10n.xhtml rename : intl/l10n/test/dom/test_docl10n.xul => dom/l10n/tests/mochitest/document_l10n/test_docl10n.xul rename : intl/l10n/test/dom/test_docl10n_initialize_after_parse.xhtml => dom/l10n/tests/mochitest/document_l10n/test_docl10n_initialize_after_parse.xhtml rename : intl/l10n/test/dom/test_docl10n_initialize_after_parse.xul => dom/l10n/tests/mochitest/document_l10n/test_docl10n_initialize_after_parse.xul rename : intl/l10n/test/dom/test_docl10n_ready_rejected.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n_ready_rejected.html rename : intl/l10n/test/dom/test_docl10n_removeResourceIds.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n_removeResourceIds.html rename : intl/l10n/test/dom/test_docl10n_unpriv_iframe.html => dom/l10n/tests/mochitest/document_l10n/test_unpriv_iframe.html rename : intl/l10n/test/dom/test_domloc_attr_sanitized.html => dom/l10n/tests/mochitest/dom_localization/test_attr_sanitized.html rename : intl/l10n/test/dom/test_domloc_connectRoot.html => dom/l10n/tests/mochitest/dom_localization/test_connectRoot.html rename : intl/l10n/test/dom/test_domloc_disconnectRoot.html => dom/l10n/tests/mochitest/dom_localization/test_disconnectRoot.html rename : intl/l10n/test/dom/test_domloc.xul => dom/l10n/tests/mochitest/dom_localization/test_domloc.xul rename : intl/l10n/test/dom/test_domloc_getAttributes.html => dom/l10n/tests/mochitest/dom_localization/test_getAttributes.html rename : intl/l10n/test/dom/test_domloc_mutations.html => dom/l10n/tests/mochitest/dom_localization/test_mutations.html rename : intl/l10n/test/dom/test_domloc_overlay.html => dom/l10n/tests/mochitest/dom_localization/test_overlay.html rename : intl/l10n/test/dom/test_domloc_overlay_missing_all.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_missing_all.html rename : intl/l10n/test/dom/test_domloc_overlay_missing_children.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_missing_children.html rename : intl/l10n/test/dom/test_domloc_overlay_repeated.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_repeated.html rename : intl/l10n/test/dom/test_domloc_overlay_sanitized.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_sanitized.html rename : intl/l10n/test/dom/test_domloc_repeated_l10nid.html => dom/l10n/tests/mochitest/dom_localization/test_repeated_l10nid.html rename : intl/l10n/test/dom/test_domloc_setAttributes.html => dom/l10n/tests/mochitest/dom_localization/test_setAttributes.html rename : intl/l10n/test/dom/test_domloc_translateElements.html => dom/l10n/tests/mochitest/dom_localization/test_translateElements.html rename : intl/l10n/test/dom/test_domloc_translateFragment.html => dom/l10n/tests/mochitest/dom_localization/test_translateFragment.html rename : intl/l10n/test/dom/test_domloc_translateRoots.html => dom/l10n/tests/mochitest/dom_localization/test_translateRoots.html rename : dom/l10n/tests/mochitest/test_domoverlays_attributes.html => dom/l10n/tests/mochitest/domoverlays/test_attributes.html rename : dom/l10n/tests/mochitest/test_domoverlays.xul => dom/l10n/tests/mochitest/domoverlays/test_domoverlays.xul rename : dom/l10n/tests/mochitest/test_domoverlays_extra_text_markup.html => dom/l10n/tests/mochitest/domoverlays/test_extra_text_markup.html rename : dom/l10n/tests/mochitest/test_domoverlays_functional_children.html => dom/l10n/tests/mochitest/domoverlays/test_functional_children.html rename : dom/l10n/tests/mochitest/test_domoverlays_text_children.html => dom/l10n/tests/mochitest/domoverlays/test_text_children.html rename : intl/l10n/test/mochitest.ini => dom/l10n/tests/mochitest/mochitest.ini extra : moz-landing-system : lando
2019-06-06 19:32:39 +03:00
MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
MOCHITEST_CHROME_MANIFESTS += ['tests/mochitest/chrome.ini']
Bug 1552714 - Move DOM L10n tests from intl/l10n to dom/l10n. r=fluent-reviewers,smaug,Pike Differential Revision: https://phabricator.services.mozilla.com/D33197 --HG-- rename : intl/l10n/test/browser.ini => dom/l10n/tests/mochitest/browser.ini rename : intl/l10n/test/document_l10n/README.txt => dom/l10n/tests/mochitest/document_l10n/README.txt rename : intl/l10n/test/document_l10n/non-system-principal/README.txt => dom/l10n/tests/mochitest/document_l10n/non-system-principal/README.txt rename : intl/l10n/test/document_l10n/non-system-principal/browser_resource_uri.js => dom/l10n/tests/mochitest/document_l10n/non-system-principal/browser_resource_uri.js rename : intl/l10n/test/document_l10n/non-system-principal/localization/test.ftl => dom/l10n/tests/mochitest/document_l10n/non-system-principal/localization/test.ftl rename : intl/l10n/test/document_l10n/non-system-principal/test.html => dom/l10n/tests/mochitest/document_l10n/non-system-principal/test.html rename : intl/l10n/test/dom/test_docl10n.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n.html rename : intl/l10n/test/dom/test_docl10n.xhtml => dom/l10n/tests/mochitest/document_l10n/test_docl10n.xhtml rename : intl/l10n/test/dom/test_docl10n.xul => dom/l10n/tests/mochitest/document_l10n/test_docl10n.xul rename : intl/l10n/test/dom/test_docl10n_initialize_after_parse.xhtml => dom/l10n/tests/mochitest/document_l10n/test_docl10n_initialize_after_parse.xhtml rename : intl/l10n/test/dom/test_docl10n_initialize_after_parse.xul => dom/l10n/tests/mochitest/document_l10n/test_docl10n_initialize_after_parse.xul rename : intl/l10n/test/dom/test_docl10n_ready_rejected.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n_ready_rejected.html rename : intl/l10n/test/dom/test_docl10n_removeResourceIds.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n_removeResourceIds.html rename : intl/l10n/test/dom/test_docl10n_unpriv_iframe.html => dom/l10n/tests/mochitest/document_l10n/test_unpriv_iframe.html rename : intl/l10n/test/dom/test_domloc_attr_sanitized.html => dom/l10n/tests/mochitest/dom_localization/test_attr_sanitized.html rename : intl/l10n/test/dom/test_domloc_connectRoot.html => dom/l10n/tests/mochitest/dom_localization/test_connectRoot.html rename : intl/l10n/test/dom/test_domloc_disconnectRoot.html => dom/l10n/tests/mochitest/dom_localization/test_disconnectRoot.html rename : intl/l10n/test/dom/test_domloc.xul => dom/l10n/tests/mochitest/dom_localization/test_domloc.xul rename : intl/l10n/test/dom/test_domloc_getAttributes.html => dom/l10n/tests/mochitest/dom_localization/test_getAttributes.html rename : intl/l10n/test/dom/test_domloc_mutations.html => dom/l10n/tests/mochitest/dom_localization/test_mutations.html rename : intl/l10n/test/dom/test_domloc_overlay.html => dom/l10n/tests/mochitest/dom_localization/test_overlay.html rename : intl/l10n/test/dom/test_domloc_overlay_missing_all.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_missing_all.html rename : intl/l10n/test/dom/test_domloc_overlay_missing_children.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_missing_children.html rename : intl/l10n/test/dom/test_domloc_overlay_repeated.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_repeated.html rename : intl/l10n/test/dom/test_domloc_overlay_sanitized.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_sanitized.html rename : intl/l10n/test/dom/test_domloc_repeated_l10nid.html => dom/l10n/tests/mochitest/dom_localization/test_repeated_l10nid.html rename : intl/l10n/test/dom/test_domloc_setAttributes.html => dom/l10n/tests/mochitest/dom_localization/test_setAttributes.html rename : intl/l10n/test/dom/test_domloc_translateElements.html => dom/l10n/tests/mochitest/dom_localization/test_translateElements.html rename : intl/l10n/test/dom/test_domloc_translateFragment.html => dom/l10n/tests/mochitest/dom_localization/test_translateFragment.html rename : intl/l10n/test/dom/test_domloc_translateRoots.html => dom/l10n/tests/mochitest/dom_localization/test_translateRoots.html rename : dom/l10n/tests/mochitest/test_domoverlays_attributes.html => dom/l10n/tests/mochitest/domoverlays/test_attributes.html rename : dom/l10n/tests/mochitest/test_domoverlays.xul => dom/l10n/tests/mochitest/domoverlays/test_domoverlays.xul rename : dom/l10n/tests/mochitest/test_domoverlays_extra_text_markup.html => dom/l10n/tests/mochitest/domoverlays/test_extra_text_markup.html rename : dom/l10n/tests/mochitest/test_domoverlays_functional_children.html => dom/l10n/tests/mochitest/domoverlays/test_functional_children.html rename : dom/l10n/tests/mochitest/test_domoverlays_text_children.html => dom/l10n/tests/mochitest/domoverlays/test_text_children.html rename : intl/l10n/test/mochitest.ini => dom/l10n/tests/mochitest/mochitest.ini extra : moz-landing-system : lando
2019-06-06 19:32:39 +03:00
BROWSER_CHROME_MANIFESTS += ['tests/mochitest/browser.ini']
if CONFIG['ENABLE_TESTS']:
DIRS += ['tests/gtest']