| # Copyright (c) 2013 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. |
| import("//build/config/crypto.gni") |
| import("//testing/test.gni") |
| output_name = "crcrypto" # Avoid colliding with OpenSSL's libcrypto. |
| "secure_hash_openssl.cc", |
| "//base/third_party/dynamic_annotations", |
| "//third_party/boringssl", |
| deps += [ "//third_party/android_tools:cpu_features" ] |
| # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| defines = [ "CRYPTO_IMPLEMENTATION" ] |
| # TODO(GYP): Make this link on win as well. |
| test("crypto_unittests") { |
| "secure_hash_unittest.cc", |
| "//base/test:run_all_unittests", |
| "//base/test:test_support", |
| "//third_party/boringssl", |
| "//base:base_java_unittest_support", |