Update the license script to include the topaz root and exclude Skia's version of libpng (flutter/engine#4136)

This commit is contained in:
Jason Simmons
2017-09-22 14:03:14 -07:00
committed by GitHub
parent f7307b60cb
commit 7602b0001d
2 changed files with 4 additions and 14 deletions

View File

@@ -8663,7 +8663,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
engine
garnet
tonic
topaz
Copyright 2017 The Fuchsia Authors. All rights reserved.
@@ -10137,7 +10137,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
garnet
tonic
topaz
Copyright 2015 The Fuchsia Authors. All rights reserved.
@@ -10168,7 +10168,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
garnet
tonic
topaz
Copyright 2016 The Fuchsia Authors. All rights reserved.

View File

@@ -1797,6 +1797,7 @@ class RepositorySkiaThirdPartyDirectory extends RepositoryGenericThirdPartyDirec
bool shouldRecurse(fs.IoNode entry) {
return entry.name != 'giflib' // contains nothing that ends up in the binary executable
&& entry.name != 'freetype' // we use our own version
&& entry.name != 'libpng' // we use our own version
&& entry.name != 'lua' // not linked in
&& entry.name != 'yasm' // build tool (assembler)
&& super.shouldRecurse(entry);
@@ -1808,8 +1809,6 @@ class RepositorySkiaThirdPartyDirectory extends RepositoryGenericThirdPartyDirec
return new RepositoryReachOutDirectory(this, entry, new Set<String>.from(const <String>['ktx.h', 'ktx.cpp']), 2);
if (entry.name == 'libmicrohttpd')
return new RepositoryReachOutDirectory(this, entry, new Set<String>.from(const <String>['MHD_config.h']), 2);
if (entry.name == 'libpng')
return new RepositoryLibPngDirectory(this, entry);
if (entry.name == 'libwebp')
return new RepositorySkiaLibWebPDirectory(this, entry);
if (entry.name == 'libsdl')
@@ -2074,13 +2073,6 @@ class RepositoryDartDirectory extends RepositoryDirectory {
}
}
class RepositoryRootLibDirectory extends RepositoryDirectory {
RepositoryRootLibDirectory(RepositoryDirectory parent, fs.Directory io) : super(parent, io);
@override
bool get subdirectoriesAreLicenseRoots => true;
}
class RepositoryFlutterDirectory extends RepositoryDirectory {
RepositoryFlutterDirectory(RepositoryDirectory parent, fs.Directory io) : super(parent, io);
@@ -2243,8 +2235,6 @@ class RepositoryRoot extends RepositoryDirectory {
throw '//base is no longer part of this client: remove it';
if (entry.name == 'third_party')
return new RepositoryRootThirdPartyDirectory(this, entry);
if (entry.name == 'lib')
return new RepositoryRootLibDirectory(this, entry);
if (entry.name == 'dart')
return new RepositoryDartDirectory(this, entry);
if (entry.name == 'flutter')