util_gtest.gyp (1188B)
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 '../common/gtest.gypi', 8 ], 9 'targets': [ 10 { 11 'target_name': 'util_gtest', 12 'type': 'executable', 13 'sources': [ 14 'util_aligned_malloc_unittest.cc', 15 'util_b64_unittest.cc', 16 'util_gtests.cc', 17 'util_memcmpzero_unittest.cc', 18 'util_pkcs11uri_unittest.cc', 19 'util_secasn1d_unittest.cc', 20 'util_select_unittest.cc', 21 'util_utf8_unittest.cc', 22 ], 23 'dependencies': [ 24 '<(DEPTH)/exports.gyp:nss_exports', 25 '<(DEPTH)/gtests/google_test/google_test.gyp:gtest', 26 '<(DEPTH)/lib/util/util.gyp:nssutil', 27 ], 28 'conditions': [ 29 [ 'OS=="win"', { 30 'libraries': [ 31 'advapi32.lib', 32 ], 33 }], 34 ], 35 'defines': [ 36 'NSS_USE_STATIC_LIBS' 37 ], 38 } 39 ], 40 'target_defaults': { 41 'include_dirs': [ 42 '../../lib/util' 43 ] 44 }, 45 'variables': { 46 'module': 'nss' 47 } 48 }