mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1683797: Removes redundant path parsing r=sheehan,firefox-build-system-reviewers,glandium
We already know the project name, we should unbundle it from the project path. This change is possible due to the work in 1664083, and puts us back to the state before 1255185. Differential Revision: https://phabricator.services.mozilla.com/D106293
This commit is contained in:
parent
3ff2d684e9
commit
5c911478fd
@ -1137,12 +1137,9 @@ def include_project_configure(project, build_env, help):
|
||||
return path
|
||||
|
||||
|
||||
@depends(include_project_configure, check_build_environment)
|
||||
def build_project(include_project_configure, build_env):
|
||||
ret = os.path.dirname(
|
||||
os.path.relpath(include_project_configure, build_env.topsrcdir)
|
||||
)
|
||||
return ret
|
||||
@depends("--enable-project")
|
||||
def build_project(project):
|
||||
return project[0]
|
||||
|
||||
|
||||
set_config("MOZ_BUILD_APP", build_project)
|
||||
|
Loading…
Reference in New Issue
Block a user