mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-06 17:52:57 +08:00
Cleanup cxxreact BUCK file
Reviewed By: mzlee Differential Revision: D5020563 fbshipit-source-id: 286a2d1c44623b5b9fd923ef8684d263500791b3
This commit is contained in:
committed by
Facebook Github Bot
parent
8b53a2b29b
commit
19e6557d2e
@@ -72,12 +72,12 @@ folly::Optional<ModuleConfig> ModuleRegistry::getConfig(const std::string& name)
|
||||
folly::dynamic config = folly::dynamic::array(name);
|
||||
|
||||
{
|
||||
SystraceSection s("getConstants");
|
||||
SystraceSection s_("getConstants");
|
||||
config.push_back(module->getConstants());
|
||||
}
|
||||
|
||||
{
|
||||
SystraceSection s("getMethods");
|
||||
SystraceSection s_("getMethods");
|
||||
std::vector<MethodDescriptor> methods = module->getMethods();
|
||||
|
||||
folly::dynamic methodNames = folly::dynamic::array;
|
||||
|
||||
Reference in New Issue
Block a user