Merge branch 'google3'

Change-Id: Ibebf84b98939ee8e5006beedc34d225e8c2dd413
This commit is contained in:
Alexey Polyudov
2020-05-28 01:36:50 -07:00
337 changed files with 20487 additions and 1586 deletions
+5
View File
@@ -61,7 +61,9 @@ def copy_files_to_oss_project(src_root, dst_root):
shutil.rmtree(dst_root + "/proto", ignore_errors=True)
shutil.copytree(src_root + "/proto", dst_root + "/proto/")
shutil.copytree(src_root + "/cpp/platform/", dst_root + "/cpp/platform/")
shutil.copytree(src_root + "/cpp/platform_v2/", dst_root + "/cpp/platform_v2/")
shutil.copytree(src_root + "/connections/core/", dst_root + "/cpp/core/")
shutil.copytree(src_root + "/connections/core_v2/", dst_root + "/cpp/core_v2/")
shutil.copytree(src_root + "/connections/proto/", dst_root + "/proto/connections/")
def detect_file_copy_header_options(fname, lines):
@@ -87,8 +89,11 @@ def post_process_oss_files(path, args):
top_dirs = ["cpp", "proto"]
transforms = (
("third_party/webrtc/files/stable/", ""),
("webrtc/files/stable/", ""),
("third_party/", ""),
("location/nearby/connections/core_v2", "core_v2"),
("location/nearby/connections/core", "core"),
("location/nearby/cpp/platform_v2", "platform_v2"),
("location/nearby/cpp/platform", "platform"),
("security/cryptauth/lib/securegcm", "securegcm"),
("testing/base/public/gmock.h", "gmock/gmock.h"),