summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Phillips <mitchp@google.com>2019-08-15 13:01:44 -0700
committerMitch Phillips <mitchp@google.com>2019-08-15 13:01:44 -0700
commit44fdec5ec8006d094663c06db99bac46d395b0a4 (patch)
tree5515143bc07c8cf891dd17db5d1fef30c2937aee
parent94200d611e02bca9fe54ad3569f383442cb24b24 (diff)
downloadgwp_asan-upstream-master.tar.gz
Added destination files to copybara config.upstream-master
Ensures that Android.bp files are never deleted during a copybara migration, and that deleted files from the gwp_asan upstream repo actually get deleted if they're part of a changelist.
-rw-r--r--copybara/copy.bara.sky9
1 files changed, 9 insertions, 0 deletions
diff --git a/copybara/copy.bara.sky b/copybara/copy.bara.sky
index e32ad6e..0122ec6 100644
--- a/copybara/copy.bara.sky
+++ b/copybara/copy.bara.sky
@@ -17,6 +17,15 @@ core.workflow(
url = "rpc://team/dynamic-tools/gwp-asan",
fetch = "master",
),
+ destination_files = glob(
+ [
+ "gwp_asan/**",
+ "LICENSE.TXT",
+ ],
+ exclude = [
+ "**/Android.bp"
+ ],
+ ),
mode = "ITERATIVE",
authoring = authoring.pass_thru(
"Dynamic Tools Team <dynamic-tools@google.com>"