hcoona / one

The mono-repo for me.
GNU General Public License v3.0
9 stars 3 forks source link

Upgrade facebook libs to v2022.10.17.00 #78

Closed hcoona closed 5 months ago

hcoona commented 2 years ago
hcoona commented 2 years ago
rg "#include <[^>/]*/.*" third_party/folly

Folly

rg "#include <folly" third_party/folly/ -l | xargs sed -i 's/#include <\(folly[^>]*\)>/#include "\1"/'

rg "#include <boost" third_party/folly/ -l | xargs sed -i 's/#include <\(boost[^>]*\)>/#include "\1"/'
rg "#include <double" third_party/folly/ -l | xargs sed -i 's/#include <\(double[^>]*\)>/#include "\1"/'
rg "#include <event2" third_party/folly/ -l | xargs sed -i 's/#include <\(event2[^>]*\)>/#include "\1"/'
rg "#include <fmt" third_party/folly/ -l | xargs sed -i 's/#include <\(fmt[^>]*\)>/#include "\1"/'
rg "#include <gflags" third_party/folly/ -l | xargs sed -i 's/#include <\(gflags[^>]*\)>/#include "\1"/'
rg "#include <glog" third_party/folly/ -l | xargs sed -i 's/#include <\(glog[^>]*\)>/#include "\1"/'
rg "#include <gmock" third_party/folly/ -l | xargs sed -i 's/#include <\(gmock[^>]*\)>/#include "\1"/'
rg "#include <gtest" third_party/folly/ -l | xargs sed -i 's/#include <\(gtest[^>]*\)>/#include "\1"/'
rg "#include <jemalloc" third_party/folly/ -l | xargs sed -i 's/#include <\(jemalloc[^>]*\)>/#include "\1"/'
rg "#include <openssl" third_party/folly/ -l | xargs sed -i 's/#include <\(openssl[^>]*\)>/#include "\1"/'
rg "#include <range" third_party/folly/ -l | xargs sed -i 's/#include <\(range[^>]*\)>/#include "\1"/'

edit BridgeFromGoogleLogging.h for send() method override keyword.