From 4e4720974f409d48e8d862c291f63b511ce10e3a Mon Sep 17 00:00:00 2001 From: Jordan R Abrahams-Whitehead Date: Mon, 11 Jul 2022 20:04:15 +0000 Subject: patch_sync: Add copyright lines to patch_sync These copyright lines should be added, and they're currently missing. Failing presubmit checks without this change. BUG=None TEST=Presubmit checks pass Change-Id: I9cd3b9e26a4d7284974705aa96cb6050db25e767 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3756344 Auto-Submit: Jordan Abrahams-Whitehead Reviewed-by: George Burgess Tested-by: Jordan Abrahams-Whitehead Commit-Queue: George Burgess --- llvm_tools/patch_sync/src/android_utils.rs | 4 ++++ llvm_tools/patch_sync/src/main.rs | 4 ++++ llvm_tools/patch_sync/src/patch_parsing.rs | 4 ++++ llvm_tools/patch_sync/src/version_control.rs | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/llvm_tools/patch_sync/src/android_utils.rs b/llvm_tools/patch_sync/src/android_utils.rs index 77cb4b8a..7b0e5849 100644 --- a/llvm_tools/patch_sync/src/android_utils.rs +++ b/llvm_tools/patch_sync/src/android_utils.rs @@ -1,3 +1,7 @@ +// Copyright 2022 The ChromiumOS Authors. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + use std::path::Path; use std::process::Command; diff --git a/llvm_tools/patch_sync/src/main.rs b/llvm_tools/patch_sync/src/main.rs index 5c11b453..2141721a 100644 --- a/llvm_tools/patch_sync/src/main.rs +++ b/llvm_tools/patch_sync/src/main.rs @@ -1,3 +1,7 @@ +// Copyright 2022 The ChromiumOS Authors. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + mod android_utils; mod patch_parsing; mod version_control; diff --git a/llvm_tools/patch_sync/src/patch_parsing.rs b/llvm_tools/patch_sync/src/patch_parsing.rs index f1ad52fb..2f5d6d69 100644 --- a/llvm_tools/patch_sync/src/patch_parsing.rs +++ b/llvm_tools/patch_sync/src/patch_parsing.rs @@ -1,3 +1,7 @@ +// Copyright 2022 The ChromiumOS Authors. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + use std::collections::{BTreeMap, BTreeSet}; use std::fs::{copy, File}; use std::io::{BufRead, BufReader, Read, Write}; diff --git a/llvm_tools/patch_sync/src/version_control.rs b/llvm_tools/patch_sync/src/version_control.rs index f8ddbcaa..125d5cbc 100644 --- a/llvm_tools/patch_sync/src/version_control.rs +++ b/llvm_tools/patch_sync/src/version_control.rs @@ -1,3 +1,7 @@ +// Copyright 2022 The ChromiumOS Authors. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + use anyhow::{anyhow, bail, ensure, Context, Result}; use regex::Regex; use std::ffi::OsStr; -- cgit v1.2.3