Bug 1175934 part 2: Add blob free build configs.
authorWander Lairson Costa <wcosta@mozilla.com>
Thu, 02 Jul 2015 18:15:55 -0300 (2015-07-02)
changeset 4225 0e613ece6d9324e5618240c98fbe836cca2cf437
parent 4224 1d9d27ca8b316dd844fe400c8bc374ae51271703
child 4227 f59b5364984e8bfa147b321aa35d2b75b7dca52f
push id3364
push userwcosta@mozilla.com
push dateSun, 05 Jul 2015 21:45:34 +0000 (2015-07-05)
bugs1175934
Bug 1175934 part 2: Add blob free build configs. The buildfree target builds phone images without blobs, allowing them to be freely available.
configs/b2g/taskcluster-phone-blobfree.py
configs/b2g/taskcluster-spark-blobfree.py
new file mode 100644
--- /dev/null
+++ b/configs/b2g/taskcluster-phone-blobfree.py
@@ -0,0 +1,31 @@
+#!/usr/bin/env python
+config = {
+    "default_vcs": "tc-vcs",
+    "default_actions": [
+        'checkout-sources',
+        'build',
+        'build-symbols',
+        'prep-upload'
+    ],
+    "upload": {
+        "default": {
+            "upload_dep_target_exclusions": []
+        }
+    },
+    "env": {
+        "GAIA_OPTIMIZE": "1",
+        "WGET_OPTS": "-c -q"
+    },
+    "build_targets": ["blobfree"],
+    "is_automation": True,
+    "repo_remote_mappings": {
+        'https://android.googlesource.com/': 'https://git.mozilla.org/external/aosp',
+        'git://codeaurora.org/': 'https://git.mozilla.org/external/caf',
+        'https://git.mozilla.org/b2g': 'https://git.mozilla.org/b2g',
+        'git://github.com/mozilla-b2g/': 'https://git.mozilla.org/b2g',
+        'git://github.com/mozilla/': 'https://git.mozilla.org/b2g',
+        'https://git.mozilla.org/releases': 'https://git.mozilla.org/releases',
+        'http://android.git.linaro.org/git-ro/': 'https://git.mozilla.org/external/linaro',
+        'git://github.com/apitrace/': 'https://git.mozilla.org/external/apitrace',
+    },
+}
new file mode 100644
--- /dev/null
+++ b/configs/b2g/taskcluster-spark-blobfree.py
@@ -0,0 +1,36 @@
+#!/usr/bin/env python
+config = {
+    "default_vcs": "tc-vcs",
+    "default_actions": [
+        'checkout-sources',
+        'build',
+        'build-symbols',
+        'prep-upload'
+    ],
+    "upload": {
+        "default": {
+            "upload_dep_target_exclusions": []
+        }
+    },
+    "env": {
+        "GAIA_OPTIMIZE": "1",
+        "WGET_OPTS": "-c -q",
+        "LIGHTSABER": "1",
+        "B2G_PATH": "%(work_dir)s",
+        "BOWER_FLAGS": "--allow-root",
+        "GAIA_DISTRIBUTION_DIR": "%(work_dir)s/gaia/distros/spark",
+        "WGET_OPTS": "-c -q",
+    },
+    "is_automation": True,
+    "build_targets": ["blobfree"],
+    "repo_remote_mappings": {
+        'https://android.googlesource.com/': 'https://git.mozilla.org/external/aosp',
+        'git://codeaurora.org/': 'https://git.mozilla.org/external/caf',
+        'https://git.mozilla.org/b2g': 'https://git.mozilla.org/b2g',
+        'git://github.com/mozilla-b2g/': 'https://git.mozilla.org/b2g',
+        'git://github.com/mozilla/': 'https://git.mozilla.org/b2g',
+        'https://git.mozilla.org/releases': 'https://git.mozilla.org/releases',
+        'http://android.git.linaro.org/git-ro/': 'https://git.mozilla.org/external/linaro',
+        'git://github.com/apitrace/': 'https://git.mozilla.org/external/apitrace',
+    },
+}