Skip to content
This repository was archived by the owner on Apr 17, 2019. It is now read-only.

Commit 3ea0acb

Browse files
author
Max Waterman
committed
Moving common parts of crosswalk targets into options
1 parent 10bf7c2 commit 3ea0acb

File tree

1 file changed

+5
-35
lines changed

1 file changed

+5
-35
lines changed

Gruntfile.js

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ module.exports = function (grunt) {
1616
chromeInfo: grunt.file.readJSON('platforms/chrome-crx/manifest.json'),
1717

1818
crosswalk: {
19-
shared: {
20-
"outDir": 'build',
19+
options: {
20+
outDir: 'build',
2121
verbose: false,
2222
version: '<%= packageInfo.version %>',
2323
name: '<%= packageInfo.name %>',
@@ -27,45 +27,15 @@ module.exports = function (grunt) {
2727
remoteDebugging: true,
2828
appRoot: 'build/xpk',
2929
appLocalPath: 'index.html',
30-
embedded: false
31-
//androidSDKDir: '/opt/android-sdk-linux/',
32-
//xwalkAndroidDir: process.env.HOME+'/Downloads/crosswalk-3.32.53.4-arm'
33-
//arch: 'arm',
34-
//androidAPIVersion: "18.0.1"
30+
},
31+
shared: {
32+
// no arch for shared
3533
},
3634
arm: {
37-
"outDir": 'build',
38-
verbose: false,
39-
version: '<%= packageInfo.version %>',
40-
name: '<%= packageInfo.name %>',
41-
pkg: 'org.org01.webapps.<%= packageInfo.name.toLowerCase() %>',
42-
icon: 'icon_128.png',
43-
fullscreen: true,
44-
remoteDebugging: true,
45-
appRoot: 'build/xpk',
46-
appLocalPath: 'index.html',
47-
//embedded: true,
48-
//androidSDKDir: '/opt/android-sdk-linux/',
49-
//xwalkAndroidDir: process.env.HOME+'/Downloads/crosswalk-3.32.53.4-arm'
5035
arch: 'arm',
51-
//androidAPIVersion: "18.0.1"
5236
},
5337
x86: {
54-
"outDir": 'build',
55-
verbose: false,
56-
version: '<%= packageInfo.version %>',
57-
name: '<%= packageInfo.name %>',
58-
pkg: 'org.org01.webapps.<%= packageInfo.name.toLowerCase() %>',
59-
icon: 'icon_128.png',
60-
fullscreen: true,
61-
remoteDebugging: true,
62-
appRoot: 'build/xpk',
63-
appLocalPath: 'index.html',
64-
//embedded: true,
65-
//androidSDKDir: '/opt/android-sdk-linux/',
66-
//xwalkAndroidDir: process.env.HOME+'/Downloads/crosswalk-3.32.53.4-x86'
6738
arch: 'x86',
68-
//androidAPIVersion: "18.0.1"
6939
}
7040
},
7141

0 commit comments

Comments
 (0)