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

Side by Side Diff: components/cronet.gypi

Issue 558333007: Setup initial mock url request job tests for Cronet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Misha's comments Created 6 years, 3 months 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
OLDNEW
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" and use_icu_alternatives_on_android==1', { 7 ['OS=="android" and use_icu_alternatives_on_android==1', {
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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 'variables': { 405 'variables': {
406 'jni_gen_package': 'cronet_tests', 406 'jni_gen_package': 'cronet_tests',
407 }, 407 },
408 'includes': [ '../build/jni_generator.gypi' ], 408 'includes': [ '../build/jni_generator.gypi' ],
409 }, 409 },
410 { 410 {
411 'target_name': 'libcronet_tests', 411 'target_name': 'libcronet_tests',
412 'type': 'shared_library', 412 'type': 'shared_library',
413 'sources': [ 413 'sources': [
414 'cronet/android/test/cronet_tests_jni.cc', 414 'cronet/android/test/cronet_tests_jni.cc',
415 'cronet/android/test/cronet_mock_job_interceptor.cc',
416 'cronet/android/test/cronet_mock_job_interceptor.h',
417 '../net/base/directory_lister.cc',
418 '../net/base/directory_lister.h',
419 '../net/url_request/url_request_file_job.cc',
420 '../net/url_request/url_request_file_job.h',
415 ], 421 ],
416 'dependencies': [ 422 'dependencies': [
417 'cronet_static', 423 'cronet_static',
418 'cronet_tests_jni_headers', 424 'cronet_tests_jni_headers',
419 '../base/base.gyp:base', 425 '../base/base.gyp:base',
420 '../net/net.gyp:net', 426 '../net/net.gyp:net',
427 '../net/net.gyp:net_test_support',
421 '../net/net.gyp:quic_tools', 428 '../net/net.gyp:quic_tools',
422 '../url/url.gyp:url_lib', 429 '../url/url.gyp:url_lib',
430 '../base/base.gyp:base_i18n',
431 '../third_party/icu/icu.gyp:icui18n',
432 '../third_party/icu/icu.gyp:icuuc',
423 ], 433 ],
424 }, 434 },
425 { 435 {
426 'target_name': 'cronet_test_apk', 436 'target_name': 'cronet_test_apk',
427 'type': 'none', 437 'type': 'none',
428 'dependencies': [ 438 'dependencies': [
429 'cronet', 439 'cronet',
430 ], 440 ],
431 'variables': { 441 'variables': {
432 'apk_name': 'CronetTest', 442 'apk_name': 'CronetTest',
433 'java_in_dir': 'cronet/android/test', 443 'java_in_dir': 'cronet/android/test',
434 'resource_dir': 'cronet/android/test/res', 444 'resource_dir': 'cronet/android/test/res',
445 'asset_location': 'cronet/android/test/assets',
435 'native_lib_target': 'libcronet_tests', 446 'native_lib_target': 'libcronet_tests',
436 }, 447 },
437 'includes': [ '../build/java_apk.gypi' ], 448 'includes': [ '../build/java_apk.gypi' ],
438 }, 449 },
439 { 450 {
440 # cronet_test_apk creates a .jar as a side effect. Any java targets 451 # cronet_test_apk creates a .jar as a side effect. Any java targets
441 # that need that .jar in their classpath should depend on this target, 452 # that need that .jar in their classpath should depend on this target,
442 # cronet_sample_apk_java. Dependents of cronet_test_apk receive its 453 # cronet_sample_apk_java. Dependents of cronet_test_apk receive its
443 # jar path in the variable 'apk_output_jar_path'. This target should 454 # jar path in the variable 'apk_output_jar_path'. This target should
444 # only be used by targets which instrument cronet_test_apk. 455 # only be used by targets which instrument cronet_test_apk.
(...skipping 18 matching lines...) Expand all
463 'java_in_dir': 'cronet/android/test/javatests', 474 'java_in_dir': 'cronet/android/test/javatests',
464 'resource_dir': 'cronet/android/test/res', 475 'resource_dir': 'cronet/android/test/res',
465 'is_test_apk': 1, 476 'is_test_apk': 1,
466 }, 477 },
467 'includes': [ '../build/java_apk.gypi' ], 478 'includes': [ '../build/java_apk.gypi' ],
468 }, 479 },
469 ], 480 ],
470 }], # OS=="android" 481 }], # OS=="android"
471 ], 482 ],
472 } 483 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698