Initial commit of metadata files.
Bug: 137795072
Test: NA
Change-Id: I4f0f6f9b850ac2b4a4287ca64d05c6b80c620eb0
diff --git a/copybara/copy.bara.sky b/copybara/copy.bara.sky
new file mode 100644
index 0000000..64c352d
--- /dev/null
+++ b/copybara/copy.bara.sky
@@ -0,0 +1,37 @@
+core.workflow(
+ name = "default",
+ origin = git.origin(
+ url = "https://github.com/llvm/llvm-project.git",
+ ref = "master",
+ ),
+ origin_files = glob(
+ [
+ "compiler-rt/lib/scudo/standalone/**",
+ "compiler-rt/LICENSE.TXT",
+ ],
+ exclude = [
+ "**/CMakeLists.txt",
+ ],
+ ),
+ destination = git.gerrit_destination(
+ url = "https://android.googlesource.com/platform/external/scudo",
+ fetch = "master",
+ ),
+ destination_files = glob(
+ [
+ "standalone/**",
+ "LICENSE.TXT",
+ ],
+ exclude = [
+ "**/Android.bp"
+ ],
+ ),
+ mode = "ITERATIVE",
+ authoring = authoring.pass_thru(
+ "Dynamic Tools Team <dynamic-tools@google.com>"
+ ),
+ transformations = [
+ core.move("compiler-rt/lib/scudo/standalone/", "standalone"),
+ core.move("compiler-rt/LICENSE.TXT", "LICENSE.TXT"),
+ ],
+)