dbtool.gyp (907B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 { 5 'includes': [ 6 '../../coreconf/config.gypi', 7 '../../cmd/platlibs.gypi' 8 ], 9 'targets': [ 10 { 11 'target_name': 'dbtool', 12 'type': 'executable', 13 'sources': [ 14 'dbtool.c', 15 '../../lib/softoken/sdb.c' 16 ], 17 'dependencies': [ 18 '<(DEPTH)/exports.gyp:dbm_exports', 19 '<(DEPTH)/exports.gyp:nss_exports' 20 ], 21 'conditions': [ 22 [ 'use_system_sqlite==1', { 23 'dependencies': [ 24 '<(DEPTH)/lib/sqlite/sqlite.gyp:sqlite3', 25 ], 26 }, { 27 'dependencies': [ 28 '<(DEPTH)/lib/sqlite/sqlite.gyp:sqlite', 29 ], 30 }], 31 ] } 32 ], 33 'variables': { 34 'module': 'nss' 35 } 36 }