mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
05b18b1257
1. Introduce ServoAnimationRule, which is an equivalent of AnimValuesStyleRule. 2. Wrap ServoAnimationRule and AnimValuesStyleRule into a struct, and use it as the parameter of Animation::ComposeStyle and KeyframeEffectReadOnly::ComposeStyle. 3. Uncompute the RawServoAnimationValues in ServoAnimationRule when we need it. MozReview-Commit-ID: HahXDYBCAhH --HG-- extra : rebase_source : cd8c6f3a8409abf97f04af888953ff0e77d98348
71 lines
1.8 KiB
Python
71 lines
1.8 KiB
Python
# -*- 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/.
|
|
|
|
MOCHITEST_MANIFESTS += ['test/mochitest.ini']
|
|
MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
'Animation.h',
|
|
'AnimationEffectReadOnly.h',
|
|
'AnimationEffectTiming.h',
|
|
'AnimationEffectTimingReadOnly.h',
|
|
'AnimationTimeline.h',
|
|
'CSSPseudoElement.h',
|
|
'DocumentTimeline.h',
|
|
'KeyframeEffect.h',
|
|
'KeyframeEffectReadOnly.h',
|
|
]
|
|
|
|
EXPORTS.mozilla += [
|
|
'AnimationComparator.h',
|
|
'AnimationPerformanceWarning.h',
|
|
'AnimationRule.h',
|
|
'AnimationTarget.h',
|
|
'AnimationUtils.h',
|
|
'AnimValuesStyleRule.h',
|
|
'ComputedTiming.h',
|
|
'ComputedTimingFunction.h',
|
|
'EffectCompositor.h',
|
|
'EffectSet.h',
|
|
'KeyframeEffectParams.h',
|
|
'KeyframeUtils.h',
|
|
'PendingAnimationTracker.h',
|
|
'PseudoElementHashEntry.h',
|
|
'ServoAnimationRule.h',
|
|
'TimingParams.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'Animation.cpp',
|
|
'AnimationEffectReadOnly.cpp',
|
|
'AnimationEffectTiming.cpp',
|
|
'AnimationEffectTimingReadOnly.cpp',
|
|
'AnimationPerformanceWarning.cpp',
|
|
'AnimationTimeline.cpp',
|
|
'AnimationUtils.cpp',
|
|
'AnimValuesStyleRule.cpp',
|
|
'ComputedTimingFunction.cpp',
|
|
'CSSPseudoElement.cpp',
|
|
'DocumentTimeline.cpp',
|
|
'EffectCompositor.cpp',
|
|
'EffectSet.cpp',
|
|
'KeyframeEffect.cpp',
|
|
'KeyframeEffectParams.cpp',
|
|
'KeyframeEffectReadOnly.cpp',
|
|
'KeyframeUtils.cpp',
|
|
'PendingAnimationTracker.cpp',
|
|
'ServoAnimationRule.cpp',
|
|
'TimingParams.cpp',
|
|
]
|
|
|
|
LOCAL_INCLUDES += [
|
|
'/dom/base',
|
|
'/layout/base',
|
|
'/layout/style',
|
|
]
|
|
|
|
FINAL_LIBRARY = 'xul'
|