mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
Roll chromium_revision 260824:262938 + fix binutils. Since it's not possible to have platform-specific hooks executing, binutils must be downloaded for all platforms in order for the download.py hook to execute properly on non-unix platforms.
BUG=323 TESTED=gclient sync R=tpsiaki@google.com Review URL: https://webrtc-codereview.appspot.com/11869004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1000 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
c8970f1861
commit
05c4c71509
16
DEPS
16
DEPS
@ -14,7 +14,7 @@ vars = {
|
|||||||
"chromium_trunk" : "http://src.chromium.org/svn/trunk",
|
"chromium_trunk" : "http://src.chromium.org/svn/trunk",
|
||||||
# chrome://version/ for revision of canary Chrome.
|
# chrome://version/ for revision of canary Chrome.
|
||||||
# http://chromium-status.appspot.com/lkgr is a last known good revision.
|
# http://chromium-status.appspot.com/lkgr is a last known good revision.
|
||||||
"chromium_revision": "260824",
|
"chromium_revision": "262938",
|
||||||
}
|
}
|
||||||
|
|
||||||
# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
|
# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
|
||||||
@ -58,6 +58,9 @@ deps = {
|
|||||||
"tools/win/supalink":
|
"tools/win/supalink":
|
||||||
Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
|
Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
|
||||||
|
|
||||||
|
"third_party/binutils":
|
||||||
|
Var("chromium_trunk") + "/src/third_party/binutils@" + Var("chromium_revision"),
|
||||||
|
|
||||||
"third_party/libjpeg_turbo":
|
"third_party/libjpeg_turbo":
|
||||||
From("chromium_deps", "src/third_party/libjpeg_turbo"),
|
From("chromium_deps", "src/third_party/libjpeg_turbo"),
|
||||||
|
|
||||||
@ -84,10 +87,6 @@ deps_os = {
|
|||||||
"tools/find_depot_tools":
|
"tools/find_depot_tools":
|
||||||
File(Var("chromium_trunk") + "/src/tools/find_depot_tools.py@" + Var("chromium_revision")),
|
File(Var("chromium_trunk") + "/src/tools/find_depot_tools.py@" + Var("chromium_revision")),
|
||||||
},
|
},
|
||||||
"unix": {
|
|
||||||
"third_party/binutils":
|
|
||||||
From("chromium_deps", "src/third_party/binutils@" + Var("chromium_revision")),
|
|
||||||
},
|
|
||||||
"android": {
|
"android": {
|
||||||
"third_party/android_tools":
|
"third_party/android_tools":
|
||||||
From("chromium_deps", "src/third_party/android_tools"),
|
From("chromium_deps", "src/third_party/android_tools"),
|
||||||
@ -174,6 +173,13 @@ hooks = [
|
|||||||
"action": ["python", Var("root_dir") + "/tools/clang/scripts/update.py",
|
"action": ["python", Var("root_dir") + "/tools/clang/scripts/update.py",
|
||||||
"--if-needed"],
|
"--if-needed"],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
# Update the Windows toolchain if necessary.
|
||||||
|
"name": "win_toolchain",
|
||||||
|
"pattern": ".",
|
||||||
|
"action": ["python", Var("root_dir") + "/download_vs_toolchain.py",
|
||||||
|
"update"],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
# Pull binutils for gold.
|
# Pull binutils for gold.
|
||||||
"name": "binutils",
|
"name": "binutils",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: http://code.google.com/p/libyuv/
|
URL: http://code.google.com/p/libyuv/
|
||||||
Version: 999
|
Version: 1000
|
||||||
License: BSD
|
License: BSD
|
||||||
License File: LICENSE
|
License File: LICENSE
|
||||||
|
|
||||||
|
|||||||
29
download_vs_toolchain.py
Normal file
29
download_vs_toolchain.py
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
#
|
||||||
|
# Copyright 2014 The LibYuv Project Authors. All rights reserved.
|
||||||
|
#
|
||||||
|
# Use of this source code is governed by a BSD-style license
|
||||||
|
# that can be found in the LICENSE file in the root of the source
|
||||||
|
# tree. An additional intellectual property rights grant can be found
|
||||||
|
# in the file PATENTS. All contributing project authors may
|
||||||
|
# be found in the AUTHORS file in the root of the source tree.
|
||||||
|
|
||||||
|
# This script is used to run the vs_toolchain.py script to download the
|
||||||
|
# Visual Studio toolchain. It's just a temporary measure while waiting for the
|
||||||
|
# Chrome team to move find_depot_tools into src/build to get rid of these
|
||||||
|
# workarounds (similar one in gyp_libyuv).
|
||||||
|
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
checkout_root = os.path.dirname(os.path.realpath(__file__))
|
||||||
|
sys.path.insert(0, os.path.join(checkout_root, 'build'))
|
||||||
|
sys.path.insert(0, os.path.join(checkout_root, 'tools', 'find_depot_tools'))
|
||||||
|
|
||||||
|
|
||||||
|
import vs_toolchain
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
sys.exit(vs_toolchain.main())
|
||||||
@ -50,7 +50,7 @@ if __name__ == '__main__':
|
|||||||
if not os.environ.get('GYP_GENERATORS'):
|
if not os.environ.get('GYP_GENERATORS'):
|
||||||
os.environ['GYP_GENERATORS'] = 'ninja'
|
os.environ['GYP_GENERATORS'] = 'ninja'
|
||||||
|
|
||||||
vs2013_runtime_dll_dirs = vs_toolchain.DownloadVsToolchain()
|
vs2013_runtime_dll_dirs = vs_toolchain.SetEnvironmentAndGetRuntimeDllDirs()
|
||||||
|
|
||||||
# Enforce gyp syntax checking. This adds about 20% execution time.
|
# Enforce gyp syntax checking. This adds about 20% execution time.
|
||||||
args.append('--check')
|
args.append('--check')
|
||||||
|
|||||||
@ -11,6 +11,6 @@
|
|||||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||||
#define INCLUDE_LIBYUV_VERSION_H_
|
#define INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|
||||||
#define LIBYUV_VERSION 999
|
#define LIBYUV_VERSION 1000
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user