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

Unified Diff: net/net.gyp

Issue 1526183002: Revert of [Android] Add ChromiumNetTestSupport.apk for the java EmbeddedTestServer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « net/android/BUILD.gn ('k') | net/test/android/javatests/AndroidManifest.xml » ('j') | 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 9e34edd189d55fe2e95872ab28a7abf3e6d5ab53..6579e15864847470e238ad992689abf741a0b6fb 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -638,6 +638,8 @@
'net_test_jni_headers',
],
'sources': [
+ 'test/android/net_test_jni_onload.cc',
+ 'test/android/net_test_jni_onload.h',
'test/embedded_test_server/android/embedded_test_server_android.cc',
'test/embedded_test_server/android/embedded_test_server_android.h',
'test/spawned_test_server/remote_test_server.cc',
@@ -1383,7 +1385,7 @@
'type': 'none',
'sources': [
'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java',
- 'test/android/javatests/src/org/chromium/net/test/EmbeddedTestServerImpl.java',
+ 'test/android/javatests/src/org/chromium/net/test/EmbeddedTestServer.java',
'test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthenticator.java',
],
'variables': {
@@ -1410,17 +1412,6 @@
'includes': [ '../build/java.gypi' ],
},
{
- 'target_name': 'embedded_test_server_aidl',
- 'type': 'none',
- 'variables': {
- 'aidl_interface_file': '../net/test/android/javatests/src/org/chromium/net/test/IEmbeddedTestServerInterface.aidl',
- },
- 'sources': [
- '../net/test/android/javatests/src/org/chromium/net/test/IEmbeddedTestServerImpl.aidl',
- ],
- 'includes': [ '../build/java_aidl.gypi' ],
- },
- {
'target_name': 'net_java_test_support',
'type': 'none',
'variables': {
@@ -1429,69 +1420,13 @@
'chromium_code': 0,
},
'dependencies': [
- 'embedded_test_server_aidl',
'net_java',
+ 'net_test_support',
'url_request_failed_job_java',
'../base/base.gyp:base_java',
- '../base/base.gyp:base_java_test_support',
'../third_party/android_tools/android_tools.gyp:legacy_http_javalib',
],
'includes': [ '../build/java.gypi' ],
- },
- {
- 'target_name': 'libnet_java_test_support',
- 'type': 'shared_library',
- 'dependencies': [
- 'net_test_support',
- '../base/base.gyp:base',
- ],
- 'sources': [
- 'test/android/net_test_entry_point.cc',
- 'test/android/net_test_jni_onload.cc',
- 'test/android/net_test_jni_onload.h',
- ],
- },
- {
- 'target_name': 'net_test_support_apk',
- 'type': 'none',
- 'dependencies': [
- 'net_java_test_support',
- ],
- 'variables': {
- 'android_manifest_path': 'test/android/javatests/AndroidManifest.xml',
- 'apk_name': 'ChromiumNetTestSupport',
- 'is_test_apk': 1,
- 'java_in_dir': 'test/android/javatests',
- 'java_in_dir_suffix': '/src_dummy',
- 'native_lib_target': 'libnet_java_test_support',
- },
- 'includes': [
- '../build/java_apk.gypi',
- ],
- },
- {
- # Targets that need the net test support APK should depend on this
- # target. It ensures that the APK is built without passing the
- # classpath on to dependent targets.
- 'target_name': 'require_net_test_support_apk',
- 'type': 'none',
- 'actions': [
- {
- 'action_name': 'require_ChromiumNetTestSupport',
- 'variables': {
- 'required_file': '<(PRODUCT_DIR)/net_test_support_apk/ChromiumNetTestSupport.apk.required',
- },
- 'inputs': [
- '<(PRODUCT_DIR)/apks/ChromiumNetTestSupport.apk',
- ],
- 'outputs': [
- '<(required_file)',
- ],
- 'action': [
- 'python', '../build/android/gyp/touch.py', '<(required_file)',
- ],
- },
- ],
},
{
'target_name': 'url_request_failed_job_java',
« no previous file with comments | « net/android/BUILD.gn ('k') | net/test/android/javatests/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698