Remove some unnessary dependencies
- angle - boringssl - smhasher - cython Remove these dependencies required stripping down some BUILD.gn files to remove targets we don't build.
This commit is contained in:
@@ -38,11 +38,6 @@ _build_deps = [
|
||||
'tools/valgrind',
|
||||
]
|
||||
|
||||
# things used from //mojo/public
|
||||
_mojo_sdk_deps = [
|
||||
'third_party/cython',
|
||||
]
|
||||
|
||||
_chromium_libs = [
|
||||
'crypto',
|
||||
'url',
|
||||
@@ -51,7 +46,6 @@ _chromium_libs = [
|
||||
_third_party_deps = [
|
||||
'third_party/android_platform',
|
||||
'third_party/apple_apsl',
|
||||
'third_party/boringssl',
|
||||
'third_party/brotli',
|
||||
'third_party/expat',
|
||||
'third_party/freetype-android',
|
||||
@@ -73,12 +67,10 @@ _third_party_deps = [
|
||||
'third_party/qcms',
|
||||
'third_party/re2',
|
||||
'third_party/robolectric',
|
||||
'third_party/smhasher',
|
||||
'third_party/yasm',
|
||||
'third_party/zlib',
|
||||
]
|
||||
|
||||
dirs_from_chromium = _base_deps + _build_deps + _mojo_sdk_deps + _chromium_libs + _third_party_deps
|
||||
dirs_from_chromium = _base_deps + _build_deps + _chromium_libs + _third_party_deps
|
||||
|
||||
dirs_from_mojo = [
|
||||
'gpu',
|
||||
@@ -97,11 +89,13 @@ files_not_to_roll = [
|
||||
'build/config/ui.gni',
|
||||
'build/ls.py',
|
||||
'build/module_args/mojo.gni',
|
||||
'crypto/BUILD.gn',
|
||||
'gpu/BUILD.gn',
|
||||
'tools/android/download_android_tools.py',
|
||||
'tools/android/VERSION_LINUX_NDK',
|
||||
'tools/android/VERSION_LINUX_SDK',
|
||||
'tools/android/VERSION_MACOSX_NDK',
|
||||
'tools/android/VERSION_MACOSX_SDK',
|
||||
'tools/android/download_android_tools.py',
|
||||
]
|
||||
|
||||
|
||||
|
||||
30
engine/src/flutter/third_party/smhasher/BUILD.gn
vendored
30
engine/src/flutter/third_party/smhasher/BUILD.gn
vendored
@@ -1,30 +0,0 @@
|
||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
source_set("murmurhash3") {
|
||||
sources = [
|
||||
"src/MurmurHash3.cpp",
|
||||
"src/MurmurHash3.h",
|
||||
]
|
||||
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||
configs += [ "//build/config/compiler:no_chromium_code" ]
|
||||
}
|
||||
|
||||
source_set("pmurhash") {
|
||||
sources = [
|
||||
"src/PMurHash.c",
|
||||
"src/PMurHash.h",
|
||||
]
|
||||
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||
configs += [ "//build/config/compiler:no_chromium_code" ]
|
||||
}
|
||||
|
||||
source_set("cityhash") {
|
||||
sources = [
|
||||
"src/City.cpp",
|
||||
"src/City.h",
|
||||
]
|
||||
configs -= [ "//build/config/compiler:chromium_code" ]
|
||||
configs += [ "//build/config/compiler:no_chromium_code" ]
|
||||
}
|
||||
23
engine/src/flutter/third_party/smhasher/LICENSE
vendored
23
engine/src/flutter/third_party/smhasher/LICENSE
vendored
@@ -1,23 +0,0 @@
|
||||
All MurmurHash source files are placed in the public domain.
|
||||
|
||||
The license below applies to all other code in SMHasher:
|
||||
|
||||
Copyright (c) 2011 Google, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
@@ -1,14 +0,0 @@
|
||||
Name: SMHasher
|
||||
URL: http://code.google.com/p/smhasher/
|
||||
Version: 0
|
||||
Revision: 147
|
||||
License: MIT, Public Domain
|
||||
License File: LICENSE
|
||||
Security Critical: yes
|
||||
|
||||
Description:
|
||||
This is a library containing the MurmurHash3 function, and a hashing function
|
||||
test suite.
|
||||
|
||||
Licenses are MIT (SMHasher) and Public Domain (MurmurHash).
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'murmurhash3',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'src/MurmurHash3.h',
|
||||
'src/MurmurHash3.cpp',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'pmurhash',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'src/PMurHash.h',
|
||||
'src/PMurHash.c',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'cityhash',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'src/City.cpp',
|
||||
'src/City.h',
|
||||
],
|
||||
# TODO(jschuh): http://code.google.com/p/smhasher/issues/detail?id=19
|
||||
'msvs_disabled_warnings': [
|
||||
4267,
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user