<reponame>Wzzzx/chromium-crosswalk<gh_stars>1-10
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'webcrypto',
      'type': 'static_library',
      'dependencies': [
        '../../base/base.gyp:base',
        '../../crypto/crypto.gyp:crypto',
        '../../third_party/boringssl/boringssl.gyp:boringssl',
        '../../third_party/WebKit/public/blink.gyp:blink',
      ],
      'include_dirs': [
        '..',
      ],
      'sources': [
        'algorithm_dispatch.cc',
        'algorithm_dispatch.h',
        'algorithm_implementation.cc',
        'algorithm_implementation.h',
        'algorithm_implementations.h',
        'algorithm_registry.cc',
        'algorithm_registry.h',
        'algorithms/aes.cc',
        'algorithms/aes.h',
        'algorithms/aes_cbc.cc',
        'algorithms/aes_ctr.cc',
        'algorithms/aes_gcm.cc',
        'algorithms/aes_kw.cc',
        'algorithms/asymmetric_key_util.cc',
        'algorithms/asymmetric_key_util.h',
        'algorithms/ec.cc',
        'algorithms/ec.h',
        'algorithms/ecdh.cc',
        'algorithms/ecdsa.cc',
        'algorithms/hkdf.cc',
        'algorithms/hmac.cc',
        'algorithms/pbkdf2.cc',
        'algorithms/rsa.cc',
        'algorithms/rsa.h',
        'algorithms/rsa_oaep.cc',
        'algorithms/rsa_pss.cc',
        'algorithms/rsa_sign.cc',
        'algorithms/rsa_sign.h',
        'algorithms/rsa_ssa.cc',
        'algorithms/secret_key_util.cc',
        'algorithms/secret_key_util.h',
        'algorithms/sha.cc',
        'algorithms/util.cc',
        'algorithms/util.h',
        'blink_key_handle.cc',
        'blink_key_handle.h',
        'crypto_data.cc',
        'crypto_data.h',
        'generate_key_result.cc',
        'generate_key_result.h',
        'jwk.cc',
        'jwk.h',
        'status.cc',
        'status.h',
        'webcrypto_impl.cc',
        'webcrypto_impl.h',
      ],
    },
  ],
}

# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'webcrypto',
      'type': 'static_library',
      'dependencies': [
        '../../base/base.gyp:base',
        '../../crypto/crypto.gyp:crypto',
        '../../third_party/boringssl/boringssl.gyp:boringssl',
        '../../third_party/WebKit/public/blink.gyp:blink',
      ],
      'include_dirs': [
        '..',
      ],
      'sources': [
        'algorithm_dispatch.cc',
        'algorithm_dispatch.h',
        'algorithm_implementation.cc',
        'algorithm_implementation.h',
        'algorithm_implementations.h',
        'algorithm_registry.cc',
        'algorithm_registry.h',
        'algorithms/aes.cc',
        'algorithms/aes.h',
        'algorithms/aes_cbc.cc',
        'algorithms/aes_ctr.cc',
        'algorithms/aes_gcm.cc',
        'algorithms/aes_kw.cc',
        'algorithms/asymmetric_key_util.cc',
        'algorithms/asymmetric_key_util.h',
        'algorithms/ec.cc',
        'algorithms/ec.h',
        'algorithms/ecdh.cc',
        'algorithms/ecdsa.cc',
        'algorithms/hkdf.cc',
        'algorithms/hmac.cc',
        'algorithms/pbkdf2.cc',
        'algorithms/rsa.cc',
        'algorithms/rsa.h',
        'algorithms/rsa_oaep.cc',
        'algorithms/rsa_pss.cc',
        'algorithms/rsa_sign.cc',
        'algorithms/rsa_sign.h',
        'algorithms/rsa_ssa.cc',
        'algorithms/secret_key_util.cc',
        'algorithms/secret_key_util.h',
        'algorithms/sha.cc',
        'algorithms/util.cc',
        'algorithms/util.h',
        'blink_key_handle.cc',
        'blink_key_handle.h',
        'crypto_data.cc',
        'crypto_data.h',
        'generate_key_result.cc',
        'generate_key_result.h',
        'jwk.cc',
        'jwk.h',
        'status.cc',
        'status.h',
        'webcrypto_impl.cc',
        'webcrypto_impl.h',
      ],
    },
  ],
}
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file.