diff options
Diffstat (limited to 'chromium/chrome/browser/nearby_sharing/certificates')
-rw-r--r-- | chromium/chrome/browser/nearby_sharing/certificates/BUILD.gn | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/chromium/chrome/browser/nearby_sharing/certificates/BUILD.gn b/chromium/chrome/browser/nearby_sharing/certificates/BUILD.gn new file mode 100644 index 00000000000..0ecdcfb35f9 --- /dev/null +++ b/chromium/chrome/browser/nearby_sharing/certificates/BUILD.gn @@ -0,0 +1,61 @@ +# Copyright (c) 2020 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. + +source_set("certificates") { + sources = [ + "common.cc", + "common.h", + "constants.cc", + "constants.h", + "nearby_share_decrypted_public_certificate.cc", + "nearby_share_decrypted_public_certificate.h", + "nearby_share_encrypted_metadata_key.cc", + "nearby_share_encrypted_metadata_key.h", + "nearby_share_private_certificate.cc", + "nearby_share_private_certificate.h", + "nearby_share_visibility.h", + ] + + deps = [ + "//base", + "//chrome/browser/nearby_sharing/proto", + "//crypto", + ] +} + +source_set("test_support") { + testonly = true + + sources = [ + "test_util.cc", + "test_util.h", + ] + + deps = [ + ":certificates", + "//base", + "//chrome/browser/nearby_sharing/proto", + "//crypto", + ] +} + +source_set("unit_tests") { + testonly = true + + sources = [ + "common_unittest.cc", + "nearby_share_decrypted_public_certificate_unittest.cc", + "nearby_share_private_certificate_unittest.cc", + ] + + deps = [ + ":certificates", + ":test_support", + "//base", + "//base/test:test_support", + "//chrome/browser/nearby_sharing/proto", + "//crypto", + "//testing/gtest", + ] +} |