| 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 'conditions': [ | 6 'conditions': [ |
| 7 ['OS=="android"', { | 7 ['OS=="android"', { |
| 8 # TODO(mef): Figure out what needs to be done for gn script. | 8 # TODO(mef): Figure out what needs to be done for gn script. |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 'native_lib_target': 'libcronet', | 439 'native_lib_target': 'libcronet', |
| 440 'proguard_enabled': 'true', | 440 'proguard_enabled': 'true', |
| 441 'proguard_flags_paths': [ | 441 'proguard_flags_paths': [ |
| 442 'cronet/android/proguard.cfg', | 442 'cronet/android/proguard.cfg', |
| 443 ], | 443 ], |
| 444 'run_findbugs': 1, | 444 'run_findbugs': 1, |
| 445 }, | 445 }, |
| 446 'includes': [ '../build/java_apk.gypi' ], | 446 'includes': [ '../build/java_apk.gypi' ], |
| 447 }, | 447 }, |
| 448 { | 448 { |
| 449 'target_name': 'cronet_unittests', | |
| 450 'type': '<(gtest_target_type)', | |
| 451 'dependencies': [ | |
| 452 'cronet_static_small', | |
| 453 'metrics', | |
| 454 '../base/base.gyp:base', | |
| 455 '../base/base.gyp:test_support_base', | |
| 456 '../testing/gtest.gyp:gtest', | |
| 457 '../testing/android/native_test.gyp:native_test_native_code', | |
| 458 ], | |
| 459 'sources': [ | |
| 460 'cronet/run_all_unittests.cc', | |
| 461 'cronet/url_request_context_config_unittest.cc', | |
| 462 'cronet/histogram_manager_unittest.cc', | |
| 463 ], | |
| 464 }, | |
| 465 { | |
| 466 'target_name': 'cronet_unittests_apk', | |
| 467 'type': 'none', | |
| 468 'dependencies': [ | |
| 469 'cronet_unittests', | |
| 470 ], | |
| 471 'variables': { | |
| 472 'test_suite_name': 'cronet_unittests', | |
| 473 }, | |
| 474 'includes': [ | |
| 475 '../build/apk_test.gypi', | |
| 476 ], | |
| 477 }, | |
| 478 { | |
| 479 'target_name': 'cronet_package', | 449 'target_name': 'cronet_package', |
| 480 'type': 'none', | 450 'type': 'none', |
| 481 'dependencies': [ | 451 'dependencies': [ |
| 482 'libcronet', | 452 'libcronet', |
| 483 'cronet_java', | 453 'cronet_java', |
| 484 'cronet_api', | 454 'cronet_api', |
| 485 '../net/net.gyp:net_unittests_apk', | 455 '../net/net.gyp:net_unittests_apk', |
| 486 ], | 456 ], |
| 487 'variables': { | 457 'variables': { |
| 488 'native_lib': 'libcronet.>(android_product_extension)', | 458 'native_lib': 'libcronet.>(android_product_extension)', |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 }, | 598 }, |
| 629 ], | 599 ], |
| 630 }, | 600 }, |
| 631 ], | 601 ], |
| 632 'variables': { | 602 'variables': { |
| 633 'enable_data_reduction_proxy_support%': 0, | 603 'enable_data_reduction_proxy_support%': 0, |
| 634 }, | 604 }, |
| 635 }], # OS=="android" | 605 }], # OS=="android" |
| 636 ], | 606 ], |
| 637 } | 607 } |
| OLD | NEW |