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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « net/android/BUILD.gn ('k') | net/test/android/javatests/AndroidManifest.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'linux_link_kerberos%': 0, 8 'linux_link_kerberos%': 0,
9 'conditions': [ 9 'conditions': [
10 ['chromeos==1 or embedded==1 or OS=="ios"', { 10 ['chromeos==1 or embedded==1 or OS=="ios"', {
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 '../base/allocator/allocator.gyp:allocator', 631 '../base/allocator/allocator.gyp:allocator',
632 ], 632 ],
633 }], 633 }],
634 ], 634 ],
635 }], 635 }],
636 ['OS == "android"', { 636 ['OS == "android"', {
637 'dependencies': [ 637 'dependencies': [
638 'net_test_jni_headers', 638 'net_test_jni_headers',
639 ], 639 ],
640 'sources': [ 640 'sources': [
641 'test/android/net_test_jni_onload.cc',
642 'test/android/net_test_jni_onload.h',
641 'test/embedded_test_server/android/embedded_test_server_android.cc', 643 'test/embedded_test_server/android/embedded_test_server_android.cc',
642 'test/embedded_test_server/android/embedded_test_server_android.h', 644 'test/embedded_test_server/android/embedded_test_server_android.h',
643 'test/spawned_test_server/remote_test_server.cc', 645 'test/spawned_test_server/remote_test_server.cc',
644 'test/spawned_test_server/remote_test_server.h', 646 'test/spawned_test_server/remote_test_server.h',
645 'test/spawned_test_server/spawner_communicator.cc', 647 'test/spawned_test_server/spawner_communicator.cc',
646 'test/spawned_test_server/spawner_communicator.h', 648 'test/spawned_test_server/spawner_communicator.h',
647 ], 649 ],
648 }], 650 }],
649 [ 'use_v8_in_net==1', { 651 [ 'use_v8_in_net==1', {
650 'dependencies': [ 652 'dependencies': [
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
1376 'variables': { 1378 'variables': {
1377 'jni_gen_package': 'net', 1379 'jni_gen_package': 'net',
1378 }, 1380 },
1379 'includes': [ '../build/jni_generator.gypi' ], 1381 'includes': [ '../build/jni_generator.gypi' ],
1380 }, 1382 },
1381 { 1383 {
1382 'target_name': 'net_test_jni_headers', 1384 'target_name': 'net_test_jni_headers',
1383 'type': 'none', 1385 'type': 'none',
1384 'sources': [ 1386 'sources': [
1385 'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java ', 1387 'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java ',
1386 'test/android/javatests/src/org/chromium/net/test/EmbeddedTestServer Impl.java', 1388 'test/android/javatests/src/org/chromium/net/test/EmbeddedTestServer .java',
1387 'test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthent icator.java', 1389 'test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthent icator.java',
1388 ], 1390 ],
1389 'variables': { 1391 'variables': {
1390 'jni_gen_package': 'net/test', 1392 'jni_gen_package': 'net/test',
1391 }, 1393 },
1392 'includes': [ '../build/jni_generator.gypi' ], 1394 'includes': [ '../build/jni_generator.gypi' ],
1393 }, 1395 },
1394 { 1396 {
1395 'target_name': 'net_java', 1397 'target_name': 'net_java',
1396 'type': 'none', 1398 'type': 'none',
1397 'variables': { 1399 'variables': {
1398 'java_in_dir': '../net/android/java', 1400 'java_in_dir': '../net/android/java',
1399 }, 1401 },
1400 'dependencies': [ 1402 'dependencies': [
1401 '../base/base.gyp:base', 1403 '../base/base.gyp:base',
1402 'cert_verify_status_android_java', 1404 'cert_verify_status_android_java',
1403 'certificate_mime_types_java', 1405 'certificate_mime_types_java',
1404 'network_change_notifier_types_java', 1406 'network_change_notifier_types_java',
1405 'network_change_notifier_android_types_java', 1407 'network_change_notifier_android_types_java',
1406 'net_errors_java', 1408 'net_errors_java',
1407 'private_key_types_java', 1409 'private_key_types_java',
1408 'traffic_stats_error_java', 1410 'traffic_stats_error_java',
1409 ], 1411 ],
1410 'includes': [ '../build/java.gypi' ], 1412 'includes': [ '../build/java.gypi' ],
1411 }, 1413 },
1412 { 1414 {
1413 'target_name': 'embedded_test_server_aidl',
1414 'type': 'none',
1415 'variables': {
1416 'aidl_interface_file': '../net/test/android/javatests/src/org/chromi um/net/test/IEmbeddedTestServerInterface.aidl',
1417 },
1418 'sources': [
1419 '../net/test/android/javatests/src/org/chromium/net/test/IEmbeddedTe stServerImpl.aidl',
1420 ],
1421 'includes': [ '../build/java_aidl.gypi' ],
1422 },
1423 {
1424 'target_name': 'net_java_test_support', 1415 'target_name': 'net_java_test_support',
1425 'type': 'none', 1416 'type': 'none',
1426 'variables': { 1417 'variables': {
1427 'java_in_dir': '../net/test/android/javatests', 1418 'java_in_dir': '../net/test/android/javatests',
1428 # TODO(jbudorick): remove chromium_code: 0 line once crbug.com/48819 2 is fixed. 1419 # TODO(jbudorick): remove chromium_code: 0 line once crbug.com/48819 2 is fixed.
1429 'chromium_code': 0, 1420 'chromium_code': 0,
1430 }, 1421 },
1431 'dependencies': [ 1422 'dependencies': [
1432 'embedded_test_server_aidl',
1433 'net_java', 1423 'net_java',
1424 'net_test_support',
1434 'url_request_failed_job_java', 1425 'url_request_failed_job_java',
1435 '../base/base.gyp:base_java', 1426 '../base/base.gyp:base_java',
1436 '../base/base.gyp:base_java_test_support',
1437 '../third_party/android_tools/android_tools.gyp:legacy_http_javalib' , 1427 '../third_party/android_tools/android_tools.gyp:legacy_http_javalib' ,
1438 ], 1428 ],
1439 'includes': [ '../build/java.gypi' ], 1429 'includes': [ '../build/java.gypi' ],
1440 }, 1430 },
1441 { 1431 {
1442 'target_name': 'libnet_java_test_support',
1443 'type': 'shared_library',
1444 'dependencies': [
1445 'net_test_support',
1446 '../base/base.gyp:base',
1447 ],
1448 'sources': [
1449 'test/android/net_test_entry_point.cc',
1450 'test/android/net_test_jni_onload.cc',
1451 'test/android/net_test_jni_onload.h',
1452 ],
1453 },
1454 {
1455 'target_name': 'net_test_support_apk',
1456 'type': 'none',
1457 'dependencies': [
1458 'net_java_test_support',
1459 ],
1460 'variables': {
1461 'android_manifest_path': 'test/android/javatests/AndroidManifest.xml ',
1462 'apk_name': 'ChromiumNetTestSupport',
1463 'is_test_apk': 1,
1464 'java_in_dir': 'test/android/javatests',
1465 'java_in_dir_suffix': '/src_dummy',
1466 'native_lib_target': 'libnet_java_test_support',
1467 },
1468 'includes': [
1469 '../build/java_apk.gypi',
1470 ],
1471 },
1472 {
1473 # Targets that need the net test support APK should depend on this
1474 # target. It ensures that the APK is built without passing the
1475 # classpath on to dependent targets.
1476 'target_name': 'require_net_test_support_apk',
1477 'type': 'none',
1478 'actions': [
1479 {
1480 'action_name': 'require_ChromiumNetTestSupport',
1481 'variables': {
1482 'required_file': '<(PRODUCT_DIR)/net_test_support_apk/ChromiumNe tTestSupport.apk.required',
1483 },
1484 'inputs': [
1485 '<(PRODUCT_DIR)/apks/ChromiumNetTestSupport.apk',
1486 ],
1487 'outputs': [
1488 '<(required_file)',
1489 ],
1490 'action': [
1491 'python', '../build/android/gyp/touch.py', '<(required_file)',
1492 ],
1493 },
1494 ],
1495 },
1496 {
1497 'target_name': 'url_request_failed_job_java', 1432 'target_name': 'url_request_failed_job_java',
1498 'type': 'none', 1433 'type': 'none',
1499 'variables': { 1434 'variables': {
1500 'source_file': 'test/url_request/url_request_failed_job.h', 1435 'source_file': 'test/url_request/url_request_failed_job.h',
1501 }, 1436 },
1502 'includes': [ '../build/android/java_cpp_enum.gypi' ], 1437 'includes': [ '../build/android/java_cpp_enum.gypi' ],
1503 }, 1438 },
1504 { 1439 {
1505 'target_name': 'net_javatests', 1440 'target_name': 'net_javatests',
1506 'type': 'none', 1441 'type': 'none',
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1694 '../build/isolate.gypi', 1629 '../build/isolate.gypi',
1695 ], 1630 ],
1696 'sources': [ 1631 'sources': [
1697 'net_unittests.isolate', 1632 'net_unittests.isolate',
1698 ], 1633 ],
1699 }, 1634 },
1700 ], 1635 ],
1701 }], 1636 }],
1702 ], 1637 ],
1703 } 1638 }
OLDNEW
« 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