Moves expat, ocmock, libjpeg-turbo, libwebp, and wuffs to //flutter/third_party (flutter/engine#48193)

As part of eliminating the Flutter buildroot
(https://github.com/flutter/flutter/issues/67373), we are moving all
third-party dependencies from //third_party to //flutter/third_party.

Once all third-party dependencies have been migrated, tooling and config
will be moved and the buildroot will be eliminated altogether.

No tests changed because there is no semantic change to this PR. This is
simply relocating a dependency.

This PR moves expat, ocmock, libjpeg-turbo, libwebp, and wuffs to
//flutter/third_party.

It also deletes //third_party/fontconfig, which was unused.
This commit is contained in:
Zachary Anderson
2023-11-19 22:53:29 -08:00
committed by GitHub
parent e4b3ff8afc
commit aa3f8e61c1
21 changed files with 3458 additions and 424 deletions

18
DEPS
View File

@@ -618,7 +618,7 @@ deps = {
'src/third_party/colorama/src':
Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
'src/third_party/expat':
'src/flutter/third_party/expat':
Var('chromium_git') + '/external/github.com/libexpat/libexpat.git' + '@' + '654d2de0da85662fcc7644a7acd7c2dd2cfb21f0',
'src/third_party/freetype2':
@@ -630,27 +630,21 @@ deps = {
'src/flutter/third_party/skia':
Var('skia_git') + '/skia.git' + '@' + Var('skia_revision'),
'src/third_party/ocmock':
'src/flutter/third_party/ocmock':
Var('ocmock_git') + '@' + Var('ocmock_rev'),
'src/third_party/libjpeg-turbo':
'src/flutter/third_party/libjpeg-turbo/src':
Var('fuchsia_git') + '/third_party/libjpeg-turbo' + '@' + '0fb821f3b2e570b2783a94ccd9a2fb1f4916ae9f',
'src/third_party/libpng':
Var('flutter_git') + '/third_party/libpng' + '@' + '9187b6e12756317f6d44fc669ac11dfc262bd192',
'src/third_party/libwebp':
'src/flutter/third_party/libwebp':
Var('chromium_git') + '/webm/libwebp.git' + '@' + '2af26267cdfcb63a88e5c74a85927a12d6ca1d76', # 1.3.1
'src/third_party/wuffs':
'src/flutter/third_party/wuffs':
Var('skia_git') + '/external/github.com/google/wuffs-mirror-release-c.git' + '@' + '600cd96cf47788ee3a74b40a6028b035c9fd6a61',
'src/third_party/fontconfig/src':
Var('chromium_git') + '/external/fontconfig.git' + '@' + 'c336b8471877371f0190ba06f7547c54e2b890ba',
'src/third_party/fontconfig':
Var('flutter_git') + '/third_party/fontconfig' + '@' + '81c83d510ae3aa75589435ce32a5de05139aacb0',
'src/third_party/libxml':
Var('flutter_git') + '/third_party/libxml' + '@' + 'a143e452b5fc7d872813eeadc8db421694058098',
@@ -666,7 +660,7 @@ deps = {
'src/flutter/third_party/sqlite':
Var('flutter_git') + '/third_party/sqlite' + '@' + '0f61bd2023ba94423b4e4c8cfb1a23de1fe6a21c',
'src/third_party/pyyaml':
'src/flutter/third_party/pyyaml':
Var('fuchsia_git') + '/third_party/pyyaml.git' + '@' + '25e97546488eee166b1abb229a27856cecd8b7ac',
'src/third_party/swiftshader':

View File

@@ -5,7 +5,7 @@
config("expat_config") {
include_dirs = [
"expat/lib",
"//flutter/build/secondary/third_party/expat/expat_config",
"//flutter/build/secondary/flutter/third_party/expat/expat_config",
]
defines = [

View File

@@ -0,0 +1,178 @@
# Copyright 2017 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.
# This file is based on:
# https://skia.googlesource.com/skia/+/main/third_party/libwebp/BUILD.gn
config("libwebp_config") {
include_dirs = [
"//flutter/third_party/libwebp/src",
"//flutter/third_party/libwebp",
]
}
config("libwebp_defines") {
defines = [
# WebP naturally decodes to RGB_565, Skia with BGR_565.
# This makes WebP decode to BGR_565 when we ask for RGB_565.
# (It also swaps the color order for 4444, but we don't care today.)
"WEBP_SWAP_16BIT_CSP",
# Prevent WebP symbols from being exposed.
"WEBP_EXTERN=extern",
]
}
source_set("libwebp_sse41") {
include_dirs = [
"//flutter/third_party/libwebp/src",
"//flutter/third_party/libwebp",
]
configs += [ ":libwebp_defines" ]
sources = [
"//flutter/third_party/libwebp/src/dsp/alpha_processing_sse41.c",
"//flutter/third_party/libwebp/src/dsp/dec_sse41.c",
"//flutter/third_party/libwebp/src/dsp/enc_sse41.c",
"//flutter/third_party/libwebp/src/dsp/lossless_enc_sse41.c",
"//flutter/third_party/libwebp/src/dsp/lossless_sse41.c",
"//flutter/third_party/libwebp/src/dsp/upsampling_sse41.c",
"//flutter/third_party/libwebp/src/dsp/yuv_sse41.c",
]
if ((current_cpu == "x86" || current_cpu == "x64") && (!is_win || is_clang)) {
cflags_c = [ "-msse4.1" ]
}
}
source_set("libwebp") {
public_configs = [ ":libwebp_config" ]
include_dirs = [
"//flutter/third_party/libwebp/src",
"//flutter/third_party/libwebp",
]
deps = [ ":libwebp_sse41" ]
if (is_android) {
deps += [ "//third_party/cpu-features" ]
}
configs += [ ":libwebp_defines" ]
sources = [
"//flutter/third_party/libwebp/sharpyuv/sharpyuv.c",
"//flutter/third_party/libwebp/sharpyuv/sharpyuv_cpu.c",
"//flutter/third_party/libwebp/sharpyuv/sharpyuv_csp.c",
"//flutter/third_party/libwebp/sharpyuv/sharpyuv_dsp.c",
"//flutter/third_party/libwebp/sharpyuv/sharpyuv_gamma.c",
"//flutter/third_party/libwebp/sharpyuv/sharpyuv_neon.c",
"//flutter/third_party/libwebp/sharpyuv/sharpyuv_sse2.c",
"//flutter/third_party/libwebp/src/dec/alpha_dec.c",
"//flutter/third_party/libwebp/src/dec/buffer_dec.c",
"//flutter/third_party/libwebp/src/dec/frame_dec.c",
"//flutter/third_party/libwebp/src/dec/idec_dec.c",
"//flutter/third_party/libwebp/src/dec/io_dec.c",
"//flutter/third_party/libwebp/src/dec/quant_dec.c",
"//flutter/third_party/libwebp/src/dec/tree_dec.c",
"//flutter/third_party/libwebp/src/dec/vp8_dec.c",
"//flutter/third_party/libwebp/src/dec/vp8l_dec.c",
"//flutter/third_party/libwebp/src/dec/webp_dec.c",
"//flutter/third_party/libwebp/src/demux/anim_decode.c",
"//flutter/third_party/libwebp/src/demux/demux.c",
"//flutter/third_party/libwebp/src/dsp/alpha_processing.c",
"//flutter/third_party/libwebp/src/dsp/alpha_processing_mips_dsp_r2.c",
"//flutter/third_party/libwebp/src/dsp/alpha_processing_neon.c",
"//flutter/third_party/libwebp/src/dsp/alpha_processing_sse2.c",
"//flutter/third_party/libwebp/src/dsp/cost.c",
"//flutter/third_party/libwebp/src/dsp/cost_mips32.c",
"//flutter/third_party/libwebp/src/dsp/cost_mips_dsp_r2.c",
"//flutter/third_party/libwebp/src/dsp/cost_neon.c",
"//flutter/third_party/libwebp/src/dsp/cost_sse2.c",
"//flutter/third_party/libwebp/src/dsp/cpu.c",
"//flutter/third_party/libwebp/src/dsp/dec.c",
"//flutter/third_party/libwebp/src/dsp/dec_clip_tables.c",
"//flutter/third_party/libwebp/src/dsp/dec_mips32.c",
"//flutter/third_party/libwebp/src/dsp/dec_mips_dsp_r2.c",
"//flutter/third_party/libwebp/src/dsp/dec_msa.c",
"//flutter/third_party/libwebp/src/dsp/dec_neon.c",
"//flutter/third_party/libwebp/src/dsp/dec_sse2.c",
"//flutter/third_party/libwebp/src/dsp/enc.c",
"//flutter/third_party/libwebp/src/dsp/enc_mips32.c",
"//flutter/third_party/libwebp/src/dsp/enc_mips_dsp_r2.c",
"//flutter/third_party/libwebp/src/dsp/enc_msa.c",
"//flutter/third_party/libwebp/src/dsp/enc_neon.c",
"//flutter/third_party/libwebp/src/dsp/enc_sse2.c",
"//flutter/third_party/libwebp/src/dsp/filters.c",
"//flutter/third_party/libwebp/src/dsp/filters_mips_dsp_r2.c",
"//flutter/third_party/libwebp/src/dsp/filters_msa.c",
"//flutter/third_party/libwebp/src/dsp/filters_neon.c",
"//flutter/third_party/libwebp/src/dsp/filters_sse2.c",
"//flutter/third_party/libwebp/src/dsp/lossless.c",
"//flutter/third_party/libwebp/src/dsp/lossless_enc.c",
"//flutter/third_party/libwebp/src/dsp/lossless_enc_mips32.c",
"//flutter/third_party/libwebp/src/dsp/lossless_enc_mips_dsp_r2.c",
"//flutter/third_party/libwebp/src/dsp/lossless_enc_msa.c",
"//flutter/third_party/libwebp/src/dsp/lossless_enc_neon.c",
"//flutter/third_party/libwebp/src/dsp/lossless_enc_sse2.c",
"//flutter/third_party/libwebp/src/dsp/lossless_mips_dsp_r2.c",
"//flutter/third_party/libwebp/src/dsp/lossless_msa.c",
"//flutter/third_party/libwebp/src/dsp/lossless_neon.c",
"//flutter/third_party/libwebp/src/dsp/lossless_sse2.c",
"//flutter/third_party/libwebp/src/dsp/rescaler.c",
"//flutter/third_party/libwebp/src/dsp/rescaler_mips32.c",
"//flutter/third_party/libwebp/src/dsp/rescaler_mips_dsp_r2.c",
"//flutter/third_party/libwebp/src/dsp/rescaler_msa.c",
"//flutter/third_party/libwebp/src/dsp/rescaler_neon.c",
"//flutter/third_party/libwebp/src/dsp/rescaler_sse2.c",
"//flutter/third_party/libwebp/src/dsp/ssim.c",
"//flutter/third_party/libwebp/src/dsp/ssim_sse2.c",
"//flutter/third_party/libwebp/src/dsp/upsampling.c",
"//flutter/third_party/libwebp/src/dsp/upsampling_mips_dsp_r2.c",
"//flutter/third_party/libwebp/src/dsp/upsampling_msa.c",
"//flutter/third_party/libwebp/src/dsp/upsampling_neon.c",
"//flutter/third_party/libwebp/src/dsp/upsampling_sse2.c",
"//flutter/third_party/libwebp/src/dsp/yuv.c",
"//flutter/third_party/libwebp/src/dsp/yuv_mips32.c",
"//flutter/third_party/libwebp/src/dsp/yuv_mips_dsp_r2.c",
"//flutter/third_party/libwebp/src/dsp/yuv_neon.c",
"//flutter/third_party/libwebp/src/dsp/yuv_sse2.c",
"//flutter/third_party/libwebp/src/enc/alpha_enc.c",
"//flutter/third_party/libwebp/src/enc/analysis_enc.c",
"//flutter/third_party/libwebp/src/enc/backward_references_cost_enc.c",
"//flutter/third_party/libwebp/src/enc/backward_references_enc.c",
"//flutter/third_party/libwebp/src/enc/config_enc.c",
"//flutter/third_party/libwebp/src/enc/cost_enc.c",
"//flutter/third_party/libwebp/src/enc/filter_enc.c",
"//flutter/third_party/libwebp/src/enc/frame_enc.c",
"//flutter/third_party/libwebp/src/enc/histogram_enc.c",
"//flutter/third_party/libwebp/src/enc/iterator_enc.c",
"//flutter/third_party/libwebp/src/enc/near_lossless_enc.c",
"//flutter/third_party/libwebp/src/enc/picture_csp_enc.c",
"//flutter/third_party/libwebp/src/enc/picture_enc.c",
"//flutter/third_party/libwebp/src/enc/picture_psnr_enc.c",
"//flutter/third_party/libwebp/src/enc/picture_rescale_enc.c",
"//flutter/third_party/libwebp/src/enc/picture_tools_enc.c",
"//flutter/third_party/libwebp/src/enc/predictor_enc.c",
"//flutter/third_party/libwebp/src/enc/quant_enc.c",
"//flutter/third_party/libwebp/src/enc/syntax_enc.c",
"//flutter/third_party/libwebp/src/enc/token_enc.c",
"//flutter/third_party/libwebp/src/enc/tree_enc.c",
"//flutter/third_party/libwebp/src/enc/vp8l_enc.c",
"//flutter/third_party/libwebp/src/enc/webp_enc.c",
"//flutter/third_party/libwebp/src/mux/anim_encode.c",
"//flutter/third_party/libwebp/src/mux/muxedit.c",
"//flutter/third_party/libwebp/src/mux/muxinternal.c",
"//flutter/third_party/libwebp/src/mux/muxread.c",
"//flutter/third_party/libwebp/src/utils/bit_reader_utils.c",
"//flutter/third_party/libwebp/src/utils/bit_writer_utils.c",
"//flutter/third_party/libwebp/src/utils/color_cache_utils.c",
"//flutter/third_party/libwebp/src/utils/filters_utils.c",
"//flutter/third_party/libwebp/src/utils/huffman_encode_utils.c",
"//flutter/third_party/libwebp/src/utils/huffman_utils.c",
"//flutter/third_party/libwebp/src/utils/quant_levels_dec_utils.c",
"//flutter/third_party/libwebp/src/utils/quant_levels_utils.c",
"//flutter/third_party/libwebp/src/utils/random_utils.c",
"//flutter/third_party/libwebp/src/utils/rescaler_utils.c",
"//flutter/third_party/libwebp/src/utils/thread_utils.c",
"//flutter/third_party/libwebp/src/utils/utils.c",
]
}

View File

@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
ocmock_path = "//third_party/ocmock/Source"
ocmock_path = "//flutter/third_party/ocmock/Source"
# OCMock headers use `#import <OCMock/Foo.h>`.
config("ocmock_config") {

View File

@@ -1,81 +0,0 @@
# Copyright 2016 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.
config("libjpeg_config") {
include_dirs = [ "." ]
}
source_set("libjpeg") {
public_configs = [ ":libjpeg_config" ]
defines = []
if (!is_win) {
cflags_c = [
"-Wno-unused-variable",
"-Wno-unused-function",
]
} else {
defines += [ "TURBO_FOR_WINDOWS" ]
}
sources = [
"//third_party/libjpeg-turbo/jcapimin.c",
"//third_party/libjpeg-turbo/jcapistd.c",
"//third_party/libjpeg-turbo/jccoefct.c",
"//third_party/libjpeg-turbo/jccolor.c",
"//third_party/libjpeg-turbo/jcdctmgr.c",
"//third_party/libjpeg-turbo/jchuff.c",
"//third_party/libjpeg-turbo/jcinit.c",
"//third_party/libjpeg-turbo/jcmainct.c",
"//third_party/libjpeg-turbo/jcmarker.c",
"//third_party/libjpeg-turbo/jcmaster.c",
"//third_party/libjpeg-turbo/jcomapi.c",
"//third_party/libjpeg-turbo/jcparam.c",
"//third_party/libjpeg-turbo/jcphuff.c",
"//third_party/libjpeg-turbo/jcprepct.c",
"//third_party/libjpeg-turbo/jcsample.c",
"//third_party/libjpeg-turbo/jdapimin.c",
"//third_party/libjpeg-turbo/jdapistd.c",
"//third_party/libjpeg-turbo/jdcoefct.c",
"//third_party/libjpeg-turbo/jdcolor.c",
"//third_party/libjpeg-turbo/jddctmgr.c",
"//third_party/libjpeg-turbo/jdhuff.c",
"//third_party/libjpeg-turbo/jdinput.c",
"//third_party/libjpeg-turbo/jdmainct.c",
"//third_party/libjpeg-turbo/jdmarker.c",
"//third_party/libjpeg-turbo/jdmaster.c",
"//third_party/libjpeg-turbo/jdmerge.c",
"//third_party/libjpeg-turbo/jdphuff.c",
"//third_party/libjpeg-turbo/jdpostct.c",
"//third_party/libjpeg-turbo/jdsample.c",
"//third_party/libjpeg-turbo/jerror.c",
"//third_party/libjpeg-turbo/jfdctflt.c",
"//third_party/libjpeg-turbo/jfdctfst.c",
"//third_party/libjpeg-turbo/jfdctint.c",
"//third_party/libjpeg-turbo/jidctflt.c",
"//third_party/libjpeg-turbo/jidctfst.c",
"//third_party/libjpeg-turbo/jidctint.c",
"//third_party/libjpeg-turbo/jidctred.c",
"//third_party/libjpeg-turbo/jmemmgr.c",
"//third_party/libjpeg-turbo/jmemnobs.c",
"//third_party/libjpeg-turbo/jquant1.c",
"//third_party/libjpeg-turbo/jquant2.c",
"//third_party/libjpeg-turbo/jutils.c",
]
if (current_cpu == "arm" && !is_ios) {
sources += [
"//third_party/libjpeg-turbo/simd/jsimd_arm.c",
"//third_party/libjpeg-turbo/simd/jsimd_arm_neon.S",
]
} else if (current_cpu == "arm64") {
sources += [
"//third_party/libjpeg-turbo/simd/jsimd_arm64.c",
"//third_party/libjpeg-turbo/simd/jsimd_arm64_neon.S",
]
} else {
sources += [ "//third_party/libjpeg-turbo/jsimd_none.c" ]
}
}

View File

@@ -1,178 +0,0 @@
# Copyright 2017 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.
# This file is based on:
# https://skia.googlesource.com/skia/+/main/third_party/libwebp/BUILD.gn
config("libwebp_config") {
include_dirs = [
"//third_party/libwebp/src",
"//third_party/libwebp",
]
}
config("libwebp_defines") {
defines = [
# WebP naturally decodes to RGB_565, Skia with BGR_565.
# This makes WebP decode to BGR_565 when we ask for RGB_565.
# (It also swaps the color order for 4444, but we don't care today.)
"WEBP_SWAP_16BIT_CSP",
# Prevent WebP symbols from being exposed.
"WEBP_EXTERN=extern",
]
}
source_set("libwebp_sse41") {
include_dirs = [
"//third_party/libwebp/src",
"//third_party/libwebp",
]
configs += [ ":libwebp_defines" ]
sources = [
"//third_party/libwebp/src/dsp/alpha_processing_sse41.c",
"//third_party/libwebp/src/dsp/dec_sse41.c",
"//third_party/libwebp/src/dsp/enc_sse41.c",
"//third_party/libwebp/src/dsp/lossless_enc_sse41.c",
"//third_party/libwebp/src/dsp/lossless_sse41.c",
"//third_party/libwebp/src/dsp/upsampling_sse41.c",
"//third_party/libwebp/src/dsp/yuv_sse41.c",
]
if ((current_cpu == "x86" || current_cpu == "x64") && (!is_win || is_clang)) {
cflags_c = [ "-msse4.1" ]
}
}
source_set("libwebp") {
public_configs = [ ":libwebp_config" ]
include_dirs = [
"//third_party/libwebp/src",
"//third_party/libwebp",
]
deps = [ ":libwebp_sse41" ]
if (is_android) {
deps += [ "//third_party/cpu-features" ]
}
configs += [ ":libwebp_defines" ]
sources = [
"//third_party/libwebp/sharpyuv/sharpyuv.c",
"//third_party/libwebp/sharpyuv/sharpyuv_cpu.c",
"//third_party/libwebp/sharpyuv/sharpyuv_csp.c",
"//third_party/libwebp/sharpyuv/sharpyuv_dsp.c",
"//third_party/libwebp/sharpyuv/sharpyuv_gamma.c",
"//third_party/libwebp/sharpyuv/sharpyuv_neon.c",
"//third_party/libwebp/sharpyuv/sharpyuv_sse2.c",
"//third_party/libwebp/src/dec/alpha_dec.c",
"//third_party/libwebp/src/dec/buffer_dec.c",
"//third_party/libwebp/src/dec/frame_dec.c",
"//third_party/libwebp/src/dec/idec_dec.c",
"//third_party/libwebp/src/dec/io_dec.c",
"//third_party/libwebp/src/dec/quant_dec.c",
"//third_party/libwebp/src/dec/tree_dec.c",
"//third_party/libwebp/src/dec/vp8_dec.c",
"//third_party/libwebp/src/dec/vp8l_dec.c",
"//third_party/libwebp/src/dec/webp_dec.c",
"//third_party/libwebp/src/demux/anim_decode.c",
"//third_party/libwebp/src/demux/demux.c",
"//third_party/libwebp/src/dsp/alpha_processing.c",
"//third_party/libwebp/src/dsp/alpha_processing_mips_dsp_r2.c",
"//third_party/libwebp/src/dsp/alpha_processing_neon.c",
"//third_party/libwebp/src/dsp/alpha_processing_sse2.c",
"//third_party/libwebp/src/dsp/cost.c",
"//third_party/libwebp/src/dsp/cost_mips32.c",
"//third_party/libwebp/src/dsp/cost_mips_dsp_r2.c",
"//third_party/libwebp/src/dsp/cost_neon.c",
"//third_party/libwebp/src/dsp/cost_sse2.c",
"//third_party/libwebp/src/dsp/cpu.c",
"//third_party/libwebp/src/dsp/dec.c",
"//third_party/libwebp/src/dsp/dec_clip_tables.c",
"//third_party/libwebp/src/dsp/dec_mips32.c",
"//third_party/libwebp/src/dsp/dec_mips_dsp_r2.c",
"//third_party/libwebp/src/dsp/dec_msa.c",
"//third_party/libwebp/src/dsp/dec_neon.c",
"//third_party/libwebp/src/dsp/dec_sse2.c",
"//third_party/libwebp/src/dsp/enc.c",
"//third_party/libwebp/src/dsp/enc_mips32.c",
"//third_party/libwebp/src/dsp/enc_mips_dsp_r2.c",
"//third_party/libwebp/src/dsp/enc_msa.c",
"//third_party/libwebp/src/dsp/enc_neon.c",
"//third_party/libwebp/src/dsp/enc_sse2.c",
"//third_party/libwebp/src/dsp/filters.c",
"//third_party/libwebp/src/dsp/filters_mips_dsp_r2.c",
"//third_party/libwebp/src/dsp/filters_msa.c",
"//third_party/libwebp/src/dsp/filters_neon.c",
"//third_party/libwebp/src/dsp/filters_sse2.c",
"//third_party/libwebp/src/dsp/lossless.c",
"//third_party/libwebp/src/dsp/lossless_enc.c",
"//third_party/libwebp/src/dsp/lossless_enc_mips32.c",
"//third_party/libwebp/src/dsp/lossless_enc_mips_dsp_r2.c",
"//third_party/libwebp/src/dsp/lossless_enc_msa.c",
"//third_party/libwebp/src/dsp/lossless_enc_neon.c",
"//third_party/libwebp/src/dsp/lossless_enc_sse2.c",
"//third_party/libwebp/src/dsp/lossless_mips_dsp_r2.c",
"//third_party/libwebp/src/dsp/lossless_msa.c",
"//third_party/libwebp/src/dsp/lossless_neon.c",
"//third_party/libwebp/src/dsp/lossless_sse2.c",
"//third_party/libwebp/src/dsp/rescaler.c",
"//third_party/libwebp/src/dsp/rescaler_mips32.c",
"//third_party/libwebp/src/dsp/rescaler_mips_dsp_r2.c",
"//third_party/libwebp/src/dsp/rescaler_msa.c",
"//third_party/libwebp/src/dsp/rescaler_neon.c",
"//third_party/libwebp/src/dsp/rescaler_sse2.c",
"//third_party/libwebp/src/dsp/ssim.c",
"//third_party/libwebp/src/dsp/ssim_sse2.c",
"//third_party/libwebp/src/dsp/upsampling.c",
"//third_party/libwebp/src/dsp/upsampling_mips_dsp_r2.c",
"//third_party/libwebp/src/dsp/upsampling_msa.c",
"//third_party/libwebp/src/dsp/upsampling_neon.c",
"//third_party/libwebp/src/dsp/upsampling_sse2.c",
"//third_party/libwebp/src/dsp/yuv.c",
"//third_party/libwebp/src/dsp/yuv_mips32.c",
"//third_party/libwebp/src/dsp/yuv_mips_dsp_r2.c",
"//third_party/libwebp/src/dsp/yuv_neon.c",
"//third_party/libwebp/src/dsp/yuv_sse2.c",
"//third_party/libwebp/src/enc/alpha_enc.c",
"//third_party/libwebp/src/enc/analysis_enc.c",
"//third_party/libwebp/src/enc/backward_references_cost_enc.c",
"//third_party/libwebp/src/enc/backward_references_enc.c",
"//third_party/libwebp/src/enc/config_enc.c",
"//third_party/libwebp/src/enc/cost_enc.c",
"//third_party/libwebp/src/enc/filter_enc.c",
"//third_party/libwebp/src/enc/frame_enc.c",
"//third_party/libwebp/src/enc/histogram_enc.c",
"//third_party/libwebp/src/enc/iterator_enc.c",
"//third_party/libwebp/src/enc/near_lossless_enc.c",
"//third_party/libwebp/src/enc/picture_csp_enc.c",
"//third_party/libwebp/src/enc/picture_enc.c",
"//third_party/libwebp/src/enc/picture_psnr_enc.c",
"//third_party/libwebp/src/enc/picture_rescale_enc.c",
"//third_party/libwebp/src/enc/picture_tools_enc.c",
"//third_party/libwebp/src/enc/predictor_enc.c",
"//third_party/libwebp/src/enc/quant_enc.c",
"//third_party/libwebp/src/enc/syntax_enc.c",
"//third_party/libwebp/src/enc/token_enc.c",
"//third_party/libwebp/src/enc/tree_enc.c",
"//third_party/libwebp/src/enc/vp8l_enc.c",
"//third_party/libwebp/src/enc/webp_enc.c",
"//third_party/libwebp/src/mux/anim_encode.c",
"//third_party/libwebp/src/mux/muxedit.c",
"//third_party/libwebp/src/mux/muxinternal.c",
"//third_party/libwebp/src/mux/muxread.c",
"//third_party/libwebp/src/utils/bit_reader_utils.c",
"//third_party/libwebp/src/utils/bit_writer_utils.c",
"//third_party/libwebp/src/utils/color_cache_utils.c",
"//third_party/libwebp/src/utils/filters_utils.c",
"//third_party/libwebp/src/utils/huffman_encode_utils.c",
"//third_party/libwebp/src/utils/huffman_utils.c",
"//third_party/libwebp/src/utils/quant_levels_dec_utils.c",
"//third_party/libwebp/src/utils/quant_levels_utils.c",
"//third_party/libwebp/src/utils/random_utils.c",
"//third_party/libwebp/src/utils/rescaler_utils.c",
"//third_party/libwebp/src/utils/thread_utils.c",
"//third_party/libwebp/src/utils/utils.c",
]
}

View File

@@ -156,7 +156,7 @@ function verify_licenses() (
local actualLicenseCount
actualLicenseCount="$(tail -n 1 flutter/ci/licenses_golden/licenses_flutter | tr -dc '0-9')"
local expectedLicenseCount=53 # When changing this number: Update the error message below as well describing the newly expected license types.
local expectedLicenseCount=112 # When changing this number: Update the error message below as well describing the newly expected license types.
if [[ $actualLicenseCount -ne $expectedLicenseCount ]]; then
echo "=============================== ERROR ==============================="

View File

@@ -447,6 +447,50 @@
../../../flutter/third_party/accessibility/gfx/range/range_unittest.cc
../../../flutter/third_party/accessibility/gfx/test
../../../flutter/third_party/benchmark
../../../flutter/third_party/expat/.git
../../../flutter/third_party/expat/.github
../../../flutter/third_party/expat/.gitignore
../../../flutter/third_party/expat/.mailmap
../../../flutter/third_party/expat/Brewfile
../../../flutter/third_party/expat/README.md
../../../flutter/third_party/expat/appveyor.yml
../../../flutter/third_party/expat/expat/.clang-format
../../../flutter/third_party/expat/expat/.gitignore
../../../flutter/third_party/expat/expat/AUTHORS
../../../flutter/third_party/expat/expat/CMake.README
../../../flutter/third_party/expat/expat/CMakeLists.txt
../../../flutter/third_party/expat/expat/Changes
../../../flutter/third_party/expat/expat/ConfigureChecks.cmake
../../../flutter/third_party/expat/expat/README.md
../../../flutter/third_party/expat/expat/acinclude.m4
../../../flutter/third_party/expat/expat/cmake
../../../flutter/third_party/expat/expat/configure-ac-style.md
../../../flutter/third_party/expat/expat/conftools/.gitignore
../../../flutter/third_party/expat/expat/conftools/ax-append-compile-flags.m4
../../../flutter/third_party/expat/expat/conftools/ax-append-flag.m4
../../../flutter/third_party/expat/expat/conftools/ax-append-link-flags.m4
../../../flutter/third_party/expat/expat/conftools/ax-check-compile-flag.m4
../../../flutter/third_party/expat/expat/conftools/ax-check-link-flag.m4
../../../flutter/third_party/expat/expat/conftools/ax-require-defined.m4
../../../flutter/third_party/expat/expat/conftools/expat.m4
../../../flutter/third_party/expat/expat/conftools/expatcfg-compiler-supports-visibility.m4
../../../flutter/third_party/expat/expat/doc
../../../flutter/third_party/expat/expat/examples
../../../flutter/third_party/expat/expat/expat.pc.cmake
../../../flutter/third_party/expat/expat/expat_config.h.cmake
../../../flutter/third_party/expat/expat/fuzz/.gitignore
../../../flutter/third_party/expat/expat/gennmtab/.gitignore
../../../flutter/third_party/expat/expat/lib/.gitignore
../../../flutter/third_party/expat/expat/lib/libexpat.def.cmake
../../../flutter/third_party/expat/expat/memory-sanitizer-blacklist.txt
../../../flutter/third_party/expat/expat/tests
../../../flutter/third_party/expat/expat/win32/.gitignore
../../../flutter/third_party/expat/expat/win32/MANIFEST.txt
../../../flutter/third_party/expat/expat/win32/README.txt
../../../flutter/third_party/expat/expat/win32/expat.iss
../../../flutter/third_party/expat/expat/xmlwf/.gitignore
../../../flutter/third_party/expat/expat/xmlwf/xmlwf_helpgen.py
../../../flutter/third_party/expat/testdata
../../../flutter/third_party/flatbuffers/.bazelci
../../../flutter/third_party/flatbuffers/.clang-format
../../../flutter/third_party/flatbuffers/.editorconfig
@@ -550,6 +594,25 @@
../../../flutter/third_party/inja/test
../../../flutter/third_party/inja/third_party/amalgamate
../../../flutter/third_party/inja/third_party/include/doctest
../../../flutter/third_party/libjpeg-turbo/src/.git
../../../flutter/third_party/libjpeg-turbo/src/.gitignore
../../../flutter/third_party/libjpeg-turbo/src/BUILDING.md
../../../flutter/third_party/libjpeg-turbo/src/CMakeLists.txt
../../../flutter/third_party/libjpeg-turbo/src/ChangeLog.md
../../../flutter/third_party/libjpeg-turbo/src/README.fuchsia
../../../flutter/third_party/libjpeg-turbo/src/README.md
../../../flutter/third_party/libjpeg-turbo/src/acinclude.m4
../../../flutter/third_party/libjpeg-turbo/src/change.log
../../../flutter/third_party/libjpeg-turbo/src/cjpeg.1
../../../flutter/third_party/libjpeg-turbo/src/coderules.txt
../../../flutter/third_party/libjpeg-turbo/src/djpeg.1
../../../flutter/third_party/libjpeg-turbo/src/doxygen-extra.css
../../../flutter/third_party/libjpeg-turbo/src/doxygen.config
../../../flutter/third_party/libjpeg-turbo/src/jpegtran.1
../../../flutter/third_party/libjpeg-turbo/src/rdjpgcom.1
../../../flutter/third_party/libjpeg-turbo/src/simd/CMakeLists.txt
../../../flutter/third_party/libjpeg-turbo/src/structure.txt
../../../flutter/third_party/libjpeg-turbo/src/wrjpgcom.1
../../../flutter/third_party/libtess2/.git
../../../flutter/third_party/libtess2/.gitignore
../../../flutter/third_party/libtess2/Contrib/nanosvg.c
@@ -557,7 +620,45 @@
../../../flutter/third_party/libtess2/Example
../../../flutter/third_party/libtess2/README.md
../../../flutter/third_party/libtess2/alg_outline.md
../../../flutter/third_party/libwebp/.cmake-format.py
../../../flutter/third_party/libwebp/.git
../../../flutter/third_party/libwebp/.gitattributes
../../../flutter/third_party/libwebp/.gitignore
../../../flutter/third_party/libwebp/.mailmap
../../../flutter/third_party/libwebp/.style.yapf
../../../flutter/third_party/libwebp/AUTHORS
../../../flutter/third_party/libwebp/Android.mk
../../../flutter/third_party/libwebp/CMakeLists.txt
../../../flutter/third_party/libwebp/CONTRIBUTING.md
../../../flutter/third_party/libwebp/ChangeLog
../../../flutter/third_party/libwebp/Makefile.vc
../../../flutter/third_party/libwebp/NEWS
../../../flutter/third_party/libwebp/PATENTS
../../../flutter/third_party/libwebp/PRESUBMIT.py
../../../flutter/third_party/libwebp/README.md
../../../flutter/third_party/libwebp/build.gradle
../../../flutter/third_party/libwebp/cmake
../../../flutter/third_party/libwebp/codereview.settings
../../../flutter/third_party/libwebp/doc
../../../flutter/third_party/libwebp/examples
../../../flutter/third_party/libwebp/gradle
../../../flutter/third_party/libwebp/gradle.properties
../../../flutter/third_party/libwebp/imageio/Android.mk
../../../flutter/third_party/libwebp/m4/.gitignore
../../../flutter/third_party/libwebp/m4/ax_pthread.m4
../../../flutter/third_party/libwebp/makefile.unix
../../../flutter/third_party/libwebp/man/cwebp.1
../../../flutter/third_party/libwebp/man/dwebp.1
../../../flutter/third_party/libwebp/man/gif2webp.1
../../../flutter/third_party/libwebp/man/img2webp.1
../../../flutter/third_party/libwebp/man/vwebp.1
../../../flutter/third_party/libwebp/man/webpinfo.1
../../../flutter/third_party/libwebp/man/webpmux.1
../../../flutter/third_party/libwebp/swig
../../../flutter/third_party/libwebp/tests
../../../flutter/third_party/libwebp/webp_js
../../../flutter/third_party/ninja
../../../flutter/third_party/ocmock
../../../flutter/third_party/pkg/archive
../../../flutter/third_party/pkg/equatable
../../../flutter/third_party/pkg/flutter_packages
@@ -567,6 +668,7 @@
../../../flutter/third_party/pkg/process
../../../flutter/third_party/pkg/process_runner
../../../flutter/third_party/pkg/vector_math
../../../flutter/third_party/pyyaml
../../../flutter/third_party/rapidjson/.git
../../../flutter/third_party/rapidjson/.gitattributes
../../../flutter/third_party/rapidjson/.gitignore
@@ -957,6 +1059,13 @@
../../../flutter/third_party/web_test_fonts/pubspec.yaml
../../../flutter/third_party/web_unicode/README.md
../../../flutter/third_party/web_unicode/pubspec.yaml
../../../flutter/third_party/wuffs/.git
../../../flutter/third_party/wuffs/.github
../../../flutter/third_party/wuffs/README.md
../../../flutter/third_party/wuffs/docs
../../../flutter/third_party/wuffs/release/c/README.md
../../../flutter/third_party/wuffs/script
../../../flutter/third_party/wuffs/sync.txt
../../../flutter/tools
../../../flutter/tools/licenses/.dart_tool
../../../flutter/tools/licenses/.gitignore
@@ -2342,51 +2451,6 @@
../../../third_party/dart/utils/OWNERS
../../../third_party/dart/utils/compiler/.gitignore
../../../third_party/dart/utils/dartanalyzer/.gitignore
../../../third_party/expat/.git
../../../third_party/expat/.github
../../../third_party/expat/.gitignore
../../../third_party/expat/.mailmap
../../../third_party/expat/Brewfile
../../../third_party/expat/README.md
../../../third_party/expat/appveyor.yml
../../../third_party/expat/expat/.clang-format
../../../third_party/expat/expat/.gitignore
../../../third_party/expat/expat/AUTHORS
../../../third_party/expat/expat/CMake.README
../../../third_party/expat/expat/CMakeLists.txt
../../../third_party/expat/expat/Changes
../../../third_party/expat/expat/ConfigureChecks.cmake
../../../third_party/expat/expat/README.md
../../../third_party/expat/expat/acinclude.m4
../../../third_party/expat/expat/cmake
../../../third_party/expat/expat/configure-ac-style.md
../../../third_party/expat/expat/conftools/.gitignore
../../../third_party/expat/expat/conftools/ax-append-compile-flags.m4
../../../third_party/expat/expat/conftools/ax-append-flag.m4
../../../third_party/expat/expat/conftools/ax-append-link-flags.m4
../../../third_party/expat/expat/conftools/ax-check-compile-flag.m4
../../../third_party/expat/expat/conftools/ax-check-link-flag.m4
../../../third_party/expat/expat/conftools/ax-require-defined.m4
../../../third_party/expat/expat/conftools/expat.m4
../../../third_party/expat/expat/conftools/expatcfg-compiler-supports-visibility.m4
../../../third_party/expat/expat/doc
../../../third_party/expat/expat/examples
../../../third_party/expat/expat/expat.pc.cmake
../../../third_party/expat/expat/expat_config.h.cmake
../../../third_party/expat/expat/fuzz/.gitignore
../../../third_party/expat/expat/gennmtab/.gitignore
../../../third_party/expat/expat/lib/.gitignore
../../../third_party/expat/expat/lib/libexpat.def.cmake
../../../third_party/expat/expat/memory-sanitizer-blacklist.txt
../../../third_party/expat/expat/tests
../../../third_party/expat/expat/win32/.gitignore
../../../third_party/expat/expat/win32/MANIFEST.txt
../../../third_party/expat/expat/win32/README.txt
../../../third_party/expat/expat/win32/expat.iss
../../../third_party/expat/expat/xmlwf/.gitignore
../../../third_party/expat/expat/xmlwf/xmlwf_helpgen.py
../../../third_party/expat/testdata
../../../third_party/fontconfig
../../../third_party/freetype2/.clang-format
../../../third_party/freetype2/.git
../../../third_party/freetype2/.gitignore
@@ -2746,25 +2810,6 @@
../../../third_party/libcxxabi/src/demangle/README.txt
../../../third_party/libcxxabi/test
../../../third_party/libcxxabi/www
../../../third_party/libjpeg-turbo/.git
../../../third_party/libjpeg-turbo/.gitignore
../../../third_party/libjpeg-turbo/BUILDING.md
../../../third_party/libjpeg-turbo/CMakeLists.txt
../../../third_party/libjpeg-turbo/ChangeLog.md
../../../third_party/libjpeg-turbo/README.fuchsia
../../../third_party/libjpeg-turbo/README.md
../../../third_party/libjpeg-turbo/acinclude.m4
../../../third_party/libjpeg-turbo/change.log
../../../third_party/libjpeg-turbo/cjpeg.1
../../../third_party/libjpeg-turbo/coderules.txt
../../../third_party/libjpeg-turbo/djpeg.1
../../../third_party/libjpeg-turbo/doxygen-extra.css
../../../third_party/libjpeg-turbo/doxygen.config
../../../third_party/libjpeg-turbo/jpegtran.1
../../../third_party/libjpeg-turbo/rdjpgcom.1
../../../third_party/libjpeg-turbo/simd/CMakeLists.txt
../../../third_party/libjpeg-turbo/structure.txt
../../../third_party/libjpeg-turbo/wrjpgcom.1
../../../third_party/libpng/.git
../../../third_party/libpng/.travis.yml
../../../third_party/libpng/ANNOUNCE
@@ -2787,45 +2832,7 @@
../../../third_party/libpng/projects
../../../third_party/libpng/scripts
../../../third_party/libpng/tests
../../../third_party/libwebp/.cmake-format.py
../../../third_party/libwebp/.git
../../../third_party/libwebp/.gitattributes
../../../third_party/libwebp/.gitignore
../../../third_party/libwebp/.mailmap
../../../third_party/libwebp/.style.yapf
../../../third_party/libwebp/AUTHORS
../../../third_party/libwebp/Android.mk
../../../third_party/libwebp/CMakeLists.txt
../../../third_party/libwebp/CONTRIBUTING.md
../../../third_party/libwebp/ChangeLog
../../../third_party/libwebp/Makefile.vc
../../../third_party/libwebp/NEWS
../../../third_party/libwebp/PATENTS
../../../third_party/libwebp/PRESUBMIT.py
../../../third_party/libwebp/README.md
../../../third_party/libwebp/build.gradle
../../../third_party/libwebp/cmake
../../../third_party/libwebp/codereview.settings
../../../third_party/libwebp/doc
../../../third_party/libwebp/examples
../../../third_party/libwebp/gradle
../../../third_party/libwebp/gradle.properties
../../../third_party/libwebp/imageio/Android.mk
../../../third_party/libwebp/m4/.gitignore
../../../third_party/libwebp/m4/ax_pthread.m4
../../../third_party/libwebp/makefile.unix
../../../third_party/libwebp/man/cwebp.1
../../../third_party/libwebp/man/dwebp.1
../../../third_party/libwebp/man/gif2webp.1
../../../third_party/libwebp/man/img2webp.1
../../../third_party/libwebp/man/vwebp.1
../../../third_party/libwebp/man/webpinfo.1
../../../third_party/libwebp/man/webpmux.1
../../../third_party/libwebp/swig
../../../third_party/libwebp/tests
../../../third_party/libwebp/webp_js
../../../third_party/libxml
../../../third_party/ocmock
../../../third_party/perfetto/.clang-format
../../../third_party/perfetto/.clang-tidy
../../../third_party/perfetto/.git
@@ -2969,7 +2976,6 @@
../../../third_party/perfetto/ui/src/plugins/dev.perfetto.LargeScreensPerf/OWNERS
../../../third_party/perfetto/ui/src/test
../../../third_party/protobuf
../../../third_party/pyyaml
../../../third_party/root_certificates/.git
../../../third_party/root_certificates/README.google
../../../third_party/root_certificates/certdata.pem
@@ -3150,13 +3156,6 @@
../../../third_party/vulkan_memory_allocator/src
../../../third_party/vulkan_memory_allocator/tools
../../../third_party/web_dependencies/canvaskit
../../../third_party/wuffs/.git
../../../third_party/wuffs/.github
../../../third_party/wuffs/README.md
../../../third_party/wuffs/docs
../../../third_party/wuffs/release/c/README.md
../../../third_party/wuffs/script
../../../third_party/wuffs/sync.txt
../../../third_party/yapf
../../../third_party/zlib/.git
../../../third_party/zlib/CMakeLists.txt

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +1,2 @@
Signature: 03695ee256e004a5adda4bdc62e18d55
Signature: 90d7ddb0684f0d9d245924c2db26e02a

View File

@@ -110,8 +110,8 @@ executable("framework_common_unittests") {
":framework_common",
":framework_common_fixtures",
"//flutter/testing",
"//flutter/third_party/ocmock:ocmock",
"//third_party/dart/runtime:libdart_jit",
"//third_party/ocmock:ocmock",
]
public_configs = [ "//flutter:config" ]

View File

@@ -287,11 +287,11 @@ shared_library("ios_test_flutter") {
"//flutter/shell/platform/embedder:embedder_as_internal_library",
"//flutter/shell/platform/embedder:embedder_test_utils",
"//flutter/skia",
"//flutter/third_party/ocmock:ocmock_shared",
"//flutter/third_party/rapidjson",
"//flutter/third_party/spring_animation",
"//flutter/third_party/tonic",
"//flutter/third_party/txt",
"//third_party/ocmock:ocmock_shared",
]
public_configs = [
":ios_gpu_configuration_config",

View File

@@ -215,7 +215,7 @@ executable("flutter_desktop_darwin_unittests") {
"//flutter/testing:dart",
"//flutter/testing:skia",
"//flutter/testing:testing_lib",
"//third_party/ocmock:ocmock",
"//flutter/third_party/ocmock:ocmock",
]
}

View File

@@ -222,7 +222,7 @@ optional("fontmgr_android") {
deps = [
":typeface_freetype",
"//third_party/expat",
"//flutter/third_party/expat",
]
public = [ "$_skia_root/include/ports/SkFontMgr_android.h" ]
sources = [
@@ -564,7 +564,7 @@ optional("jpeg_decode") {
enabled = skia_use_libjpeg_turbo_decode
public_defines = [ "SK_CODEC_DECODES_JPEG" ]
deps = [ "//third_party/libjpeg-turbo:libjpeg" ]
deps = [ "//flutter/third_party/libjpeg-turbo:libjpeg" ]
sources = [
"$_skia_root/src/codec/SkJpegCodec.cpp",
"$_skia_root/src/codec/SkJpegDecoderMgr.cpp",
@@ -576,7 +576,7 @@ optional("jpeg_decode") {
optional("jpeg_encode") {
enabled = skia_use_libjpeg_turbo_encode && !skia_use_ndk_images
deps = [ "//third_party/libjpeg-turbo:libjpeg" ]
deps = [ "//flutter/third_party/libjpeg-turbo:libjpeg" ]
public = skia_encode_jpeg_public
sources = skia_encode_jpeg_srcs
}
@@ -634,7 +634,7 @@ optional("webp_decode") {
enabled = skia_use_libwebp_decode
public_defines = [ "SK_CODEC_DECODES_WEBP" ]
deps = [ "//third_party/libwebp" ]
deps = [ "//flutter/third_party/libwebp" ]
sources = [ "$_skia_root/src/codec/SkWebpCodec.cpp" ]
}
@@ -642,7 +642,7 @@ optional("webp_encode") {
enabled = skia_use_libwebp_encode && !skia_use_ndk_images
public = skia_encode_webp_public
deps = [ "//third_party/libwebp" ]
deps = [ "//flutter/third_party/libwebp" ]
sources = skia_encode_webp_srcs
}
@@ -650,7 +650,7 @@ optional("wuffs") {
enabled = skia_use_wuffs
public_defines = [ "SK_HAS_WUFFS_LIBRARY" ]
deps = [ "//third_party/wuffs" ]
deps = [ "//flutter/third_party/wuffs" ]
sources = [ "$_skia_root/src/codec/SkWuffsCodec.cpp" ]
}
@@ -658,7 +658,7 @@ optional("xml") {
enabled = skia_use_expat || skia_use_jpeg_gainmaps
public_defines = [ "SK_XML" ]
deps = [ "//third_party/expat" ]
deps = [ "//flutter/third_party/expat" ]
sources = skia_xml_sources + skia_codec_xmp + [
"$_skia_root/src/svg/SkSVGCanvas.cpp",
"$_skia_root/src/svg/SkSVGDevice.cpp",
@@ -778,7 +778,7 @@ skia_component("skia") {
}
if (is_android) {
deps += [ "//third_party/expat" ]
deps += [ "//flutter/third_party/expat" ]
sources += [ "$_skia_root/src/ports/SkDebug_android.cpp" ]
libs += [
"EGL",

View File

@@ -511,7 +511,7 @@
"$(PROJECT_DIR)/Tests",
../../../../out/$FLUTTER_ENGINE,
../../../../out/$FLUTTER_ENGINE/obj/flutter/shell/platform/darwin/ios/,
../../../../out/$FLUTTER_ENGINE/obj/third_party/ocmock/,
../../../../out/$FLUTTER_ENGINE/obj/flutter/third_party/ocmock/,
"$(PROJECT_DIR)",
);
OTHER_LDFLAGS = (
@@ -522,7 +522,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.google.flutter.IosUnitTestsTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SYSTEM_HEADER_SEARCH_PATHS = ../../../../third_party/ocmock/Source/;
SYSTEM_HEADER_SEARCH_PATHS = ../../../third_party/ocmock/Source/;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/IosUnitTests.app/IosUnitTests";
};
@@ -556,7 +556,7 @@
"$(PROJECT_DIR)/Tests",
../../../../out/$FLUTTER_ENGINE,
../../../../out/$FLUTTER_ENGINE/obj/flutter/shell/platform/darwin/ios/,
../../../../out/$FLUTTER_ENGINE/obj/third_party/ocmock/,
../../../../out/$FLUTTER_ENGINE/obj/flutter/third_party/ocmock/,
"$(PROJECT_DIR)",
);
OTHER_LDFLAGS = (
@@ -567,7 +567,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.google.flutter.IosUnitTestsTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SYSTEM_HEADER_SEARCH_PATHS = ../../../../third_party/ocmock/Source/;
SYSTEM_HEADER_SEARCH_PATHS = ../../../third_party/ocmock/Source/;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/IosUnitTests.app/IosUnitTests";
};

View File

@@ -0,0 +1,183 @@
# Copyright 2013 The Flutter 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_location = "//flutter/third_party/libjpeg-turbo/src"
if (current_cpu == "arm") {
import("//build/config/arm.gni")
}
import("//build/fuchsia/sdk.gni")
if ((current_cpu == "x86" || current_cpu == "x64") && is_fuchsia &&
!using_fuchsia_sdk) {
import("//third_party/yasm/yasm_assemble.gni")
yasm_assemble("simd_asm") {
defines = []
if (current_cpu == "x86") {
sources = [
"$_source_location/simd/jccolor-mmx.asm",
"$_source_location/simd/jccolor-sse2.asm",
"$_source_location/simd/jcgray-mmx.asm",
"$_source_location/simd/jcgray-sse2.asm",
"$_source_location/simd/jchuff-sse2.asm",
"$_source_location/simd/jcsample-mmx.asm",
"$_source_location/simd/jcsample-sse2.asm",
"$_source_location/simd/jdcolor-mmx.asm",
"$_source_location/simd/jdcolor-sse2.asm",
"$_source_location/simd/jdmerge-mmx.asm",
"$_source_location/simd/jdmerge-sse2.asm",
"$_source_location/simd/jdsample-mmx.asm",
"$_source_location/simd/jdsample-sse2.asm",
"$_source_location/simd/jfdctflt-3dn.asm",
"$_source_location/simd/jfdctflt-sse.asm",
"$_source_location/simd/jfdctfst-mmx.asm",
"$_source_location/simd/jfdctfst-sse2.asm",
"$_source_location/simd/jfdctint-mmx.asm",
"$_source_location/simd/jfdctint-sse2.asm",
"$_source_location/simd/jidctflt-3dn.asm",
"$_source_location/simd/jidctflt-sse.asm",
"$_source_location/simd/jidctflt-sse2.asm",
"$_source_location/simd/jidctfst-mmx.asm",
"$_source_location/simd/jidctfst-sse2.asm",
"$_source_location/simd/jidctint-mmx.asm",
"$_source_location/simd/jidctint-sse2.asm",
"$_source_location/simd/jidctred-mmx.asm",
"$_source_location/simd/jidctred-sse2.asm",
"$_source_location/simd/jquant-3dn.asm",
"$_source_location/simd/jquant-mmx.asm",
"$_source_location/simd/jquant-sse.asm",
"$_source_location/simd/jquantf-sse2.asm",
"$_source_location/simd/jquanti-sse2.asm",
"$_source_location/simd/jsimdcpu.asm",
]
defines += [
"__x86__",
"PIC",
]
} else if (current_cpu == "x64") {
sources = [
"$_source_location/simd/jccolor-sse2-64.asm",
"$_source_location/simd/jcgray-sse2-64.asm",
"$_source_location/simd/jchuff-sse2-64.asm",
"$_source_location/simd/jcsample-sse2-64.asm",
"$_source_location/simd/jdcolor-sse2-64.asm",
"$_source_location/simd/jdmerge-sse2-64.asm",
"$_source_location/simd/jdsample-sse2-64.asm",
"$_source_location/simd/jfdctflt-sse-64.asm",
"$_source_location/simd/jfdctfst-sse2-64.asm",
"$_source_location/simd/jfdctint-sse2-64.asm",
"$_source_location/simd/jidctflt-sse2-64.asm",
"$_source_location/simd/jidctfst-sse2-64.asm",
"$_source_location/simd/jidctint-sse2-64.asm",
"$_source_location/simd/jidctred-sse2-64.asm",
"$_source_location/simd/jquantf-sse2-64.asm",
"$_source_location/simd/jquanti-sse2-64.asm",
]
defines += [
"__x86_64__",
"PIC",
]
}
defines += [ "ELF" ]
}
}
config("libjpeg_config") {
include_dirs = [ _source_location ]
}
static_library("simd") {
configs += [ ":libjpeg_config" ]
if (!is_fuchsia || using_fuchsia_sdk) {
sources = [ "$_source_location/jsimd_none.c" ]
} else if (current_cpu == "x86") {
deps = [ ":simd_asm" ]
sources = [ "$_source_location/simd/jsimd_i386.c" ]
} else if (current_cpu == "x64") {
deps = [ ":simd_asm" ]
sources = [ "$_source_location/simd/jsimd_x86_64.c" ]
} else if (current_cpu == "arm" && arm_version >= 7 &&
(arm_use_neon || arm_optionally_use_neon)) {
sources = [
"$_source_location/simd/jsimd_arm.c",
"$_source_location/simd/jsimd_arm_neon.S",
]
} else if (current_cpu == "arm64") {
sources = [
"$_source_location/simd/jsimd_arm64.c",
"$_source_location/simd/jsimd_arm64_neon.S",
]
} else {
sources = [ "$_source_location/jsimd_none.c" ]
}
}
static_library("libjpeg") {
sources = [
"$_source_location/jcapimin.c",
"$_source_location/jcapistd.c",
"$_source_location/jccoefct.c",
"$_source_location/jccolor.c",
"$_source_location/jcdctmgr.c",
"$_source_location/jchuff.c",
"$_source_location/jcinit.c",
"$_source_location/jcmainct.c",
"$_source_location/jcmarker.c",
"$_source_location/jcmaster.c",
"$_source_location/jcomapi.c",
"$_source_location/jcparam.c",
"$_source_location/jcphuff.c",
"$_source_location/jcprepct.c",
"$_source_location/jcsample.c",
"$_source_location/jdapimin.c",
"$_source_location/jdapistd.c",
"$_source_location/jdatadst.c",
"$_source_location/jdatasrc.c",
"$_source_location/jdcoefct.c",
"$_source_location/jdcolor.c",
"$_source_location/jddctmgr.c",
"$_source_location/jdhuff.c",
"$_source_location/jdinput.c",
"$_source_location/jdmainct.c",
"$_source_location/jdmarker.c",
"$_source_location/jdmaster.c",
"$_source_location/jdmerge.c",
"$_source_location/jdphuff.c",
"$_source_location/jdpostct.c",
"$_source_location/jdsample.c",
"$_source_location/jerror.c",
"$_source_location/jfdctflt.c",
"$_source_location/jfdctfst.c",
"$_source_location/jfdctint.c",
"$_source_location/jidctflt.c",
"$_source_location/jidctfst.c",
"$_source_location/jidctint.c",
"$_source_location/jidctred.c",
"$_source_location/jmemmgr.c",
"$_source_location/jmemnobs.c",
"$_source_location/jquant1.c",
"$_source_location/jquant2.c",
"$_source_location/jutils.c",
]
defines = [
"WITH_SIMD",
"NO_GETENV",
]
configs += [ ":libjpeg_config" ]
public_configs = [ ":libjpeg_config" ]
deps = [ ":simd" ]
}

View File

@@ -16,9 +16,7 @@ import sys
THIS_DIR = os.path.abspath(os.path.dirname(__file__))
sys.path += [
os.path.join(
THIS_DIR, '..', '..', '..', '..', 'third_party', 'pyyaml', 'lib3'
)
os.path.join(THIS_DIR, '..', '..', '..', 'third_party', 'pyyaml', 'lib3')
]
import yaml

View File

@@ -1029,6 +1029,9 @@ class _RepositoryDirectory extends _RepositoryEntry implements LicenseSource {
static final RegExp _licenseNamePattern = RegExp(r'^(?!.*\.py$)(?!.*(?:no|update)-copyright)(?!.*mh-bsd-gcc).*\b_*(?:license(?!\.html)|copying|copyright|notice|l?gpl|GPLv2|bsd|mit|mpl?|ftl|Apache)_*\b', caseSensitive: false);
static const Map<String, _Constructor> _specialCaseFiles = <String, _Constructor>{
'/flutter/third_party/inja/third_party/include/nlohmann/json.hpp': _RepositoryInjaJsonFile.new,
'/flutter/third_party/libjpeg-turbo/src/LICENSE': _RepositoryLibJpegTurboLicenseFile.new,
'/flutter/third_party/libjpeg-turbo/src/README.ijg': _RepositoryReadmeIjgFile.new,
'/flutter/third_party/rapidjson/LICENSE': _RepositoryOpaqueLicenseFile.new,
'/flutter/third_party/rapidjson/license.txt': _RepositoryOpaqueLicenseFile.new,
'/fuchsia/sdk/linux/LICENSE.vulkan': _RepositoryFuchsiaSdkLinuxLicenseFile.new,
@@ -1040,12 +1043,9 @@ class _RepositoryDirectory extends _RepositoryEntry implements LicenseSource {
'/third_party/khronos/LICENSE': _RepositoryKhronosLicenseFile.new,
'/third_party/libcxx/LICENSE.TXT': _RepositoryCxxStlDualLicenseFile.new,
'/third_party/libcxxabi/LICENSE.TXT': _RepositoryCxxStlDualLicenseFile.new,
'/third_party/libjpeg-turbo/LICENSE': _RepositoryLibJpegTurboLicenseFile.new,
'/third_party/libjpeg-turbo/README.ijg': _RepositoryReadmeIjgFile.new,
'/third_party/libpng/LICENSE': _RepositoryLibPngLicenseFile.new,
'/third_party/root_certificates/LICENSE': _RepositoryMpl2File.new,
'/third_party/vulkan-deps/vulkan-validation-layers/src/LICENSE.txt': _RepositoryVulkanApacheLicenseFile.new,
'/flutter/third_party/inja/third_party/include/nlohmann/json.hpp': _RepositoryInjaJsonFile.new,
};
_RepositoryFile createFile(fs.IoNode entry) {
@@ -1787,6 +1787,14 @@ class _RepositoryFlutterThirdPartyDirectory extends _RepositoryGenericThirdParty
return entry.name != 'skia' // handled as a virtual directory of the root
&& super.shouldRecurse(entry);
}
@override
_RepositoryDirectory createSubdirectory(fs.Directory entry) {
if (entry.name == 'expat') {
return _RepositoryExpatDirectory(this, entry);
}
return super.createSubdirectory(entry);
}
}
class _RepositoryFuchsiaDirectory extends _RepositoryDirectory {

View File

@@ -30,6 +30,8 @@ final Set<String> skippedPaths = <String>{
r'flutter/prebuilts',
r'flutter/sky/packages/sky_engine/LICENSE',
r'flutter/third_party/benchmark', // only used by tests
r'flutter/third_party/expat/expat/doc',
r'flutter/third_party/expat/expat/win32/expat.iss',
r'flutter/third_party/flatbuffers/android',
r'flutter/third_party/flatbuffers/benchmarks',
r'flutter/third_party/flatbuffers/docs',
@@ -43,7 +45,18 @@ final Set<String> skippedPaths = <String>{
r'flutter/third_party/glfw/docs',
r'flutter/third_party/gn',
r'flutter/third_party/imgui',
r'flutter/third_party/inja/doc', // documentation
r'flutter/third_party/inja/third_party/amalgamate', // only used at build time
r'flutter/third_party/inja/third_party/include/doctest', // seems to be a unit test library
r'flutter/third_party/libtess2/Contrib/nanosvg.c', // only used by the ../Example
r'flutter/third_party/libtess2/Contrib/nanosvg.h', // only used by the ../Example
r'flutter/third_party/libtess2/Example',
r'flutter/third_party/libwebp/doc',
r'flutter/third_party/libwebp/gradle', // not included in our build
r'flutter/third_party/libwebp/swig', // not included in our build
r'flutter/third_party/libwebp/webp_js',
r'flutter/third_party/ninja', // build system
r'flutter/third_party/ocmock', // only used for tests
r'flutter/third_party/pkg/archive', // contains nothing that ends up in the binary executable
r'flutter/third_party/pkg/equatable',
r'flutter/third_party/pkg/flutter_packages',
@@ -53,6 +66,7 @@ final Set<String> skippedPaths = <String>{
r'flutter/third_party/pkg/process',
r'flutter/third_party/pkg/process_runner',
r'flutter/third_party/pkg/vector_math',
r'flutter/third_party/pyyaml', // build-time dependency only
r'flutter/third_party/rapidjson/contrib', // contains nothing that ends up in the binary executable
r'flutter/third_party/rapidjson/doc', // documentation
r'flutter/third_party/shaderc/third_party/LICENSE.glslang', // unclear what the purpose of this file is
@@ -78,6 +92,8 @@ final Set<String> skippedPaths = <String>{
r'flutter/third_party/skia/tools', // contains nothing that ends up in the binary executable
r'flutter/third_party/test_shaders', // for tests only
r'flutter/third_party/txt/third_party/fonts',
r'flutter/third_party/wuffs/docs',
r'flutter/third_party/wuffs/script',
r'flutter/tools',
r'flutter/web_sdk', // this code is not linked into Flutter apps; it's only used by engine tests and tools
r'fuchsia/sdk/linux/docs',
@@ -127,10 +143,7 @@ final Set<String> skippedPaths = <String>{
r'third_party/dart/third_party/pkg_tested',
r'third_party/dart/third_party/requirejs', // only used by DDC
r'third_party/dart/tools', // not shipped in binary
r'third_party/expat/expat/doc',
r'third_party/expat/expat/win32/expat.iss',
r'third_party/google_fonts_for_unit_tests', // only used in web unit tests
r'third_party/fontconfig', // not used in standard configurations
r'third_party/freetype2/builds',
r'third_party/freetype2/src/tools',
r'third_party/gradle',
@@ -145,9 +158,6 @@ final Set<String> skippedPaths = <String>{
r'third_party/icu/source/data/brkitr/dictionaries/cjdict.txt', // explicitly handled by ICU license
r'third_party/icu/source/data/brkitr/dictionaries/laodict.txt', // explicitly handled by ICU license
r'third_party/icu/source/data/dtd',
r'flutter/third_party/inja/doc', // documentation
r'flutter/third_party/inja/third_party/amalgamate', // only used at build time
r'flutter/third_party/inja/third_party/include/doctest', // seems to be a unit test library
r'third_party/java', // only used for Android builds
r'third_party/json/docs',
r'third_party/libcxx/benchmarks',
@@ -160,15 +170,7 @@ final Set<String> skippedPaths = <String>{
r'third_party/libpng/powerpc', // not linked in
r'third_party/libpng/projects', // not linked in
r'third_party/libpng/scripts', // not linked in
r'flutter/third_party/libtess2/Contrib/nanosvg.c', // only used by the ../Example
r'flutter/third_party/libtess2/Contrib/nanosvg.h', // only used by the ../Example
r'flutter/third_party/libtess2/Example',
r'third_party/libwebp/doc',
r'third_party/libwebp/gradle', // not included in our build
r'third_party/libwebp/swig', // not included in our build
r'third_party/libwebp/webp_js',
r'third_party/libxml', // dependency of the testing system that we don't actually use
r'third_party/ocmock', // only used for tests
r'third_party/perfetto/debian', // contains nothing that ends up in the binary executable
r'third_party/perfetto/infra', // contains nothing that ends up in the binary executable
r'third_party/perfetto/protos', // contains nothing that ends up in the binary executable
@@ -180,7 +182,6 @@ final Set<String> skippedPaths = <String>{
r'third_party/perfetto/src/traced', // contains nothing that ends up in the binary executable
r'third_party/perfetto/src/tracing', // contains nothing that ends up in the binary executable
r'third_party/protobuf', // build-time dependency only
r'third_party/pyyaml', // build-time dependency only
r'third_party/root_certificates/certdata.pem',
r'third_party/root_certificates/certdata.txt',
r'third_party/stb',
@@ -213,8 +214,6 @@ final Set<String> skippedPaths = <String>{
r'third_party/vulkan_memory_allocator/src',
r'third_party/vulkan_memory_allocator/tools',
r'third_party/web_dependencies/canvaskit', // redundant; covered by Skia dependencies
r'third_party/wuffs/docs',
r'third_party/wuffs/script',
r'third_party/yapf', // only used for code formatting
r'third_party/zlib/contrib/minizip/miniunz.c', // sample file
r'third_party/zlib/contrib/minizip/minizip.c', // sample file