Closed terrelln closed 8 months ago
This pull request was exported from Phabricator. Differential Revision: D50505357
This pull request was exported from Phabricator. Differential Revision: D50505357
This pull request has been merged in facebook/hhvm@088a8c08b7194bc04f928ef006fd92b12730342f.
This pull request has been reverted by 84aaadf9778fbe8abea07f9dddb8b178d7bebf21.
Summary: X-link: https://github.com/facebook/fbthrift/pull/579
CacheLib noticed OSS build failures due to JSONProtocolCommon.cpp being linked into the build twice, after we added a GFLAG to that file.
This diff attempts to fix the issue by depending on thriftprotocol rather than duplicating the files.
The code claims that it couldn't depend on thriftprotocol due to a circular dependency (added in D24720566), but Sandcastle and GitHub Actions is passing, so it doesn't seem to still be an issue.
Differential Revision: D50505357