Bug 854169 - Build the binary support for Lz4.js. r=glandium
☠☠ backed out by 2d4fd5a493b1 ☠ ☠
authorDavid Rajchenbach-Teller <dteller@mozilla.com>
Mon, 02 Dec 2013 11:34:46 -0500
changeset 173992 224d0d4df43475781091c2d5f7de4adac9ea1a91
parent 173991 1b339f171b0af353ca4f0153f5b0404a46873554
child 173993 c0f9bfe37d744f82b74c5d35edd8b568077570ea
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs854169
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 854169 - Build the binary support for Lz4.js. r=glandium
toolkit/components/moz.build
toolkit/components/workerlz4/moz.build
--- a/toolkit/components/moz.build
+++ b/toolkit/components/moz.build
@@ -38,16 +38,17 @@ PARALLEL_DIRS += [
     'statusfilter',
     'telemetry',
     'thumbnails',
     'typeaheadfind',
     'urlformatter',
     'viewconfig',
     'viewsource',
     'workerloader',
+    'workerlz4',
 ]
 
 if CONFIG['MOZ_SOCIAL']:
     PARALLEL_DIRS += ['social']
 
 if CONFIG['BUILD_CTYPES']:
     PARALLEL_DIRS += ['ctypes']
 
new file mode 100644
--- /dev/null
+++ b/toolkit/components/workerlz4/moz.build
@@ -0,0 +1,22 @@
+# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+JS_MODULES_PATH = 'modules/workers'
+
+EXTRA_JS_MODULES += [
+    'lz4.js',
+    'lz4_internal.js',
+]
+
+SOURCES += [
+    'lz4.cpp',
+]
+
+TEST_DIRS += ['tests']
+XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell/xpcshell.ini']
+
+EXPORT_LIBRARY = True
+FINAL_LIBRARY = 'xul'