diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /security/nss/gtests/google_test/google_test.gyp | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'security/nss/gtests/google_test/google_test.gyp')
-rw-r--r-- | security/nss/gtests/google_test/google_test.gyp | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/security/nss/gtests/google_test/google_test.gyp b/security/nss/gtests/google_test/google_test.gyp new file mode 100644 index 000000000..e309ba25a --- /dev/null +++ b/security/nss/gtests/google_test/google_test.gyp @@ -0,0 +1,59 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +{ + 'includes': [ + '../../coreconf/config.gypi', + '../common/gtest.gypi', + ], + 'targets': [ + { + 'target_name': 'gtest', + 'type': 'static_library', + 'sources': [ + 'gtest/src/gtest-all.cc' + ], + 'dependencies': [ + '<(DEPTH)/lib/nss/nss.gyp:nss3', + '<(DEPTH)/lib/util/util.gyp:nssutil3', + '<(DEPTH)/lib/smime/smime.gyp:smime3', + '<(DEPTH)/lib/ssl/ssl.gyp:ssl3', + '<(DEPTH)/cmd/lib/lib.gyp:sectool' + ] + }, + { + 'target_name': 'gtest1', + 'type': 'shared_library', + 'dependencies': [ + 'gtest' + ], + # Work around a gyp bug. Fixed upstream in gyp: + # https://chromium.googlesource.com/external/gyp/+/93cc6e2c23e4d5ebd179f388e67aa907d0dfd43d + 'conditions': [ + ['OS!="win"', { + 'libraries': [ + '-lstdc++', + ], + }], + ], + # For some reason when just linking static libraries into + # a DLL the link fails without this. + 'msvs_settings': { + 'VCLinkerTool': { + 'AdditionalDependencies': [ + '/DEFAULTLIB:MSVCRT', + ], + }, + }, + } + ], + 'target_defaults': { + 'include_dirs': [ + 'gtest/include/', + 'gtest' + ], + }, + 'variables': { + 'module': 'gtest' + } +} |