Increase the license block scan from 5k to 6k (flutter/engine#10956)

Split out of #10782 since it affects the detection of the license blocks of some files in third_party/boringssl.
This commit is contained in:
stuartmorgan
2019-08-12 15:42:32 -07:00
committed by GitHub
parent 22c7c6422f
commit 9ae65461a0
2 changed files with 5 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
Signature: 2949b64d096f5b6f13e028bf9cc53b40
Signature: e81f94cbf08e713d68edc9367e9a0a12

View File

@@ -2,5 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(ianh): vastly increase this before checkin
const int kMaxSize = 5 * 1024; // only look for copyrights and licenses at the top of the file
// Only look for copyrights and licenses at the top of the file.
// This can be increased as necessary, but the larger the value, the slower the
// script will be, so be judicious.
const int kMaxSize = 6 * 1024;