| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'enable_bidirectional_stream%': 0, | 7 'enable_bidirectional_stream%': 0, |
| 8 }, | 8 }, |
| 9 'conditions': [ | 9 'conditions': [ |
| 10 ['OS=="android"', { | 10 ['OS=="android"', { |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 'cronet/android/test/quic_test_server.cc', | 361 'cronet/android/test/quic_test_server.cc', |
| 362 'cronet/android/test/quic_test_server.h', | 362 'cronet/android/test/quic_test_server.h', |
| 363 'cronet/android/test/sdch_test_util.cc', | 363 'cronet/android/test/sdch_test_util.cc', |
| 364 'cronet/android/test/sdch_test_util.h', | 364 'cronet/android/test/sdch_test_util.h', |
| 365 'cronet/android/test/test_upload_data_stream_handler.cc', | 365 'cronet/android/test/test_upload_data_stream_handler.cc', |
| 366 'cronet/android/test/test_upload_data_stream_handler.h', | 366 'cronet/android/test/test_upload_data_stream_handler.h', |
| 367 'cronet/android/test/network_change_notifier_util.cc', | 367 'cronet/android/test/network_change_notifier_util.cc', |
| 368 'cronet/android/test/network_change_notifier_util.h', | 368 'cronet/android/test/network_change_notifier_util.h', |
| 369 'cronet/android/test/cronet_url_request_context_config_test.cc', | 369 'cronet/android/test/cronet_url_request_context_config_test.cc', |
| 370 'cronet/android/test/cronet_url_request_context_config_test.h', | 370 'cronet/android/test/cronet_url_request_context_config_test.h', |
| 371 'cronet/android/test/cronet_test_util.cc', | |
| 372 'cronet/android/test/cronet_test_util.h', | |
| 373 ], | 371 ], |
| 374 'dependencies': [ | 372 'dependencies': [ |
| 375 'cronet_tests_jni_headers', | 373 'cronet_tests_jni_headers', |
| 376 '../base/base.gyp:base', | 374 '../base/base.gyp:base', |
| 377 '../net/net.gyp:net', | 375 '../net/net.gyp:net', |
| 378 '../net/net.gyp:net_quic_proto', | 376 '../net/net.gyp:net_quic_proto', |
| 379 '../net/net.gyp:net_test_support', | 377 '../net/net.gyp:net_test_support', |
| 380 '../net/net.gyp:simple_quic_tools', | 378 '../net/net.gyp:simple_quic_tools', |
| 381 '../base/base.gyp:base_i18n', | 379 '../base/base.gyp:base_i18n', |
| 382 '../third_party/icu/icu.gyp:icui18n', | 380 '../third_party/icu/icu.gyp:icui18n', |
| 383 '../third_party/icu/icu.gyp:icuuc', | 381 '../third_party/icu/icu.gyp:icuuc', |
| 384 ], | 382 ], |
| 385 'conditions': [ | 383 'conditions': [ |
| 386 ['enable_data_reduction_proxy_support==1', | 384 ['enable_data_reduction_proxy_support==1', |
| 387 { | 385 { |
| 388 'dependencies': [ | 386 'dependencies': [ |
| 389 '../components/components.gyp:data_reduction_proxy_core_browse
r', | 387 '../components/components.gyp:data_reduction_proxy_core_browse
r', |
| 390 ], | 388 ], |
| 391 }, | 389 }, |
| 392 ], | 390 ], |
| 393 ], | 391 ], |
| 394 'includes': [ 'cronet/cronet_static.gypi' ], | 392 'includes': [ 'cronet/cronet_static.gypi' ], |
| 395 }, | 393 }, |
| 396 { | 394 { |
| 397 'target_name': 'cronet_test_support', | 395 'target_name': 'cronet_test_apk', |
| 398 'type': 'none', | 396 'type': 'none', |
| 399 'dependencies': [ | 397 'dependencies': [ |
| 400 'cronet_java', | 398 'cronet_java', |
| 401 '../net/net.gyp:net_java_test_support', | 399 '../net/net.gyp:net_java_test_support', |
| 402 '../third_party/netty-tcnative/netty-tcnative.gyp:netty-tcnative', | 400 '../third_party/netty-tcnative/netty-tcnative.gyp:netty-tcnative', |
| 403 '../third_party/netty4/netty.gyp:netty_all', | 401 '../third_party/netty4/netty.gyp:netty_all', |
| 404 ], | 402 ], |
| 405 'variables': { | 403 'variables': { |
| 406 'java_in_dir': 'cronet/android/test', | |
| 407 'additional_src_dirs': [ 'cronet/android/test/javatests/src' ], | |
| 408 'run_findbugs': 1, | |
| 409 }, | |
| 410 'includes': [ '../build/java.gypi' ], | |
| 411 }, | |
| 412 { | |
| 413 'target_name': 'cronet_test_apk', | |
| 414 'type': 'none', | |
| 415 'dependencies': [ | |
| 416 'cronet_java', | |
| 417 'cronet_test_support', | |
| 418 '../net/net.gyp:net_java_test_support', | |
| 419 '../third_party/netty-tcnative/netty-tcnative.gyp:netty-tcnative', | |
| 420 '../third_party/netty4/netty.gyp:netty_all', | |
| 421 ], | |
| 422 'variables': { | |
| 423 'apk_name': 'CronetTest', | 404 'apk_name': 'CronetTest', |
| 424 # There isn't an easy way to have a java_apk target without any Java | |
| 425 # so we'll borrow the trick from the net_test_support_apk target of | |
| 426 # pointing it at placeholder Java via java_in_dir_suffix. | |
| 427 'java_in_dir': 'cronet/android/test', | 405 'java_in_dir': 'cronet/android/test', |
| 428 'java_in_dir_suffix': '/src_dummy', | |
| 429 'resource_dir': 'cronet/android/test/res', | 406 'resource_dir': 'cronet/android/test/res', |
| 430 'asset_location': 'cronet/android/test/assets', | 407 'asset_location': 'cronet/android/test/assets', |
| 431 'native_lib_target': 'libcronet_tests', | 408 'native_lib_target': 'libcronet_tests', |
| 432 'run_findbugs': 1, | 409 'run_findbugs': 1, |
| 433 'additional_bundled_libs': [ | 410 'additional_bundled_libs': [ |
| 434 '>(netty_tcnative_so_file_location)', | 411 '>(netty_tcnative_so_file_location)', |
| 435 ], | 412 ], |
| 436 }, | 413 }, |
| 437 'includes': [ '../build/java_apk.gypi' ], | 414 'includes': [ '../build/java_apk.gypi' ], |
| 438 }, | 415 }, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 },], | 451 },], |
| 475 ], | 452 ], |
| 476 'includes': [ '../build/java_apk.gypi' ], | 453 'includes': [ '../build/java_apk.gypi' ], |
| 477 }, | 454 }, |
| 478 { | 455 { |
| 479 'target_name': 'cronet_perf_test_apk', | 456 'target_name': 'cronet_perf_test_apk', |
| 480 'type': 'none', | 457 'type': 'none', |
| 481 'dependencies': [ | 458 'dependencies': [ |
| 482 'cronet_java', | 459 'cronet_java', |
| 483 'cronet_api', | 460 'cronet_api', |
| 484 'cronet_test_support', | |
| 485 ], | 461 ], |
| 486 'variables': { | 462 'variables': { |
| 487 'apk_name': 'CronetPerfTest', | 463 'apk_name': 'CronetPerfTest', |
| 488 'java_in_dir': 'cronet/android/test/javaperftests', | 464 'java_in_dir': 'cronet/android/test/javaperftests', |
| 489 'native_lib_target': 'libcronet_tests', | 465 'is_test_apk': 1, |
| 466 'native_lib_target': 'libcronet', |
| 490 'proguard_enabled': 'true', | 467 'proguard_enabled': 'true', |
| 491 'proguard_flags_paths': [ | 468 'proguard_flags_paths': [ |
| 492 'cronet/android/proguard.cfg', | 469 'cronet/android/proguard.cfg', |
| 493 'cronet/android/test/javaperftests/proguard.cfg', | |
| 494 ], | 470 ], |
| 495 'run_findbugs': 1, | 471 'run_findbugs': 1, |
| 496 }, | 472 }, |
| 497 'includes': [ '../build/java_apk.gypi' ], | 473 'includes': [ '../build/java_apk.gypi' ], |
| 498 }, | 474 }, |
| 499 { | 475 { |
| 500 'target_name': 'cronet_unittests', | 476 'target_name': 'cronet_unittests', |
| 501 'type': '<(gtest_target_type)', | 477 'type': '<(gtest_target_type)', |
| 502 'dependencies': [ | 478 'dependencies': [ |
| 503 'cronet_static', | 479 'cronet_static', |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 }, | 655 }, |
| 680 ], | 656 ], |
| 681 }, | 657 }, |
| 682 ], | 658 ], |
| 683 'variables': { | 659 'variables': { |
| 684 'enable_data_reduction_proxy_support%': 0, | 660 'enable_data_reduction_proxy_support%': 0, |
| 685 }, | 661 }, |
| 686 }], # OS=="android" | 662 }], # OS=="android" |
| 687 ], | 663 ], |
| 688 } | 664 } |
| OLD | NEW |