Home | History | Annotate | Download | only in boringssl
      1 # Copyright 2014 The Chromium Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 {
      5   'includes': [
      6     '../../native_client/build/untrusted.gypi',
      7   ],
      8   'targets': [
      9     {
     10       'target_name': 'boringssl_nacl',
     11       'type': 'none',
     12       'variables': {
     13         'nlib_target': 'libboringssl_nacl.a',
     14         'build_glibc': 0,
     15         'build_newlib': 0,
     16         'build_pnacl_newlib': 1,
     17       },
     18       'dependencies': [
     19         '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
     20         '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted',
     21       ],
     22       'includes': [
     23         # Include the auto-generated gypi file.
     24         'boringssl.gypi'
     25       ],
     26       'sources': [
     27         '<@(boringssl_lib_sources)',
     28       ],
     29       'defines': [
     30         'OPENSSL_NO_ASM',
     31       ],
     32       'include_dirs': [
     33         'src/include',
     34         # This is for arm_arch.h, which is needed by some asm files. Since the
     35         # asm files are generated and kept in a different directory, they
     36         # cannot use relative paths to find this file.
     37         'src/crypto',
     38       ],
     39       'direct_dependent_settings': {
     40         'include_dirs': [
     41           'src/include',
     42         ],
     43       },
     44       'pnacl_compile_flags': [
     45         '-Wno-sometimes-uninitialized',
     46         '-Wno-unused-variable',
     47       ],
     48     },  # target boringssl_nacl
     49   ],
     50 }
     51