summaryrefslogtreecommitdiff
path: root/build/moz.configure/init.configure
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2021-10-26 16:46:27 -0400
committerMoonchild <moonchild@palemoon.org>2022-04-01 17:33:23 +0200
commit4a7af0d90fd6521047fb57c37be455b1e8887e79 (patch)
tree148486650ecac3dfd74c7da2d68714c86aa46dd8 /build/moz.configure/init.configure
parent0f52679d2e0445503869382943076d7733b56522 (diff)
downloaduxp-4a7af0d90fd6521047fb57c37be455b1e8887e79.tar.gz
Issue #1835 - Part 2: Remove config and most mentions of XULRunner
Resolves #1835
Diffstat (limited to 'build/moz.configure/init.configure')
-rw-r--r--build/moz.configure/init.configure6
1 files changed, 2 insertions, 4 deletions
diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure
index 5a1f9a8c94..8f275aee01 100644
--- a/build/moz.configure/init.configure
+++ b/build/moz.configure/init.configure
@@ -583,9 +583,7 @@ imply_option('--enable-project', application)
@depends(check_build_environment, '--help')
def default_project(build_env, help):
- if build_env.topobjdir.endswith('/js/src'):
- return 'js'
- return 'application/xulrunner'
+ return 'js'
option('--enable-project', nargs=1, default=default_project,
help='Project to build')
@@ -631,7 +629,7 @@ def build_project(project, external_source_dir, build_env, help):
build_app = project[0]
- if not external_source_dir and build_app not in ('xulrunner', 'js'):
+ if not external_source_dir and build_app not in ('js'):
die('Cannot find project %s', build_app)
build_app_abspath = os.path.join(base_dir, build_app)