Skip to content

Commit

Permalink
rtcd.pl: add license header to generated files
Browse files Browse the repository at this point in the history
Bug: aomedia:3525
Change-Id: I614056558fb5439b448342e0c01e53bd8da85585
  • Loading branch information
jzern committed Jun 13, 2024
1 parent 68deb7e commit d6ae3ea
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build/make/rtcd.pl
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,19 @@ sub filter {
#
sub common_top() {
my $include_guard = uc($opts{sym})."_H_";
my @time = localtime;
my $year = $time[5] + 1900;
print <<EOF;
/*
* Copyright (c) ${year} The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
// This file is generated. Do not edit.
#ifndef ${include_guard}
#define ${include_guard}
Expand Down

0 comments on commit d6ae3ea

Please sign in to comment.