mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
Manual changes: * Rewrite sysroot download (similar to https://webrtc-review.googlesource.com/c/50183/) * Do the same as https://webrtc-review.googlesource.com/c/21400/. * Add dep on findbugs for Android. Change log:ff3b31782d..80f0c55706Full diff:ff3b31782d..80f0c55706Changed dependencies: * src/base:9b543d487c..ac3d2b8118* src/build:156ba982d7..39738e75b2* src/buildtools:f6d165d9d8..a09e064635* src/ios:39c4b2fcf7..299ef76e84* src/testing:cc96d3d66b..5f7e36cad6* src/third_party:72c52c224c..2c0ced3ddb* src/third_party/android_tools: https://chromium.googlesource.com/android_tools.git/+log/aadb2fed04..9a70d48fcd * src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/aa736cc76e..e7298f36f7 * src/third_party/googletest/src:7f8fefabed..0062e4869f* src/third_party/icu:08cb956852..d888fd2a1b* src/third_party/robolectric/robolectric:b02c65cc6d..7e067f1112* src/tools:eceb2c420b..6202b67fc4* src/tools/swarming_client:5e8001d9a7..88229872ddDEPS diff:ff3b31782d..80f0c55706/DEPS Clang version changed 313786:324578 Details:ff3b31782d..80f0c55706/tools/clang/scripts/update.py BUG=libyuv:768 Rewrite sysroot download Change-Id: Ie3cb0ba873c6c40877870b655ed299450726eac2 Reviewed-on: https://chromium-review.googlesource.com/918461 Reviewed-by: Frank Barchard <fbarchard@chromium.org> Commit-Queue: Patrik Höglund <phoglund@chromium.org>
359 lines
13 KiB
Python
359 lines
13 KiB
Python
vars = {
|
|
'chromium_git': 'https://chromium.googlesource.com',
|
|
'chromium_revision': '80f0c5570649c35a869429b2ab8c381a0a7246cb',
|
|
'swarming_revision': '88229872dd17e71658fe96763feaa77915d8cbd6',
|
|
# Three lines of non-changing comments so that
|
|
# the commit queue can handle CLs rolling lss
|
|
# and whatever else without interference from each other.
|
|
'lss_revision': 'e6527b0cd469e3ff5764785dadcb39bf7d787154',
|
|
# Three lines of non-changing comments so that
|
|
# the commit queue can handle CLs rolling catapult
|
|
# and whatever else without interference from each other.
|
|
'catapult_revision': 'e7298f36f7912f2caa122086cfbe71734d04b73f',
|
|
}
|
|
|
|
deps = {
|
|
'src/build':
|
|
Var('chromium_git') + '/chromium/src/build' + '@' + '39738e75b27f39d4c0030a0b11d5d2ddd34715f7',
|
|
'src/buildtools':
|
|
Var('chromium_git') + '/chromium/buildtools.git' + '@' + 'a09e064635a49f08e585e3b173d5fbc3dd3f485e',
|
|
'src/testing':
|
|
Var('chromium_git') + '/chromium/src/testing' + '@' + '5f7e36cad6434fd3d65674af96653a23ecc9f694',
|
|
'src/third_party':
|
|
Var('chromium_git') + '/chromium/src/third_party' + '@' + '2c0ced3ddbf84ce1c0759b277d9538da42f23650',
|
|
'src/third_party/catapult':
|
|
Var('chromium_git') + '/catapult.git' + '@' + Var('catapult_revision'),
|
|
'src/third_party/colorama/src':
|
|
Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
|
|
'src/third_party/googletest/src':
|
|
Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '0062e4869f07a3ef235703ddf63af604b712446c',
|
|
'src/third_party/libjpeg_turbo':
|
|
Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + 'a1750dbc79a8792dde3d3f7d7d8ac28ba01ac9dd',
|
|
'src/third_party/yasm/source/patched-yasm':
|
|
Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + 'b98114e18d8b9b84586b10d24353ab8616d4c5fc',
|
|
'src/tools':
|
|
Var('chromium_git') + '/chromium/src/tools' + '@' + '6202b67fc46a9984097caf237e12e3b8f7a9f7da',
|
|
'src/tools/gyp':
|
|
Var('chromium_git') + '/external/gyp.git' + '@' + 'd61a9397e668fa9843c4aa7da9e79460fe590bfb',
|
|
'src/tools/swarming_client':
|
|
Var('chromium_git') + '/infra/luci/client-py.git' + '@' + Var('swarming_revision'),
|
|
|
|
# libyuv-only dependencies (not present in Chromium).
|
|
'src/third_party/gflags':
|
|
Var('chromium_git') + '/external/webrtc/deps/third_party/gflags' + '@' + '892576179b45861b53e04a112996a738309cf364',
|
|
'src/third_party/gflags/src':
|
|
Var('chromium_git') + '/external/github.com/gflags/gflags' + '@' + '03bebcb065c83beff83d50ae025a55a4bf94dfca',
|
|
'src/third_party/gtest-parallel':
|
|
Var('chromium_git') + '/external/webrtc/deps/third_party/gtest-parallel' + '@' + '1dad0e9f6d82ff994130b529d7d814b40eb32b0e',
|
|
|
|
'src/third_party/lss': {
|
|
'url': Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'),
|
|
'condition': 'checkout_android or checkout_linux',
|
|
},
|
|
|
|
# Android deps:
|
|
'src/third_party/auto/src': {
|
|
'url': Var('chromium_git') + '/external/github.com/google/auto.git' + '@' + '8a81a858ae7b78a1aef71ac3905fade0bbd64e82',
|
|
'condition': 'checkout_android',
|
|
},
|
|
'src/third_party/auto/src': {
|
|
'url': Var('chromium_git') + '/external/github.com/google/auto.git' + '@' + '8a81a858ae7b78a1aef71ac3905fade0bbd64e82',
|
|
'condition': 'checkout_android',
|
|
},
|
|
'src/base': {
|
|
'url': Var('chromium_git') + '/chromium/src/base' + '@' + 'ac3d2b81181b085a9952cb83dba748420eefe691',
|
|
'condition': 'checkout_android',
|
|
},
|
|
'src/third_party/android_ndk': {
|
|
'url': Var('chromium_git') + '/android_ndk.git' + '@' + 'e951c37287c7d8cd915bf8d4149fd4a06d808b55',
|
|
'condition': 'checkout_android',
|
|
},
|
|
'src/third_party/android_tools': {
|
|
'url': Var('chromium_git') + '/android_tools.git' + '@' + '9a70d48fcdd68cd0e7e968f342bd767ee6323bd1',
|
|
'condition': 'checkout_android',
|
|
},
|
|
'src/third_party/ced/src': {
|
|
'url': Var('chromium_git') + '/external/github.com/google/compact_enc_det.git' + '@' + '94c367a1fe3a13207f4b22604fcfd1d9f9ddf6d9',
|
|
'condition': 'checkout_android',
|
|
},
|
|
'src/third_party/errorprone/lib': {
|
|
'url': Var('chromium_git') + '/chromium/third_party/errorprone.git' + '@' + 'ecc57c2b00627667874744b9ad8efe10734d97a8',
|
|
'condition': 'checkout_android',
|
|
},
|
|
'src/third_party/findbugs': {
|
|
'url': Var('chromium_git') + '/chromium/deps/findbugs.git' + '@' + '4275d9ac8610db6b1bc9a5e887f97e41b33fac67',
|
|
'condition': 'checkout_android',
|
|
},
|
|
'src/third_party/icu': {
|
|
'url': Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'd888fd2a1be890f4d35e43f68d6d79f42519a357',
|
|
},
|
|
'src/third_party/jsr-305/src': {
|
|
'url': Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
|
|
'condition': 'checkout_android',
|
|
},
|
|
'src/third_party/junit/src': {
|
|
'url': Var('chromium_git') + '/external/junit.git' + '@' + '64155f8a9babcfcf4263cf4d08253a1556e75481',
|
|
'condition': 'checkout_android',
|
|
},
|
|
'src/third_party/mockito/src': {
|
|
'url': Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'de83ad4598ad4cf5ea53c69a8a8053780b04b850',
|
|
'condition': 'checkout_android',
|
|
},
|
|
'src/third_party/requests/src': {
|
|
'url': Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4',
|
|
'condition': 'checkout_android',
|
|
},
|
|
'src/third_party/robolectric/robolectric': {
|
|
'url': Var('chromium_git') + '/external/robolectric.git' + '@' + '7e067f1112e1502caa742f7be72d37b5678d3403',
|
|
'condition': 'checkout_android',
|
|
},
|
|
'src/third_party/ub-uiautomator/lib': {
|
|
'url': Var('chromium_git') + '/chromium/third_party/ub-uiautomator.git' + '@' + '00270549ce3161ae72ceb24712618ea28b4f9434',
|
|
'condition': 'checkout_android',
|
|
},
|
|
|
|
# iOS deps:
|
|
'src/ios': {
|
|
'url': Var('chromium_git') + '/chromium/src/ios' + '@' + '299ef76e844a74a1f2f4ce7f06d101861fb49aba',
|
|
'condition': 'checkout_ios'
|
|
},
|
|
|
|
# Win deps:
|
|
# Dependencies used by libjpeg-turbo
|
|
'src/third_party/yasm/binaries': {
|
|
'url': Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
|
|
'condition': 'checkout_win',
|
|
},
|
|
}
|
|
|
|
# Define rules for which include paths are allowed in our source.
|
|
include_rules = [ '+gflags' ]
|
|
|
|
pre_deps_hooks = [
|
|
{
|
|
# Remove any symlinks from before 177567c518b121731e507e9b9c4049c4dc96e4c8.
|
|
# TODO(kjellander): Remove this in March 2017.
|
|
'name': 'cleanup_links',
|
|
'pattern': '.',
|
|
'action': ['python', 'src/cleanup_links.py'],
|
|
},
|
|
]
|
|
|
|
hooks = [
|
|
{
|
|
# This clobbers when necessary (based on get_landmines.py). It should be
|
|
# an early hook but it will need to be run after syncing Chromium and
|
|
# setting up the links, so the script actually exists.
|
|
'name': 'landmines',
|
|
'pattern': '.',
|
|
'action': [
|
|
'python',
|
|
'src/build/landmines.py',
|
|
'--landmine-scripts',
|
|
'src/tools_libyuv/get_landmines.py',
|
|
'--src-dir',
|
|
'src',
|
|
],
|
|
},
|
|
# Downloads the current stable linux sysroot to build/linux/ if needed.
|
|
{
|
|
'name': 'sysroot_arm',
|
|
'pattern': '.',
|
|
'condition': 'checkout_linux and checkout_arm',
|
|
'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
|
'--arch=arm'],
|
|
},
|
|
{
|
|
'name': 'sysroot_arm64',
|
|
'pattern': '.',
|
|
'condition': 'checkout_linux and checkout_arm64',
|
|
'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
|
'--arch=arm64'],
|
|
},
|
|
{
|
|
'name': 'sysroot_x86',
|
|
'pattern': '.',
|
|
'condition': 'checkout_linux and (checkout_x86 or checkout_x64)',
|
|
'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
|
'--arch=x86'],
|
|
},
|
|
{
|
|
'name': 'sysroot_mips',
|
|
'pattern': '.',
|
|
'condition': 'checkout_linux and checkout_mips',
|
|
'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
|
'--arch=mips'],
|
|
},
|
|
{
|
|
'name': 'sysroot_x64',
|
|
'pattern': '.',
|
|
'condition': 'checkout_linux and checkout_x64',
|
|
'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
|
|
'--arch=x64'],
|
|
},
|
|
{
|
|
# Update the Windows toolchain if necessary.
|
|
'name': 'win_toolchain',
|
|
'pattern': '.',
|
|
'action': ['python', 'src/build/vs_toolchain.py', 'update'],
|
|
},
|
|
# Pull binutils for linux, enabled debug fission for faster linking /
|
|
# debugging when used with clang on Ubuntu Precise.
|
|
# https://code.google.com/p/chromium/issues/detail?id=352046
|
|
{
|
|
'name': 'binutils',
|
|
'pattern': 'src/third_party/binutils',
|
|
'action': [
|
|
'python',
|
|
'src/third_party/binutils/download.py',
|
|
],
|
|
},
|
|
{
|
|
# Pull clang if needed or requested via GYP_DEFINES.
|
|
# Note: On Win, this should run after win_toolchain, as it may use it.
|
|
'name': 'clang',
|
|
'pattern': '.',
|
|
'action': ['python', 'src/tools/clang/scripts/update.py', '--if-needed'],
|
|
},
|
|
{
|
|
# Update LASTCHANGE.
|
|
'name': 'lastchange',
|
|
'pattern': '.',
|
|
'action': ['python', 'src/build/util/lastchange.py',
|
|
'-o', 'src/build/util/LASTCHANGE'],
|
|
},
|
|
# Pull GN binaries.
|
|
{
|
|
'name': 'gn_win',
|
|
'pattern': '.',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=win32',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-gn',
|
|
'-s', 'src/buildtools/win/gn.exe.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'gn_mac',
|
|
'pattern': '.',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=darwin',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-gn',
|
|
'-s', 'src/buildtools/mac/gn.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'gn_linux64',
|
|
'pattern': '.',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=linux*',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-gn',
|
|
'-s', 'src/buildtools/linux64/gn.sha1',
|
|
],
|
|
},
|
|
# Pull clang-format binaries using checked-in hashes.
|
|
{
|
|
'name': 'clang_format_win',
|
|
'pattern': '.',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=win32',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-clang-format',
|
|
'-s', 'src/buildtools/win/clang-format.exe.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'clang_format_mac',
|
|
'pattern': '.',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=darwin',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-clang-format',
|
|
'-s', 'src/buildtools/mac/clang-format.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'clang_format_linux',
|
|
'pattern': '.',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=linux*',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-clang-format',
|
|
'-s', 'src/buildtools/linux64/clang-format.sha1',
|
|
],
|
|
},
|
|
# Pull luci-go binaries (isolate, swarming) using checked-in hashes.
|
|
{
|
|
'name': 'luci-go_win',
|
|
'pattern': '.',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=win32',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-luci',
|
|
'-d', 'src/tools/luci-go/win64',
|
|
],
|
|
},
|
|
{
|
|
'name': 'luci-go_mac',
|
|
'pattern': '.',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=darwin',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-luci',
|
|
'-d', 'src/tools/luci-go/mac64',
|
|
],
|
|
},
|
|
{
|
|
'name': 'luci-go_linux',
|
|
'pattern': '.',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=linux*',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-luci',
|
|
'-d', 'src/tools/luci-go/linux64',
|
|
],
|
|
},
|
|
{
|
|
'name': 'Android CIPD Ensure',
|
|
'pattern': '.',
|
|
'condition': 'checkout_android',
|
|
'action': ['src/build/cipd/cipd_wrapper.py',
|
|
'--chromium-root', 'src',
|
|
'--ensure-file', 'src/build/cipd/android/android.ensure',
|
|
],
|
|
},
|
|
# Android dependencies. Many are downloaded using Google Storage these days.
|
|
# They're copied from https://cs.chromium.org/chromium/src/DEPS for all
|
|
# such dependencies we share with Chromium.
|
|
{
|
|
# This downloads SDK extras and puts them in the
|
|
# third_party/android_tools/sdk/extras directory.
|
|
'name': 'sdkextras',
|
|
'pattern': '.',
|
|
# When adding a new sdk extras package to download, add the package
|
|
# directory and zip file to .gitignore in third_party/android_tools.
|
|
'action': ['python',
|
|
'src/build/android/play_services/update.py',
|
|
'download'
|
|
],
|
|
},
|
|
]
|
|
|
|
recursedeps = [
|
|
# buildtools provides clang_format, libc++, and libc++abi.
|
|
'src/buildtools',
|
|
# android_tools manages the NDK.
|
|
'src/third_party/android_tools',
|
|
]
|