From 2c460df082d475d7d77abdfd8e1addf01fd2612a Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Wed, 3 Feb 2016 10:45:28 +0000 Subject: [PATCH] depot_tools: add more hacks to properly find build_internal I acknowledge this is really gross. This allows us to roll the changes into build_limited in the short term. Longer term, paths could be passed from outside. BUG=582074 Review URL: https://codereview.chromium.org/1665753002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298550 0039d316-1c4b-4281-b951-d872f2087c98 --- recipe_modules/bot_update/resources/bot_update.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/recipe_modules/bot_update/resources/bot_update.py b/recipe_modules/bot_update/resources/bot_update.py index c63e2bffd6..724010fc2b 100755 --- a/recipe_modules/bot_update/resources/bot_update.py +++ b/recipe_modules/bot_update/resources/bot_update.py @@ -55,6 +55,18 @@ SCRIPTS_DIR = check_dir( 'scripts', [ path.dirname(THIS_DIR), path.join(SLAVE_DIR, '..', 'scripts'), + path.join(THIS_DIR, # resources + '..', # bot_update + '..', # recipe_modules + '..', # depot_tools + '..', # .recipe_deps + '..', # slave + '..', # scripts + '..', # build_internal + '..', # ROOT_DIR + 'build', + 'scripts'), + path.join(SLAVE_DIR, '..', 'build', 'scripts'), ], default=path.dirname(THIS_DIR)) BUILD_DIR = path.dirname(SCRIPTS_DIR) ROOT_DIR = path.dirname(BUILD_DIR)