diff options
Diffstat (limited to 'lib/liboqs/subdir.gyp.template')
-rw-r--r-- | lib/liboqs/subdir.gyp.template | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/liboqs/subdir.gyp.template b/lib/liboqs/subdir.gyp.template new file mode 100644 index 000000000..a1f895836 --- /dev/null +++ b/lib/liboqs/subdir.gyp.template @@ -0,0 +1,30 @@ +# 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': [ + '<DEPTH>/coreconf/config.gypi' + ], + 'targets': [ + { + 'target_name': '<LIB_NAME>', + 'type': 'static_library', + 'sources': [<SOURCE_FILES> + ], + 'dependencies': [ + '<(DEPTH)/exports.gyp:nss_exports' + ] + } + ], + 'target_defaults': { + 'defines': [<DEFINES> + ], + 'include_dirs': [ + '<(DEPTH)/lib/liboqs/src/common/pqclean_shims', + '<(DEPTH)/lib/liboqs/src/common/sha3/xkcp_low/KeccakP-1600/plain-64bits', + ] + }, + 'variables': { + 'module': 'oqs' + } +} |