From 24d288cb8ad6c346f20b0032e70bb4035dcb90b0 Mon Sep 17 00:00:00 2001 From: "bmeurer@chromium.org" Date: Wed, 12 Nov 2014 13:29:08 +0000 Subject: [PATCH] Fix copyright headers. R=machenbach@chromium.org Review URL: https://codereview.chromium.org/720793002 Cr-Commit-Position: refs/heads/master@{#25295} git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25295 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/mjsunit/asm/embenchen/box2d.js | 4 ---- test/mjsunit/asm/embenchen/copy.js | 4 ---- test/mjsunit/asm/embenchen/corrections.js | 4 ---- test/mjsunit/asm/embenchen/fannkuch.js | 4 ---- test/mjsunit/asm/embenchen/fasta.js | 4 ---- test/mjsunit/asm/embenchen/lua_binarytrees.js | 4 ---- test/mjsunit/asm/embenchen/memops.js | 4 ---- test/mjsunit/asm/embenchen/primes.js | 4 ---- test/mjsunit/asm/embenchen/zlib.js | 4 ---- tools/presubmit.py | 19 ++++++++++++++----- 10 files changed, 14 insertions(+), 41 deletions(-) diff --git a/test/mjsunit/asm/embenchen/box2d.js b/test/mjsunit/asm/embenchen/box2d.js index d524af2d7..9bb029ee2 100644 --- a/test/mjsunit/asm/embenchen/box2d.js +++ b/test/mjsunit/asm/embenchen/box2d.js @@ -1,7 +1,3 @@ -// Copyright 2014 the V8 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. - var EXPECTED_OUTPUT = /frame averages: .+ \+- .+, range: .+ to .+ \n/; var Module = { diff --git a/test/mjsunit/asm/embenchen/copy.js b/test/mjsunit/asm/embenchen/copy.js index 8cf63f50d..bf8d1777f 100644 --- a/test/mjsunit/asm/embenchen/copy.js +++ b/test/mjsunit/asm/embenchen/copy.js @@ -1,7 +1,3 @@ -// Copyright 2014 the V8 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. - var EXPECTED_OUTPUT = 'sum:8930\n'; var Module = { arguments: [1], diff --git a/test/mjsunit/asm/embenchen/corrections.js b/test/mjsunit/asm/embenchen/corrections.js index f4884ac8a..05cdc4c30 100644 --- a/test/mjsunit/asm/embenchen/corrections.js +++ b/test/mjsunit/asm/embenchen/corrections.js @@ -1,7 +1,3 @@ -// Copyright 2014 the V8 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. - var EXPECTED_OUTPUT = 'final: 40006013:58243.\n'; var Module = { arguments: [1], diff --git a/test/mjsunit/asm/embenchen/fannkuch.js b/test/mjsunit/asm/embenchen/fannkuch.js index d4c1a3194..64bd49195 100644 --- a/test/mjsunit/asm/embenchen/fannkuch.js +++ b/test/mjsunit/asm/embenchen/fannkuch.js @@ -1,7 +1,3 @@ -// Copyright 2014 the V8 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. - var EXPECTED_OUTPUT = '123456789\n' + '213456789\n' + diff --git a/test/mjsunit/asm/embenchen/fasta.js b/test/mjsunit/asm/embenchen/fasta.js index a7aab3d81..8c663544d 100644 --- a/test/mjsunit/asm/embenchen/fasta.js +++ b/test/mjsunit/asm/embenchen/fasta.js @@ -1,7 +1,3 @@ -// Copyright 2014 the V8 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. - var EXPECTED_OUTPUT = 'GGCCGGGCGCGGTGGCTCACGCCTGTAATCCCAGCACTTTGGGAGGCCGAGGCGGGCGGA\n' + 'TCACCTGAGGTCAGGAGTTCGAGACCAGCCTGGCCAACATGGTGAAACCCCGTCTCTACT\n' + diff --git a/test/mjsunit/asm/embenchen/lua_binarytrees.js b/test/mjsunit/asm/embenchen/lua_binarytrees.js index ca71bdc9a..e3a5d8c64 100644 --- a/test/mjsunit/asm/embenchen/lua_binarytrees.js +++ b/test/mjsunit/asm/embenchen/lua_binarytrees.js @@ -1,7 +1,3 @@ -// Copyright 2014 the V8 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. - var EXPECTED_OUTPUT = 'stretch tree of depth 10\t check: -1\n' + '1448\t trees of depth 4\t check: -1448\n' + diff --git a/test/mjsunit/asm/embenchen/memops.js b/test/mjsunit/asm/embenchen/memops.js index 1deb305a1..e8e607cd7 100644 --- a/test/mjsunit/asm/embenchen/memops.js +++ b/test/mjsunit/asm/embenchen/memops.js @@ -1,7 +1,3 @@ -// Copyright 2014 the V8 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. - var EXPECTED_OUTPUT = 'final: 840.\n'; var Module = { arguments: [1], diff --git a/test/mjsunit/asm/embenchen/primes.js b/test/mjsunit/asm/embenchen/primes.js index 9c9c0470b..32f80b836 100644 --- a/test/mjsunit/asm/embenchen/primes.js +++ b/test/mjsunit/asm/embenchen/primes.js @@ -1,7 +1,3 @@ -// Copyright 2014 the V8 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. - var EXPECTED_OUTPUT = 'lastprime: 387677.\n'; var Module = { arguments: [1], diff --git a/test/mjsunit/asm/embenchen/zlib.js b/test/mjsunit/asm/embenchen/zlib.js index c64317c56..d90ee3851 100644 --- a/test/mjsunit/asm/embenchen/zlib.js +++ b/test/mjsunit/asm/embenchen/zlib.js @@ -1,7 +1,3 @@ -// Copyright 2014 the V8 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. - var EXPECTED_OUTPUT = 'sizes: 100000,25906\nok.\n'; var Module = { arguments: [1], diff --git a/tools/presubmit.py b/tools/presubmit.py index 3b58084c2..321d2910d 100755 --- a/tools/presubmit.py +++ b/tools/presubmit.py @@ -327,16 +327,25 @@ class SourceProcessor(SourceFileProcessor): return (super(SourceProcessor, self).IgnoreDir(name) or name in ('third_party', 'gyp', 'out', 'obj', 'DerivedSources')) - IGNORE_COPYRIGHTS = ['cpplint.py', + IGNORE_COPYRIGHTS = ['box2d.js', + 'cpplint.py', + 'copy.js', + 'corrections.js', + 'crypto.js', 'daemon.py', 'earley-boyer.js', - 'raytrace.js', - 'crypto.js', + 'fannkuch.js', + 'fasta.js', + 'jsmin.py', 'libraries.cc', 'libraries-empty.cc', - 'jsmin.py', + 'lua_binarytrees.js', + 'memops.js', + 'primes.js', + 'raytrace.js', 'regexp-pcre.js', - 'gnuplot-4.6.3-emscripten.js'] + 'gnuplot-4.6.3-emscripten.js', + 'zlib.js'] IGNORE_TABS = IGNORE_COPYRIGHTS + ['unicode-test.js', 'html-comments.js'] def EndOfDeclaration(self, line): -- 2.34.1