Chromium Code Reviews| 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 'targets': [ | 8 'targets': [ |
| 9 { | 9 { |
| 10 'target_name': 'cronet_jni_headers', | 10 'target_name': 'cronet_jni_headers', |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 373 }, | 373 }, |
| 374 ], | 374 ], |
| 375 ], | 375 ], |
| 376 'includes': [ 'cronet/cronet_static.gypi' ], | 376 'includes': [ 'cronet/cronet_static.gypi' ], |
| 377 }, | 377 }, |
| 378 { | 378 { |
| 379 'target_name': 'cronet_test_apk', | 379 'target_name': 'cronet_test_apk', |
| 380 'type': 'none', | 380 'type': 'none', |
| 381 'dependencies': [ | 381 'dependencies': [ |
| 382 'cronet_java', | 382 'cronet_java', |
| 383 'netty-tcnative', | |
| 383 '../net/net.gyp:net_java_test_support', | 384 '../net/net.gyp:net_java_test_support', |
| 384 ], | 385 ], |
| 385 'variables': { | 386 'variables': { |
| 386 'apk_name': 'CronetTest', | 387 'apk_name': 'CronetTest', |
| 387 'java_in_dir': 'cronet/android/test', | 388 'java_in_dir': 'cronet/android/test', |
| 388 'resource_dir': 'cronet/android/test/res', | 389 'resource_dir': 'cronet/android/test/res', |
| 389 'asset_location': 'cronet/android/test/assets', | 390 'asset_location': 'cronet/android/test/assets', |
| 390 'native_lib_target': 'libcronet_tests', | 391 'native_lib_target': 'libcronet_tests', |
| 391 'run_findbugs': 1, | 392 'run_findbugs': 1, |
|
mef
2016/01/11 21:46:03
In order for libnetty-tcnative.so to be included i
kapishnikov
2016/01/12 15:50:26
Done.
| |
| 392 }, | 393 }, |
| 393 'includes': [ '../build/java_apk.gypi' ], | 394 'includes': [ '../build/java_apk.gypi' ], |
| 394 }, | 395 }, |
| 395 { | 396 { |
| 396 # cronet_test_apk creates a .jar as a side effect. Any java targets | 397 # cronet_test_apk creates a .jar as a side effect. Any java targets |
| 397 # that need that .jar in their classpath should depend on this target, | 398 # that need that .jar in their classpath should depend on this target, |
| 398 # cronet_test_apk_java. Dependents of cronet_test_apk receive its | 399 # cronet_test_apk_java. Dependents of cronet_test_apk receive its |
| 399 # jar path in the variable 'apk_output_jar_path'. This target should | 400 # jar path in the variable 'apk_output_jar_path'. This target should |
| 400 # only be used by targets which instrument cronet_test_apk. | 401 # only be used by targets which instrument cronet_test_apk. |
| 401 'target_name': 'cronet_test_apk_java', | 402 'target_name': 'cronet_test_apk_java', |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 464 'dependencies': [ | 465 'dependencies': [ |
| 465 'cronet_unittests', | 466 'cronet_unittests', |
| 466 ], | 467 ], |
| 467 'variables': { | 468 'variables': { |
| 468 'test_suite_name': 'cronet_unittests', | 469 'test_suite_name': 'cronet_unittests', |
| 469 }, | 470 }, |
| 470 'includes': [ | 471 'includes': [ |
| 471 '../build/apk_test.gypi', | 472 '../build/apk_test.gypi', |
| 472 ], | 473 ], |
| 473 }, | 474 }, |
| 475 { # builds libnetty-tcnative.so & netty-tcnative.jar | |
| 476 'target_name': 'netty-tcnative', | |
| 477 'type': 'none', | |
| 478 'dependencies': [ | |
| 479 '../third_party/netty-tcnative/netty-tcnative.gyp:netty-tcnative-so' , | |
| 480 '../third_party/netty-tcnative/netty-tcnative.gyp:netty-tcnative', | |
| 481 ], | |
| 482 }, | |
| 474 { | 483 { |
| 475 'target_name': 'cronet_package', | 484 'target_name': 'cronet_package', |
| 476 'type': 'none', | 485 'type': 'none', |
| 477 'dependencies': [ | 486 'dependencies': [ |
| 478 'libcronet', | 487 'libcronet', |
| 479 'cronet_java', | 488 'cronet_java', |
| 480 'cronet_api', | 489 'cronet_api', |
| 481 '../net/net.gyp:net_unittests_apk', | 490 '../net/net.gyp:net_unittests_apk', |
| 482 ], | 491 ], |
| 483 'variables': { | 492 'variables': { |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 624 }, | 633 }, |
| 625 ], | 634 ], |
| 626 }, | 635 }, |
| 627 ], | 636 ], |
| 628 'variables': { | 637 'variables': { |
| 629 'enable_data_reduction_proxy_support%': 0, | 638 'enable_data_reduction_proxy_support%': 0, |
| 630 }, | 639 }, |
| 631 }], # OS=="android" | 640 }], # OS=="android" |
| 632 ], | 641 ], |
| 633 } | 642 } |
| OLD | NEW |