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 ], 8 'targets': [ 9 { 10 'target_name': 'dbm', 11 'type': 'static_library', 12 'sources': [ 13 'db.c', 14 'dirent.c', 15 'h_bigkey.c', 16 'h_func.c', 17 'h_log2.c', 18 'h_page.c', 19 'hash.c', 20 'hash_buf.c', 21 'mktemp.c' 22 ], 23 'dependencies': [ 24 '<(DEPTH)/exports.gyp:dbm_exports' 25 ] 26 } 27 ], 28 'target_defaults': { 29 'defines': [ 30 'STDC_HEADERS', 31 'HAVE_STRERROR', 32 'HAVE_SNPRINTF', 33 'MEMMOVE', 34 '__DBINTERFACE_PRIVATE' 35 ] 36 }, 37 'variables': { 38 'module': 'dbm' 39 } 40}