mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +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
|
return path
|
||||||
|
|
||||||
|
|
||||||
@depends(include_project_configure, check_build_environment)
|
@depends("--enable-project")
|
||||||
def build_project(include_project_configure, build_env):
|
def build_project(project):
|
||||||
ret = os.path.dirname(
|
return project[0]
|
||||||
os.path.relpath(include_project_configure, build_env.topsrcdir)
|
|
||||||
)
|
|
||||||
return ret
|
|
||||||
|
|
||||||
|
|
||||||
set_config("MOZ_BUILD_APP", build_project)
|
set_config("MOZ_BUILD_APP", build_project)
|
||||||
|
Loading…
Reference in New Issue
Block a user