Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: components/components_tests.gyp

Issue 1077273002: html_viewer: Move webcrypto to a place where html_viewer can use it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/BUILD.gn ('k') | components/test/data/webcrypto/aes_cbc.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/components_tests.gyp
diff --git a/components/components_tests.gyp b/components/components_tests.gyp
index 55029d9d275fa28f6c654f29c71ba6d196c199a2..fd200bf6066eca1a4f96e02eb7905a795d286fe5 100644
--- a/components/components_tests.gyp
+++ b/components/components_tests.gyp
@@ -546,6 +546,22 @@
'web_resource/eula_accepted_notifier_unittest.cc',
'web_resource/resource_request_allowed_notifier_unittest.cc',
],
+ 'webcrypto_unittest_sources': [
+ 'webcrypto/test/aes_cbc_unittest.cc',
+ 'webcrypto/test/aes_ctr_unittest.cc',
+ 'webcrypto/test/aes_gcm_unittest.cc',
+ 'webcrypto/test/aes_kw_unittest.cc',
+ 'webcrypto/test/ecdh_unittest.cc',
+ 'webcrypto/test/ecdsa_unittest.cc',
+ 'webcrypto/test/hmac_unittest.cc',
+ 'webcrypto/test/rsa_oaep_unittest.cc',
+ 'webcrypto/test/rsa_pss_unittest.cc',
+ 'webcrypto/test/rsa_ssa_unittest.cc',
+ 'webcrypto/test/sha_unittest.cc',
+ 'webcrypto/test/status_unittest.cc',
+ 'webcrypto/test/test_helpers.cc',
+ 'webcrypto/test/test_helpers.h',
+ ],
'webdata_unittest_sources': [
'webdata/common/web_database_migration_unittest.cc',
],
@@ -791,6 +807,7 @@
'<@(ui_unittest_sources)',
'<@(visitedlink_unittest_sources)',
'<@(web_cache_unittest_sources)',
+ '<@(webcrypto_unittest_sources)',
'<@(web_modal_unittest_sources)',
],
'dependencies': [
@@ -819,6 +836,33 @@
'components.gyp:web_cache_browser',
'components.gyp:web_modal',
'components.gyp:web_modal_test_support',
+ 'webcrypto/webcrypto.gyp:webcrypto',
+ '../third_party/re2/re2.gyp:re2',
+ ],
+ 'conditions': [
+ ['OS=="android"', {
+ 'dependencies': [
+ '../build/android/ndk.gyp:cpu_features',
+ ],
+ }],
+ ['use_openssl==1', {
+ 'dependencies': [
+ '../third_party/boringssl/boringssl.gyp:boringssl',
+ ],
+ }, {
+ 'conditions': [
+ ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
+ 'dependencies': [
+ '../build/linux/system.gyp:ssl',
+ ],
+ }, {
+ 'dependencies': [
+ '../third_party/nss/nss.gyp:nspr',
+ '../third_party/nss/nss.gyp:nss',
+ ],
+ }],
+ ],
+ }],
],
}, { # 'OS == "ios"'
'sources': [
« no previous file with comments | « components/BUILD.gn ('k') | components/test/data/webcrypto/aes_cbc.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698