diff options
author | loyso <loyso@chromium.org> | 2016-02-24 20:12:30 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-25 04:13:43 +0000 |
commit | 0c8e440950082a2b7f5eae1410264f75acdd0885 (patch) | |
tree | 26c436139e971b3ab9b09cf68528a0b124391c95 /cc/BUILD.gn | |
parent | de18d80600bb6e3413876e8d0af6c227ae504aa5 (diff) | |
download | chromium_src-0c8e440950082a2b7f5eae1410264f75acdd0885.zip chromium_src-0c8e440950082a2b7f5eae1410264f75acdd0885.tar.gz chromium_src-0c8e440950082a2b7f5eae1410264f75acdd0885.tar.bz2 |
CC Animation: Expose TargetProperty enum to be aliased in Blink Platform.
TargetProperty is intended to be used as an alias in Source/platform/animation/CompositorTargetProperty.h
This is slightly better then untyped approach used here:
https://codereview.chromium.org/1599673002
where we setup struct with constants in it and pass uint32_t everywhere.
An alternative approach with strongly typed enum
considered too verbose:
https://codereview.chromium.org/1698813002/
BUG=577016
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1700653002
Cr-Commit-Position: refs/heads/master@{#377501}
Diffstat (limited to 'cc/BUILD.gn')
-rw-r--r-- | cc/BUILD.gn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/BUILD.gn b/cc/BUILD.gn index 5d0bd0d..ce1a7c5 100644 --- a/cc/BUILD.gn +++ b/cc/BUILD.gn @@ -34,6 +34,8 @@ component("cc") { "animation/layer_animation_value_provider.h", "animation/scroll_offset_animation_curve.cc", "animation/scroll_offset_animation_curve.h", + "animation/target_property.cc", + "animation/target_property.h", "animation/timing_function.cc", "animation/timing_function.h", "animation/transform_operation.cc", |