OLD | NEW |
1 // Copyright 2014 The Chromium OS Authors. All rights reserved. | 1 // Copyright 2014 The Chromium OS Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 'use strict'; | 5 'use strict'; |
6 | 6 |
7 /** | 7 /** |
8 * Namespace with build configuration options. | 8 * Namespace with build configuration options. |
9 * @type {Object} | 9 * @type {Object} |
10 */ | 10 */ |
11 var buildConfig = { | 11 var buildConfig = { |
12 /** | 12 /** |
13 * The path to the module's configuration file, which should be a .nmf file. | 13 * The path to the module's configuration file, which should be a .nmf file. |
14 * For NaCl use 'newlib/[Release|Debug]/module.nmf' and for PNaCl use | 14 * For NaCl use 'newlib/[Release|Debug]/module.nmf' and for PNaCl use |
15 * 'pnacl/[Release|Debug]/module.nmf'. Defaults to PNaCl. | 15 * 'pnacl/[Release|Debug]/module.nmf'. Defaults to PNaCl. |
16 * @type {string} | 16 * @type {string} |
17 */ | 17 */ |
18 BUILD_MODULE_PATH: 'pnacl/Debug/module.nmf', | 18 BUILD_MODULE_PATH: 'pnacl/Debug/module.nmf', |
19 | 19 |
20 /** | 20 /** |
21 * The mime type of the NaCl executable. For NaCl use 'application/x-nacl' | 21 * The mime type of the NaCl executable. For NaCl use 'application/x-nacl' |
22 * and for PNaCl use 'application/x-pnacl'. Defaults to PNaCl. | 22 * and for PNaCl use 'application/x-pnacl'. Defaults to PNaCl. |
23 * @type {string} | 23 * @type {string} |
24 */ | 24 */ |
25 BUILD_MODULE_TYPE: 'application/x-pnacl' | 25 BUILD_MODULE_TYPE: 'application/x-pnacl' |
26 }; | 26 }; |
OLD | NEW |