cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject [05/12] cordova-amazon-fireos git commit: CB-8204: Reinstate link tasks to avoid gradle build failures
Date Fri, 16 Jan 2015 21:32:49 GMT
CB-8204: Reinstate link tasks to avoid gradle build failures


Project: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/commit/92dbea70
Tree: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/tree/92dbea70
Diff: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/diff/92dbea70

Branch: refs/heads/master
Commit: 92dbea709e84d71c373c4291ae3857ae53c51db4
Parents: 623efcf
Author: Ian Clelland <iclelland@chromium.org>
Authored: Mon Dec 22 13:24:08 2014 -0500
Committer: Ajitha <ajithas@amazon.com>
Committed: Mon Jan 5 05:54:12 2015 +0000

----------------------------------------------------------------------
 bin/templates/cordova/lib/build.js | 23 -----------------------
 1 file changed, 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/blob/92dbea70/bin/templates/cordova/lib/build.js
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/lib/build.js b/bin/templates/cordova/lib/build.js
index 4223570..86b5e66 100644
--- a/bin/templates/cordova/lib/build.js
+++ b/bin/templates/cordova/lib/build.js
@@ -175,25 +175,6 @@ var builders = {
     },
     gradle: {
         getArgs: function(cmd, arch) {
-            var lintSteps;
-            if (process.env['BUILD_MULTIPLE_APKS']) {
-                lintSteps = [
-                    'lint',
-                    'lintVitalX86Release',
-                    'lintVitalArmv7Release',
-                    'compileLint',
-                    'copyReleaseLint',
-                    'copyDebugLint'
-                ];
-            } else {
-                lintSteps = [
-                    'lint',
-                    'lintVitalRelease',
-                    'compileLint',
-                    'copyReleaseLint',
-                    'copyDebugLint'
-                ];
-            }
             if (arch == 'arm' && cmd == 'debug') {
                 cmd = 'assembleArmv7Debug';
             } else if (arch == 'arm' && cmd == 'release') {
@@ -210,10 +191,6 @@ var builders = {
             var args = [cmd, '-b', path.join(ROOT, 'build.gradle')];
             // 10 seconds -> 6 seconds
             args.push('-Dorg.gradle.daemon=true');
-            // Excluding lint: 6s-> 1.6s
-            for (var i = 0; i < lintSteps.length; ++i) {
-                args.push('-x', lintSteps[i]);
-            }
             // Shaves another 100ms, but produces a "try at own risk" warning. Not worth
it (yet):
             // args.push('-Dorg.gradle.parallel=true');
             return args;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message