blob: c677a6464d0019a65b9d2c30ab72d27d9a746a3b [file] [log] [blame]
# 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.
from util import download_package_util
def check_and_perform_updates(cache_base_path, cache_history_size):
download_package_util.BasicCachedPackage(
'src/build/DEPS.naclports-python',
'out/naclports-python',
cache_base_path=cache_base_path,
cache_history_size=cache_history_size,
download_method=download_package_util.gsutil_download_url()
).check_and_perform_update()
download_package_util.BasicCachedPackage(
'src/build/DEPS.polymer-elements',
'out/polymer-elements',
cache_base_path=cache_base_path,
cache_history_size=cache_history_size
).check_and_perform_update()