├── .gitignore ├── LICENSE ├── OWNERS ├── PRESUBMIT.py ├── README ├── README.codereview ├── README.gclient ├── README.git-cl ├── README.testing ├── WATCHLISTS ├── apply_issue ├── apply_issue.bat ├── apply_issue.py ├── bootstrap ├── gclient.bat └── win │ ├── README.google │ ├── get_file.js │ ├── pylint.new.bat │ ├── python.new.bat │ ├── python275.new.bat │ ├── svn.new.bat │ ├── svnversion.new.bat │ ├── unzip.js │ └── win_tools.bat ├── breakpad.py ├── cbuildbot ├── checkout.py ├── chrome-update-create-task.bat ├── chrome-update.bat ├── chrome-update.py ├── chrome_set_ver ├── codereview.settings ├── commit_queue.py ├── cpplint.bat ├── cpplint.py ├── cpplint_chromium.py ├── create-chromium-git-src ├── create-ntfs-junction.c ├── create-ntfs-junction.exe ├── cros ├── cros_sdk ├── crup-runner.sh ├── download_from_google_storage ├── download_from_google_storage.bat ├── download_from_google_storage.py ├── drover ├── drover.bat ├── drover.py ├── fetch ├── fetch.bat ├── fetch.py ├── fix_encoding.py ├── gcl ├── gcl.bat ├── gcl.py ├── gclient ├── gclient.bat ├── gclient.py ├── gclient_scm.py ├── gclient_utils.py ├── gerrit_util.py ├── git-cl ├── git-cl-upload-hook ├── git-crsync ├── git-crup ├── git-gs ├── git-lkgr ├── git-runhooks ├── git-templates ├── description ├── hooks │ ├── applypatch-msg │ ├── post-applypatch │ ├── post-checkout │ ├── post-commit │ ├── post-merge │ ├── post-update │ ├── pre-applypatch │ ├── pre-auto-gc │ ├── pre-commit │ ├── pre-rebase │ └── prepare-commit-msg └── info │ └── exclude ├── git-try ├── git_cl.py ├── git_try.py ├── git_utils └── git-tree-prune ├── hammer ├── hammer.bat ├── my_activity.py ├── my_reviews.py ├── ninja ├── ninja-linux32 ├── ninja-linux64 ├── ninja-mac ├── ninja.exe ├── owners.py ├── owners_finder.py ├── patch.py ├── presubmit_canned_checks.py ├── presubmit_support.py ├── profile.xml ├── pylint ├── pylint.py ├── pylintrc ├── recipes ├── android.py ├── blink.py ├── chromium.py ├── ios.py └── recipe_util.py ├── repo ├── rietveld.py ├── scm.py ├── subcommand.py ├── subprocess2.py ├── support └── chromite_wrapper ├── testing_support ├── __init__.py ├── auto_stub.py ├── fake_repos.py ├── filesystem_mock.py ├── gerrit-init.sh ├── gerrit_test_case.py ├── local_rietveld.py ├── patches_data.py ├── super_mox.py └── trial_dir.py ├── tests ├── abandon.sh ├── basic.sh ├── breakpad_unittest.py ├── checkout_test.py ├── download_from_google_storage_unittests.py ├── fix_encoding_test.py ├── gcl_unittest.py ├── gclient_scm_test.py ├── gclient_smoketest.py ├── gclient_test.py ├── gclient_utils_test.py ├── git_cl_test.py ├── gstools │ ├── download_test_data │ │ ├── rootfolder_text.txt │ │ ├── rootfolder_text.txt.sha1 │ │ ├── subfolder │ │ │ ├── subfolder_text.txt │ │ │ └── subfolder_text.txt.sha1 │ │ └── uploaded_lorem_ipsum.txt.sha1 │ ├── lorem_ipsum.txt │ ├── lorem_ipsum.txt.md5 │ └── lorem_ipsum2.txt ├── hooks.sh ├── owners.sh ├── owners_finder_test.py ├── owners_unittest.py ├── patch.sh ├── patch_test.py ├── post-dcommit-hook-test.sh ├── presubmit_unittest.py ├── push-basic.sh ├── push-from-logs.sh ├── rename.sh ├── rietveld_test.py ├── sample_pre_commit_hook ├── save-description-on-failure.sh ├── scm_unittest.py ├── submit-from-new-dir.sh ├── submodule-merge-test.sh ├── subprocess2_test.py ├── subversion_config │ └── config ├── test-lib.sh ├── trychange_unittest.py ├── upload-local-tracking-branch.sh ├── upload-stale.sh ├── upload_to_google_storage_unittests.py ├── upstream.sh └── watchlists_unittest.py ├── third_party ├── __init__.py ├── boto │ ├── LICENSE │ ├── README.chromium │ ├── README.rst │ ├── __init__.py │ ├── auth.py │ ├── auth_handler.py │ ├── cacerts │ │ ├── __init__.py │ │ └── cacerts.txt │ ├── compat.py │ ├── connection.py │ ├── contrib │ │ ├── __init__.py │ │ └── ymlmessage.py │ ├── core │ │ ├── README │ │ ├── __init__.py │ │ ├── auth.py │ │ ├── credentials.py │ │ ├── dictresponse.py │ │ └── service.py │ ├── datapipeline │ │ ├── __init__.py │ │ ├── exceptions.py │ │ └── layer1.py │ ├── ecs │ │ ├── __init__.py │ │ └── item.py │ ├── exception.py │ ├── file │ │ ├── README │ │ ├── __init__.py │ │ ├── bucket.py │ │ ├── connection.py │ │ ├── key.py │ │ └── simpleresultset.py │ ├── fps │ │ ├── __init__.py │ │ ├── connection.py │ │ ├── exception.py │ │ └── response.py │ ├── gs │ │ ├── __init__.py │ │ ├── acl.py │ │ ├── bucket.py │ │ ├── bucketlistresultset.py │ │ ├── connection.py │ │ ├── cors.py │ │ ├── key.py │ │ ├── resumable_upload_handler.py │ │ └── user.py │ ├── handler.py │ ├── https_connection.py │ ├── jsonresponse.py │ ├── manage │ │ ├── __init__.py │ │ ├── cmdshell.py │ │ ├── propget.py │ │ ├── server.py │ │ ├── task.py │ │ ├── test_manage.py │ │ └── volume.py │ ├── mashups │ │ ├── __init__.py │ │ ├── interactive.py │ │ ├── iobject.py │ │ ├── order.py │ │ └── server.py │ ├── plugin.py │ ├── provider.py │ ├── pyami │ │ ├── __init__.py │ │ ├── bootstrap.py │ │ ├── config.py │ │ ├── copybot.cfg │ │ ├── copybot.py │ │ ├── helloworld.py │ │ ├── launch_ami.py │ │ ├── scriptbase.py │ │ └── startup.py │ ├── regioninfo.py │ ├── resultset.py │ ├── roboto │ │ ├── __init__.py │ │ ├── awsqueryrequest.py │ │ ├── awsqueryservice.py │ │ └── param.py │ ├── s3 │ │ ├── __init__.py │ │ ├── acl.py │ │ ├── bucket.py │ │ ├── bucketlistresultset.py │ │ ├── bucketlogging.py │ │ ├── connection.py │ │ ├── cors.py │ │ ├── deletemarker.py │ │ ├── key.py │ │ ├── keyfile.py │ │ ├── lifecycle.py │ │ ├── multidelete.py │ │ ├── multipart.py │ │ ├── prefix.py │ │ ├── resumable_download_handler.py │ │ ├── tagging.py │ │ ├── user.py │ │ └── website.py │ ├── services │ │ ├── __init__.py │ │ ├── bs.py │ │ ├── message.py │ │ ├── result.py │ │ ├── service.py │ │ ├── servicedef.py │ │ ├── sonofmmm.cfg │ │ ├── sonofmmm.py │ │ └── submit.py │ ├── ses │ │ ├── __init__.py │ │ ├── connection.py │ │ └── exceptions.py │ ├── storage_uri.py │ ├── sts │ │ ├── __init__.py │ │ ├── connection.py │ │ └── credentials.py │ └── utils.py ├── colorama │ ├── LICENSE.txt │ ├── README.chromium │ ├── README.txt │ ├── __init__.py │ ├── ansi.py │ ├── ansitowin32.py │ ├── initialise.py │ ├── win32.py │ └── winterm.py ├── fancy_urllib │ ├── README │ └── __init__.py ├── gsutil │ ├── CHECKSUM │ ├── COPYING │ ├── LICENSE.third_party │ ├── MANIFEST.in │ ├── README │ ├── README.chromium │ ├── README.pkg │ ├── ReleaseNotes.txt │ ├── VERSION │ ├── gslib │ │ ├── README │ │ ├── __init__.py │ │ ├── addlhelp │ │ │ ├── __init__.py │ │ │ ├── acls.py │ │ │ ├── anon.py │ │ │ ├── command_opts.py │ │ │ ├── dev.py │ │ │ ├── metadata.py │ │ │ ├── naming.py │ │ │ ├── prod.py │ │ │ ├── projects.py │ │ │ ├── subdirs.py │ │ │ ├── support.py │ │ │ ├── versioning.py │ │ │ └── wildcards.py │ │ ├── bucket_listing_ref.py │ │ ├── command.py │ │ ├── command_runner.py │ │ ├── commands │ │ │ ├── __init__.py │ │ │ ├── cat.py │ │ │ ├── chacl.py │ │ │ ├── config.py │ │ │ ├── cp.py │ │ │ ├── disablelogging.py │ │ │ ├── enablelogging.py │ │ │ ├── getacl.py │ │ │ ├── getcors.py │ │ │ ├── getdefacl.py │ │ │ ├── getlogging.py │ │ │ ├── getversioning.py │ │ │ ├── getwebcfg.py │ │ │ ├── help.py │ │ │ ├── ls.py │ │ │ ├── mb.py │ │ │ ├── mv.py │ │ │ ├── perfdiag.py │ │ │ ├── rb.py │ │ │ ├── rm.py │ │ │ ├── setacl.py │ │ │ ├── setcors.py │ │ │ ├── setdefacl.py │ │ │ ├── setmeta.py │ │ │ ├── setversioning.py │ │ │ ├── setwebcfg.py │ │ │ ├── update.py │ │ │ └── version.py │ │ ├── exception.py │ │ ├── help_provider.py │ │ ├── name_expansion.py │ │ ├── no_op_auth_plugin.py │ │ ├── plurality_checkable_iterator.py │ │ ├── project_id.py │ │ ├── storage_uri_builder.py │ │ ├── thread_pool.py │ │ ├── util.py │ │ └── wildcard_iterator.py │ ├── gsutil │ ├── gsutil.spec.in │ ├── oauth2_plugin │ │ ├── __init__.py │ │ ├── oauth2_client.py │ │ ├── oauth2_client_test.py │ │ ├── oauth2_helper.py │ │ └── oauth2_plugin.py │ └── pkg_util.py ├── logilab │ ├── README.chromium │ ├── __init__.py │ ├── astng │ │ ├── LICENSE.txt │ │ ├── README.chromium │ │ ├── __init__.py │ │ ├── __pkginfo__.py │ │ ├── as_string.py │ │ ├── bases.py │ │ ├── builder.py │ │ ├── exceptions.py │ │ ├── inference.py │ │ ├── inspector.py │ │ ├── manager.py │ │ ├── mixins.py │ │ ├── node_classes.py │ │ ├── nodes.py │ │ ├── protocols.py │ │ ├── raw_building.py │ │ ├── rebuilder.py │ │ ├── scoped_nodes.py │ │ └── utils.py │ └── common │ │ ├── LICENSE.txt │ │ ├── README.chromium │ │ ├── __init__.py │ │ ├── __pkginfo__.py │ │ ├── cache.py │ │ ├── changelog.py │ │ ├── clcommands.py │ │ ├── cli.py │ │ ├── compat.py │ │ ├── configuration.py │ │ ├── contexts.py │ │ ├── corbautils.py │ │ ├── daemon.py │ │ ├── date.py │ │ ├── dbf.py │ │ ├── debugger.py │ │ ├── decorators.py │ │ ├── deprecation.py │ │ ├── fileutils.py │ │ ├── graph.py │ │ ├── hg.py │ │ ├── interface.py │ │ ├── logging_ext.py │ │ ├── modutils.py │ │ ├── optik_ext.py │ │ ├── optparser.py │ │ ├── pdf_ext.py │ │ ├── proc.py │ │ ├── pyro_ext.py │ │ ├── pytest.py │ │ ├── shellutils.py │ │ ├── sphinx_ext.py │ │ ├── sphinxutils.py │ │ ├── table.py │ │ ├── tasksqueue.py │ │ ├── testlib.py │ │ ├── textutils.py │ │ ├── tree.py │ │ ├── umessage.py │ │ ├── ureports │ │ ├── __init__.py │ │ ├── docbook_writer.py │ │ ├── html_writer.py │ │ ├── nodes.py │ │ └── text_writer.py │ │ ├── urllib2ext.py │ │ ├── vcgutils.py │ │ ├── visitor.py │ │ ├── xmlrpcutils.py │ │ └── xmlutils.py ├── pylint.py ├── pylint │ ├── LICENSE.txt │ ├── README.chromium │ ├── __init__.py │ ├── __pkginfo__.py │ ├── checkers │ │ ├── __init__.py │ │ ├── base.py │ │ ├── classes.py │ │ ├── design_analysis.py │ │ ├── exceptions.py │ │ ├── format.py │ │ ├── imports.py │ │ ├── logging.py │ │ ├── misc.py │ │ ├── newstyle.py │ │ ├── raw_metrics.py │ │ ├── similar.py │ │ ├── string_format.py │ │ ├── typecheck.py │ │ ├── utils.py │ │ └── variables.py │ ├── config.py │ ├── epylint.py │ ├── gui.py │ ├── interfaces.py │ ├── lint.py │ ├── pyreverse │ │ ├── __init__.py │ │ ├── diadefslib.py │ │ ├── diagrams.py │ │ ├── main.py │ │ ├── utils.py │ │ └── writer.py │ ├── reporters │ │ ├── __init__.py │ │ ├── guireporter.py │ │ ├── html.py │ │ └── text.py │ └── utils.py ├── pymox │ ├── COPYING │ ├── MANIFEST.in │ ├── README │ ├── __init__.py │ ├── mox.py │ ├── mox_test.py │ ├── mox_test_helper.py │ ├── setup.py │ ├── stubout.py │ ├── stubout_test.py │ └── stubout_testee.py ├── repo │ ├── COPYING │ ├── README.chromium │ ├── __init__.py │ └── progress.py ├── retry_decorator │ ├── LICENSE.google │ ├── __init__.py │ └── decorators.py ├── simplejson │ ├── LICENSE.txt │ ├── PKG-INFO │ ├── __init__.py │ ├── decoder.py │ ├── encoder.py │ ├── ordered_dict.py │ ├── scanner.py │ └── tool.py └── upload.py ├── trychange.py ├── update_depot_tools ├── update_depot_tools.bat ├── upload_to_google_storage.py ├── watchlists.py ├── weekly ├── wtf └── zsh-goodies ├── README └── _gclient /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore any python bytecode. 2 | *.pyc 3 | 4 | # Ignore the batch files produced by the Windows bootstrapping. 5 | /git.bat 6 | /gitk.bat 7 | /pylint.bat 8 | /python 9 | /python.bat 10 | /ssh.bat 11 | /ssh-keygen.bat 12 | /svn 13 | /svn.bat 14 | /svnversion.bat 15 | /.codereview_upload_cookies 16 | /.gitconfig 17 | /.git_cl_description_backup 18 | /.last_codereview_email_address 19 | /.ssh 20 | /.subversion 21 | 22 | # Ignore locations where third-party tools are placed during bootstrapping. 23 | /python_bin 24 | /python275_bin 25 | /git_bin 26 | /git-1.8.0_bin 27 | /svn_bin 28 | 29 | # Ignore ctags/cscope index files 30 | /TAGS 31 | /cscope.files 32 | /cscope.in.out 33 | /cscope.out 34 | /cscope.po.out 35 | /tags 36 | 37 | # Ignore unittest related files. 38 | /testing_support/_rietveld 39 | /tests/git-svn-submodule/ 40 | /tests/subversion_config/README.txt 41 | /tests/subversion_config/auth 42 | /tests/subversion_config/servers 43 | /tests/svn/ 44 | /tests/svnrepo/ 45 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009 The Chromium Authors. All rights reserved. 2 | // 3 | // Redistribution and use in source and binary forms, with or without 4 | // modification, are permitted provided that the following conditions are 5 | // met: 6 | // 7 | // * Redistributions of source code must retain the above copyright 8 | // notice, this list of conditions and the following disclaimer. 9 | // * Redistributions in binary form must reproduce the above 10 | // copyright notice, this list of conditions and the following disclaimer 11 | // in the documentation and/or other materials provided with the 12 | // distribution. 13 | // * Neither the name of Google Inc. nor the names of its 14 | // contributors may be used to endorse or promote products derived from 15 | // this software without specific prior written permission. 16 | // 17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- 1 | set noparent 2 | bradnelson@google.com 3 | cmp@chromium.org 4 | dpranke@chromium.org 5 | iannucci@chromium.org 6 | jochen@chromium.org 7 | maruel@chromium.org 8 | maruel@google.com 9 | petermayo@chromium.org 10 | rogerta@chromium.org 11 | stip@chromium.org 12 | szager@chromium.org 13 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | This package contains tools for working with Chromium development. 2 | 3 | The "gclient" wrapper knows how to keep this repository updated to 4 | the latest versions of these tools as found at: 5 | 6 | http://src.chromium.org/svn/trunk/tools/depot_tools 7 | 8 | This package contains: 9 | 10 | chrome-update-create-task.bat 11 | Creates a scheduled task to do an automatic local chromium build every day. 12 | 13 | cpplint.py 14 | A copy of our linting tool which enforces Google style. Fetched from 15 | http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py 16 | 17 | gcl 18 | A tool for uploading and managing code reviews on the Chromium 19 | project, using the Rietveld code review tool. More info at: 20 | http://code.google.com/p/rietveld/ 21 | 22 | gclient 23 | A script for managing a workspace with modular dependencies that 24 | are each checked out independently from different repositories. 25 | More info at: 26 | http://code.google.com/p/gclient/ 27 | 28 | hammer 29 | A wrapper script for building Chromium with the SCons software 30 | construction tool. More info at: 31 | http://www.scons.org/ 32 | 33 | Note: svn and python will be installed automatically if not accessible (on 34 | Windows only). 35 | 36 | To update this distribution manually, run .\update_depot_tools.bat on Windows, 37 | or ./update_depot_tools on Linux or Mac. 38 | 39 | To disable automatic updating, set the environment variable DEPOT_TOOLS_UPDATE=0 40 | -------------------------------------------------------------------------------- /README.git-cl: -------------------------------------------------------------------------------- 1 | # git-cl -- a git-command for integrating reviews on Rietveld 2 | # Copyright (C) 2008 Evan Martin 3 | 4 | == Background 5 | Rietveld, also known as http://codereview.appspot.com, is a nice tool 6 | for code reviews. You upload a patch (and some other data) and it lets 7 | others comment on your patch. 8 | 9 | For more on how this all works conceptually, please see README.codereview. 10 | The remainder of this document is the nuts and bolts of using git-cl. 11 | 12 | == Install 13 | Copy (symlink) it into your path somewhere, along with Rietveld 14 | upload.py. 15 | 16 | == Setup 17 | Run this from your git checkout and answer some questions: 18 | $ git cl config 19 | 20 | == How to use it 21 | Make a new branch. Write some code. Commit it locally. Send it for 22 | review: 23 | $ git cl upload 24 | By default, it diffs against whatever branch the current branch is 25 | tracking (see "git checkout --track"). An optional last argument is 26 | passed to "git diff", allowing reviews against other heads. 27 | 28 | You'll be asked some questions, and the review issue number will be 29 | associated with your current git branch, so subsequent calls to upload 30 | will update that review rather than making a new one. 31 | 32 | == git-svn integration 33 | Review looks good? Commit the code: 34 | $ git cl dcommit 35 | This does a git-svn dcommit, with a twist: all changes in the diff 36 | will be squashed into a single commit, and the description of the commit 37 | is taken directly from the Rietveld description. This command also accepts 38 | arguments to "git diff", much like upload. 39 | Try "git cl dcommit --help" for more options. 40 | 41 | == Extra commands 42 | Print some status info: 43 | $ git cl status 44 | 45 | Edit the issue association on the current branch: 46 | $ git cl issue 1234 47 | 48 | Patch in a review: 49 | $ git cl patch 50 | Try "git cl patch --help" for more options. 51 | 52 | vim: tw=72 : 53 | -------------------------------------------------------------------------------- /README.testing: -------------------------------------------------------------------------------- 1 | Most of the tests require a local Rietveld server. 2 | 3 | To set this up: 4 | Method 1: Let the presubmit script do the work for you. 5 | $ git cl presubmit 6 | 7 | Method 2: Manual. 8 | 1) Check out a copy of Rietveld: 9 | $ svn checkout http://rietveld.googlecode.com/svn/trunk/ rietveld 10 | (Use git-svn if you must, but man is it slow.) 11 | 2) Get the Google App Engine SDK: 12 | http://code.google.com/appengine/downloads.html 13 | 3) To run Rietveld you will need Django 1.0, which is not included 14 | with the App Engine SDK. Go to http://www.djangoproject.com/download , 15 | download a Django from the 1.0 series (it's in the sidebar on the right), 16 | untar it, then 17 | $ export PYTHONPATH=`pwd`/Django-1.0.4 18 | 4) Run Rietveld: 19 | $ /path/to/appengine/sdk/dev_appserver.py /path/to/rietveld 20 | (If using one of the App Engine launchers, be sure to use port 8080 21 | for this project.) 22 | 23 | And then, finally, run the tests. 24 | -------------------------------------------------------------------------------- /WATCHLISTS: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 | # Use of this source code is governed by a BSD-style license that can be 3 | # found in the LICENSE file. 4 | 5 | # Watchlist Rules 6 | # Refer: http://dev.chromium.org/developers/contributing-code/watchlists 7 | 8 | { 9 | 10 | 'WATCHLIST_DEFINITIONS': { 11 | 'this_file': { 12 | 'filepath': '^WATCHLISTS$', 13 | }, 14 | 'depot_tools': { 15 | 'filepath': '.+', 16 | }, 17 | }, 18 | 19 | 'WATCHLISTS': { 20 | 'this_file': ['nirnimesh@chromium.org'], 21 | 'depot_tools': ['maruel@chromium.org', 'dpranke@chromium.org', 22 | 'cmp-cc@chromium.org', 'iannucci+depot_tools@chromium.org', 23 | 'ilevy-cc@chromium.org'], 24 | }, 25 | 26 | } 27 | -------------------------------------------------------------------------------- /apply_issue: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 | # Use of this source code is governed by a BSD-style license that can be 4 | # found in the LICENSE file. 5 | 6 | base_dir=$(dirname "$0") 7 | 8 | PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/apply_issue.py" "$@" 9 | -------------------------------------------------------------------------------- /apply_issue.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | :: Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 | :: Use of this source code is governed by a BSD-style license that can be 4 | :: found in the LICENSE file. 5 | 6 | :: This is required with cygwin only. 7 | PATH=%~dp0;%PATH% 8 | 9 | :: Defer control. 10 | %~dp0python "%~dp0\apply_issue.py" %* 11 | -------------------------------------------------------------------------------- /bootstrap/gclient.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | :: Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 | :: Use of this source code is governed by a BSD-style license that can be 4 | :: found in the LICENSE file. 5 | 6 | :: IMPORTANT NOTE: 7 | :: The bootstrap flow has been removed. This file's only purpose is to make the 8 | :: transition smooth as the previous update script called bootstrap\gclient.bat 9 | :: The current flow took place on March 21, 2012. This file should be removed 10 | :: when it is believed everyone has updated since then. 11 | 12 | :: At this point we know %DEPOT_TOOLS_UPDATE% != 0 as in the previous script 13 | :: bootstrap\gclient.bat was only called if this was the case. 14 | 15 | :: Update the root directory. The previous version only supported svn so there 16 | :: is no need looking for git here (i.e. if someone has git they can't get to 17 | :: this point where the bootstrap dir is gone during the update anyways...) 18 | IF NOT EXIST "%~dp0..\.svn\." GOTO :EOF 19 | call svn up -q "%~dp0.." 20 | 21 | :: Call the updated gclient.bat in the root directory to wrap the update. 22 | call "%~dp0..\gclient.bat" 23 | -------------------------------------------------------------------------------- /bootstrap/win/README.google: -------------------------------------------------------------------------------- 1 | Including the following third parties: 2 | 3 | 7zip version 4.65 4 | 7za.exe is a free software distributed under the GNU LGPL. 5 | Read license.txt for more information. 6 | 7 | Source code of 7za.exe and 7-Zip can be found at 8 | http://www.7-zip.org/ 9 | 10 | Note: packed with UPX to reduce code size. 11 | 12 | 13 | wget 1.11.4 from http://www.gnu.org/software/wget/ 14 | 15 | Note: local compile without openssl support to reduce code size. 16 | Note: packed with UPX to reduce code size. 17 | -------------------------------------------------------------------------------- /bootstrap/win/pylint.new.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | :: Copyright (c) 2013 The Chromium Authors. All rights reserved. 3 | :: Use of this source code is governed by a BSD-style license that can be 4 | :: found in the LICENSE file. 5 | 6 | setlocal 7 | call python "%~dp0pylint.py" %* 8 | -------------------------------------------------------------------------------- /bootstrap/win/python.new.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | :: Copyright (c) 2013 The Chromium Authors. All rights reserved. 3 | :: Use of this source code is governed by a BSD-style license that can be 4 | :: found in the LICENSE file. 5 | 6 | setlocal 7 | set PATH=%~dp0python_bin;%PATH% 8 | "%~dp0python_bin\python.exe" %* 9 | -------------------------------------------------------------------------------- /bootstrap/win/python275.new.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | :: Copyright 2013 The Chromium Authors. All rights reserved. 3 | :: Use of this source code is governed by a BSD-style license that can be 4 | :: found in the LICENSE file. 5 | 6 | setlocal 7 | set PATH=%~dp0python275_bin;%~dp0python275_bin\Scripts;%PATH% 8 | "%~dp0python275_bin\python.exe" %* 9 | -------------------------------------------------------------------------------- /bootstrap/win/svn.new.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | set PATH=%~dp0svn_bin;%PATH% 4 | "%~dp0svn_bin\svn.exe" %* 5 | -------------------------------------------------------------------------------- /bootstrap/win/svnversion.new.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | set PATH=%~dp0svn_bin;%PATH% 4 | "%~dp0svn_bin\svnversion.exe" %* 5 | -------------------------------------------------------------------------------- /cbuildbot: -------------------------------------------------------------------------------- 1 | support/chromite_wrapper -------------------------------------------------------------------------------- /chrome-update-create-task.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | :: Copyright (c) 2009 The Chromium Authors. All rights reserved. 3 | :: Use of this source code is governed by a BSD-style license that can be 4 | :: found in the LICENSE file. 5 | 6 | setlocal 7 | 8 | :: This script will create a scheduled task to run chrome-update every day 9 | :: at the time you specify. This script expects to be live in 10 | :: depot_tools\latest. 11 | :: 12 | :: Usage: this-script