2014-03-18 22:57:32 +00:00
|
|
|
# Copyright 2014 Google Inc. All rights reserved.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style
|
|
|
|
# license that can be found in the LICENSE file or at
|
|
|
|
# https://developers.google.com/open-source/licenses/bsd
|
|
|
|
#
|
|
|
|
# Packager dependencies.
|
|
|
|
|
|
|
|
vars = {
|
2015-07-22 23:36:07 +00:00
|
|
|
"chromium_git": "https://chromium.googlesource.com",
|
2014-03-18 22:57:32 +00:00
|
|
|
"chromium_svn": "http://src.chromium.org/chrome/trunk",
|
2015-07-22 23:36:07 +00:00
|
|
|
"chromium_rev": "275581",
|
2014-03-18 22:57:32 +00:00
|
|
|
|
2014-06-17 16:15:33 +00:00
|
|
|
"curl_url": "https://github.com/bagder/curl.git",
|
|
|
|
"curl_rev": "curl-7_37_0",
|
2014-03-18 22:57:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
deps = {
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/base":
|
2015-07-22 23:36:07 +00:00
|
|
|
Var("chromium_git") + "/chromium/src/base@d24f251a44cd0304e56406d843644b79138c584b", #339798
|
2014-03-18 22:57:32 +00:00
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/build":
|
2015-07-22 23:36:07 +00:00
|
|
|
Var("chromium_git") + "/chromium/src/build@8316b2d4d47438a9eed3e89d2ba5dd625e8c8aef", #339877
|
|
|
|
|
|
|
|
'src/packager/buildtools':
|
|
|
|
Var("chromium_git") + '/chromium/buildtools.git@5fc8d3943e163ee627c8af50366c700c0325bba2',
|
2014-03-18 22:40:49 +00:00
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/testing":
|
2014-03-18 22:57:32 +00:00
|
|
|
Var("chromium_svn") + "/src/testing@" + Var("chromium_rev"),
|
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/testing/gmock":
|
2015-07-22 23:36:07 +00:00
|
|
|
Var("chromium_git") + "/external/googlemock@29763965ab52f24565299976b936d1265cb6a271", #501
|
2014-03-18 22:57:32 +00:00
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/testing/gtest":
|
2015-07-22 23:36:07 +00:00
|
|
|
Var("chromium_git") + "/external/googletest@00a70a9667d92a4695d84e4fa36b64f611f147da", #725
|
2014-03-18 22:57:32 +00:00
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/third_party/curl/source":
|
2014-06-17 16:15:33 +00:00
|
|
|
Var("curl_url") + "@" + Var("curl_rev"),
|
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/third_party/gflags":
|
2015-07-24 18:24:54 +00:00
|
|
|
Var("chromium_git") + "/external/webrtc/trunk/third_party/gflags@cc7e9a4b374ff7b6a1cae4d76161113ea985b624",
|
2014-03-18 22:57:32 +00:00
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/third_party/gflags/src":
|
2015-07-24 18:24:54 +00:00
|
|
|
Var("chromium_git") + "/external/gflags/src@e7390f9185c75f8d902c05ed7d20bb94eb914d0c", #82
|
2014-03-18 22:57:32 +00:00
|
|
|
|
|
|
|
# Required by libxml.
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/third_party/icu":
|
2015-07-22 23:36:07 +00:00
|
|
|
Var("chromium_git") + "/chromium/third_party/icu46@78597121d71a5922f5726e715c6ad06c50ae6cdc",
|
2014-03-18 22:57:32 +00:00
|
|
|
|
|
|
|
# Required by base/message_pump_libevent.cc.
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/third_party/libevent":
|
2014-03-18 22:57:32 +00:00
|
|
|
Var("chromium_svn") + "/src/third_party/libevent@" + Var("chromium_rev"),
|
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/third_party/libxml":
|
2014-03-18 22:57:32 +00:00
|
|
|
Var("chromium_svn") + "/src/third_party/libxml@" + Var("chromium_rev"),
|
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/third_party/modp_b64":
|
2015-07-22 23:36:07 +00:00
|
|
|
Var("chromium_git") + "/chromium/src/third_party/modp_b64@3a0e3b4ef6c54678a2d14522533df56b33b56119",
|
2014-03-18 22:57:32 +00:00
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/third_party/openssl":
|
2014-03-18 22:57:32 +00:00
|
|
|
Var("chromium_svn") + "/deps/third_party/openssl@" + Var("chromium_rev"),
|
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/third_party/protobuf":
|
2014-03-18 22:57:32 +00:00
|
|
|
Var("chromium_svn") + "/src/third_party/protobuf@" + Var("chromium_rev"),
|
|
|
|
|
2015-03-12 16:29:53 +00:00
|
|
|
# Required by build/linux/system.gyp and third_party/curl/curl.gyp.
|
|
|
|
"src/packager/third_party/zlib":
|
2015-07-22 23:36:07 +00:00
|
|
|
Var("chromium_git") + "/chromium/src/third_party/zlib@bcf81d2e5f3a62b698d179c1fadba94604c5dad3",
|
2015-03-12 16:29:53 +00:00
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/tools/clang":
|
2015-07-22 23:36:07 +00:00
|
|
|
Var("chromium_git") + "/chromium/src/tools/clang@0de8f3bb6af64e13876273c601704795d5e00faf",
|
2014-03-18 22:57:32 +00:00
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/tools/gyp":
|
2015-07-22 23:36:07 +00:00
|
|
|
Var("chromium_git") + "/external/gyp@5122240c5e5c4d8da12c543d82b03d6089eb77c5",
|
2014-03-18 22:57:32 +00:00
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/tools/protoc_wrapper":
|
2014-03-18 22:57:32 +00:00
|
|
|
Var("chromium_svn") + "/src/tools/protoc_wrapper@" + Var("chromium_rev"),
|
|
|
|
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/tools/valgrind":
|
2015-07-22 23:36:07 +00:00
|
|
|
Var("chromium_git") + "/chromium/deps/valgrind@3a97aa8142b6e63f16789b22daafb42d202f91dc",
|
2014-03-18 22:57:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
deps_os = {
|
|
|
|
"unix": { # Linux, actually.
|
|
|
|
# Linux gold build to build faster.
|
2014-10-01 20:44:41 +00:00
|
|
|
"src/packager/third_party/gold":
|
2015-07-22 23:36:07 +00:00
|
|
|
Var("chromium_git") + "/chromium/deps/gold@29ae7431b4688df544ea840b0b66784e5dd298fe",
|
2014-03-18 22:57:32 +00:00
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
hooks = [
|
2014-06-27 21:51:49 +00:00
|
|
|
{
|
2015-07-22 23:36:07 +00:00
|
|
|
# Pull clang if needed or requested via GYP_DEFINES (GYP_DEFINES="clang=1").
|
|
|
|
# Note: On Win, this should run after win_toolchain, as it may use it.
|
2014-06-27 21:51:49 +00:00
|
|
|
"name": "clang",
|
|
|
|
"pattern": ".",
|
2015-07-22 23:36:07 +00:00
|
|
|
"action": ["python", "src/packager/tools/clang/scripts/update.py", "--if-needed"],
|
2014-06-27 21:51:49 +00:00
|
|
|
},
|
2014-03-18 22:57:32 +00:00
|
|
|
{
|
|
|
|
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
|
|
|
|
"pattern": ".",
|
2014-10-01 20:44:41 +00:00
|
|
|
"action": ["python", "src/gyp_packager.py", "--depth=src/packager"],
|
2014-03-18 22:57:32 +00:00
|
|
|
},
|
|
|
|
]
|