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
parent 81937565
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment