| 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', |
| 371 ], | 373 ], |
| 372 'dependencies': [ | 374 'dependencies': [ |
| 373 'cronet_tests_jni_headers', | 375 'cronet_tests_jni_headers', |
| 374 '../base/base.gyp:base', | 376 '../base/base.gyp:base', |
| 375 '../net/net.gyp:net', | 377 '../net/net.gyp:net', |
| 376 '../net/net.gyp:net_quic_proto', | 378 '../net/net.gyp:net_quic_proto', |
| 377 '../net/net.gyp:net_test_support', | 379 '../net/net.gyp:net_test_support', |
| 378 '../net/net.gyp:simple_quic_tools', | 380 '../net/net.gyp:simple_quic_tools', |
| 379 '../base/base.gyp:base_i18n', | 381 '../base/base.gyp:base_i18n', |
| 380 '../third_party/icu/icu.gyp:icui18n', | 382 '../third_party/icu/icu.gyp:icui18n', |
| 381 '../third_party/icu/icu.gyp:icuuc', | 383 '../third_party/icu/icu.gyp:icuuc', |
| 382 ], | 384 ], |
| 383 'conditions': [ | 385 'conditions': [ |
| 384 ['enable_data_reduction_proxy_support==1', | 386 ['enable_data_reduction_proxy_support==1', |
| 385 { | 387 { |
| 386 'dependencies': [ | 388 'dependencies': [ |
| 387 '../components/components.gyp:data_reduction_proxy_core_browse
r', | 389 '../components/components.gyp:data_reduction_proxy_core_browse
r', |
| 388 ], | 390 ], |
| 389 }, | 391 }, |
| 390 ], | 392 ], |
| 391 ], | 393 ], |
| 392 'includes': [ 'cronet/cronet_static.gypi' ], | 394 'includes': [ 'cronet/cronet_static.gypi' ], |
| 393 }, | 395 }, |
| 394 { | 396 { |
| 395 'target_name': 'cronet_test_apk', | 397 'target_name': 'cronet_test_support', |
| 396 'type': 'none', | 398 'type': 'none', |
| 397 'dependencies': [ | 399 'dependencies': [ |
| 398 'cronet_java', | 400 'cronet_java', |
| 399 '../net/net.gyp:net_java_test_support', | 401 '../net/net.gyp:net_java_test_support', |
| 400 '../third_party/netty-tcnative/netty-tcnative.gyp:netty-tcnative', | 402 '../third_party/netty-tcnative/netty-tcnative.gyp:netty-tcnative', |
| 401 '../third_party/netty4/netty.gyp:netty_all', | 403 '../third_party/netty4/netty.gyp:netty_all', |
| 402 ], | 404 ], |
| 403 'variables': { | 405 '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': { |
| 404 'apk_name': 'CronetTest', | 423 '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. |
| 405 'java_in_dir': 'cronet/android/test', | 427 'java_in_dir': 'cronet/android/test', |
| 428 'java_in_dir_suffix': '/src_dummy', |
| 406 'resource_dir': 'cronet/android/test/res', | 429 'resource_dir': 'cronet/android/test/res', |
| 407 'asset_location': 'cronet/android/test/assets', | 430 'asset_location': 'cronet/android/test/assets', |
| 408 'native_lib_target': 'libcronet_tests', | 431 'native_lib_target': 'libcronet_tests', |
| 409 'run_findbugs': 1, | 432 'run_findbugs': 1, |
| 410 'additional_bundled_libs': [ | 433 'additional_bundled_libs': [ |
| 411 '>(netty_tcnative_so_file_location)', | 434 '>(netty_tcnative_so_file_location)', |
| 412 ], | 435 ], |
| 413 }, | 436 }, |
| 414 'includes': [ '../build/java_apk.gypi' ], | 437 'includes': [ '../build/java_apk.gypi' ], |
| 415 }, | 438 }, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 },], | 474 },], |
| 452 ], | 475 ], |
| 453 'includes': [ '../build/java_apk.gypi' ], | 476 'includes': [ '../build/java_apk.gypi' ], |
| 454 }, | 477 }, |
| 455 { | 478 { |
| 456 'target_name': 'cronet_perf_test_apk', | 479 'target_name': 'cronet_perf_test_apk', |
| 457 'type': 'none', | 480 'type': 'none', |
| 458 'dependencies': [ | 481 'dependencies': [ |
| 459 'cronet_java', | 482 'cronet_java', |
| 460 'cronet_api', | 483 'cronet_api', |
| 484 'cronet_test_support', |
| 461 ], | 485 ], |
| 462 'variables': { | 486 'variables': { |
| 463 'apk_name': 'CronetPerfTest', | 487 'apk_name': 'CronetPerfTest', |
| 464 'java_in_dir': 'cronet/android/test/javaperftests', | 488 'java_in_dir': 'cronet/android/test/javaperftests', |
| 465 'is_test_apk': 1, | 489 'native_lib_target': 'libcronet_tests', |
| 466 'native_lib_target': 'libcronet', | |
| 467 'proguard_enabled': 'true', | 490 'proguard_enabled': 'true', |
| 468 'proguard_flags_paths': [ | 491 'proguard_flags_paths': [ |
| 469 'cronet/android/proguard.cfg', | 492 'cronet/android/proguard.cfg', |
| 493 'cronet/android/test/javaperftests/proguard.cfg', |
| 470 ], | 494 ], |
| 471 'run_findbugs': 1, | 495 'run_findbugs': 1, |
| 472 }, | 496 }, |
| 473 'includes': [ '../build/java_apk.gypi' ], | 497 'includes': [ '../build/java_apk.gypi' ], |
| 474 }, | 498 }, |
| 475 { | 499 { |
| 476 'target_name': 'cronet_unittests', | 500 'target_name': 'cronet_unittests', |
| 477 'type': '<(gtest_target_type)', | 501 'type': '<(gtest_target_type)', |
| 478 'dependencies': [ | 502 'dependencies': [ |
| 479 'cronet_static', | 503 'cronet_static', |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 }, | 679 }, |
| 656 ], | 680 ], |
| 657 }, | 681 }, |
| 658 ], | 682 ], |
| 659 'variables': { | 683 'variables': { |
| 660 'enable_data_reduction_proxy_support%': 0, | 684 'enable_data_reduction_proxy_support%': 0, |
| 661 }, | 685 }, |
| 662 }], # OS=="android" | 686 }], # OS=="android" |
| 663 ], | 687 ], |
| 664 } | 688 } |
| OLD | NEW |