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

Unified Diff: net/net.gyp

Issue 11571059: Add net/android/keystore.h (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add DSA + ECDSA test keys and signing tests Created 7 years, 11 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
« net/android/keystore_unittest.cc ('K') | « net/base/ssl_client_cert_type_list.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/net.gyp
diff --git a/net/net.gyp b/net/net.gyp
index 15e6c14879d52a2e916cf625512d73277b53fc35..3aa8d4c816aa79c788feb34b0030261f1eb24960 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -56,6 +56,10 @@
'net_resources',
],
'sources': [
+ 'android/keystore.cc',
+ 'android/keystore.h',
+ 'android/keystore_openssl.cc',
+ 'android/keystore_openssl.h',
Ryan Sleevi 2013/01/26 01:51:57 Why is a custom keystore needed? It's Android, it'
digit1 2013/01/28 10:16:30 It's not a custom keystore, it's separation of con
'android/gurl_utils.cc',
'android/gurl_utils.h',
'android/net_jni_registrar.cc',
@@ -1300,6 +1304,7 @@
'net_test_support',
],
'sources': [
+ 'android/keystore_unittest.cc',
'android/network_change_notifier_android_unittest.cc',
'base/address_list_unittest.cc',
'base/address_tracker_linux_unittest.cc',
@@ -1605,6 +1610,13 @@
# sense.
'dns/dns_config_service_posix_unittest.cc',
],
+ 'dependencies': [
+ 'net_javatests',
+ 'net_test_jni_headers',
+ ],
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)/net',
Ryan Sleevi 2013/01/26 01:51:57 Why do you need to include this directly? It shoul
digit1 2013/01/28 10:16:30 This is needed to include "net/jni_AndroidKeyStore
+ ],
}],
[ 'use_glib == 1', {
'dependencies': [
@@ -2315,6 +2327,7 @@
'target_name': 'net_jni_headers',
'type': 'none',
'sources': [
+ 'android/java/src/org/chromium/net/AndroidKeyStore.java',
'android/java/src/org/chromium/net/AndroidNetworkLibrary.java',
'android/java/src/org/chromium/net/GURLUtils.java',
'android/java/src/org/chromium/net/NetworkChangeNotifier.java',
@@ -2326,6 +2339,17 @@
'includes': [ '../build/jni_generator.gypi' ],
},
{
+ 'target_name': 'net_test_jni_headers',
+ 'type': 'none',
+ 'sources': [
+ 'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java',
+ ],
+ 'variables': {
+ 'jni_gen_dir': 'net',
+ },
+ 'includes': [ '../build/jni_generator.gypi' ],
+ },
+ {
'target_name': 'net_java',
'type': 'none',
'variables': {
@@ -2336,6 +2360,7 @@
'../base/base.gyp:base',
'net_errors_java',
'certificate_mime_types_java',
+ 'ssl_client_cert_types_java',
],
'includes': [ '../build/java.gypi' ],
},
@@ -2386,6 +2411,18 @@
},
'includes': [ '../build/android/java_cpp_template.gypi' ],
},
+ {
+ 'target_name': 'ssl_client_cert_types_java',
+ 'type': 'none',
+ 'sources': [
+ 'android/java/SSLClientCertType.template',
+ ],
+ 'variables': {
+ 'package_name': 'org.chromium.net',
+ 'template_deps': ['base/ssl_client_cert_type_list.h'],
+ },
+ 'includes': [ '../build/android/java_cpp_template.gypi' ],
+ },
],
}],
# Special target to wrap a gtest_target_type==shared_library
@@ -2398,6 +2435,7 @@
'type': 'none',
'dependencies': [
'net_java',
+ 'net_javatests',
'net_unittests',
],
'variables': {
« net/android/keystore_unittest.cc ('K') | « net/base/ssl_client_cert_type_list.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698