Skip to content

Commit

Permalink
Get ./mach build --magicleap --debugmozjs to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Jeffrey committed May 6, 2019
1 parent 5d7f238 commit 8100832
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions python/servo/build_commands.py
Expand Up @@ -212,11 +212,6 @@ def build(self, target=None, release=False, dev=False, jobs=None,
print("Please specify either --target or --android.")
sys.exit(1)

# https://github.com/servo/servo/issues/22069
if debug_mozjs and magicleap:
print("Please specify either --debug-mozjs or --magicleap.")
sys.exit(1)

if android:
target = self.config["android"]["target"]

Expand Down Expand Up @@ -576,6 +571,7 @@ def build(self, target=None, release=False, dev=False, jobs=None,
env.setdefault("HARFBUZZ_SYS_NO_PKG_CONFIG", "1")
env.setdefault("PKG_CONFIG_ALLOW_CROSS", "1")
env.setdefault("CMAKE_TOOLCHAIN_FILE", path.join(ml_support, "toolchain.cmake"))
env.setdefault("_LIBCPP_INLINE_VISIBILITY", "__attribute__((__always_inline__))")

# The Open SSL configuration
env.setdefault("OPENSSL_DIR", path.join(target_path, target, "native", "openssl"))
Expand Down

0 comments on commit 8100832

Please sign in to comment.