mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
21afa62517
Summary: This diff serializes ART state into folly::dynamic. this is necessary to send this data to Android changelog: [Internal] Reviewed By: shergin Differential Revision: D21657608 fbshipit-source-id: 6c1b69af7d1dbe7de15e509f83c508a38294d89e
23 lines
537 B
C++
23 lines
537 B
C++
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#include <react/components/art/ARTSurfaceViewState.h>
|
|
#include <react/components/art/conversions.h>
|
|
#include <react/debug/debugStringConvertibleUtils.h>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
#ifdef ANDROID
|
|
folly::dynamic ARTSurfaceViewState::getDynamic() const {
|
|
return toDynamic(*this);
|
|
}
|
|
#endif
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|