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

Side by Side Diff: net/net.gyp

Issue 278443003: Android: cleanup gtest_target_type conditions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « ipc/ipc.gyp ('k') | sandbox/linux/sandbox_linux.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'chromium_code': 1, 7 'chromium_code': 1,
8 8
9 'linux_link_kerberos%': 0, 9 'linux_link_kerberos%': 0,
10 'use_tracing_cache_backend%': 0, 10 'use_tracing_cache_backend%': 0,
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 }], 789 }],
790 [ 'OS == "android"', { 790 [ 'OS == "android"', {
791 'dependencies': [ 791 'dependencies': [
792 '../third_party/openssl/openssl.gyp:openssl', 792 '../third_party/openssl/openssl.gyp:openssl',
793 ], 793 ],
794 'sources!': [ 794 'sources!': [
795 'dns/dns_config_service_posix_unittest.cc', 795 'dns/dns_config_service_posix_unittest.cc',
796 ], 796 ],
797 }, 797 },
798 ], 798 ],
799 ['OS == "android" and gtest_target_type == "shared_library"', { 799 ['OS == "android"', {
800 # TODO(mmenke): This depends on test_support_base, which depends on 800 # TODO(mmenke): This depends on test_support_base, which depends on
801 # icu. Figure out a way to remove that dependency. 801 # icu. Figure out a way to remove that dependency.
802 'dependencies': [ 802 'dependencies': [
803 '../testing/android/native_test.gyp:native_test_native_code', 803 '../testing/android/native_test.gyp:native_test_native_code',
804 ] 804 ]
805 }], 805 }],
806 [ 'use_icu_alternatives_on_android == 1', { 806 [ 'use_icu_alternatives_on_android == 1', {
807 'dependencies!': [ 807 'dependencies!': [
808 '../base/base.gyp:base_i18n', 808 '../base/base.gyp:base_i18n',
809 ], 809 ],
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
1619 'android/java/PrivateKeyType.template', 1619 'android/java/PrivateKeyType.template',
1620 ], 1620 ],
1621 'variables': { 1621 'variables': {
1622 'package_name': 'org/chromium/net', 1622 'package_name': 'org/chromium/net',
1623 'template_deps': ['android/private_key_type_list.h'], 1623 'template_deps': ['android/private_key_type_list.h'],
1624 }, 1624 },
1625 'includes': [ '../build/android/java_cpp_template.gypi' ], 1625 'includes': [ '../build/android/java_cpp_template.gypi' ],
1626 }, 1626 },
1627 ], 1627 ],
1628 }], 1628 }],
1629 # Special target to wrap a gtest_target_type==shared_library 1629 ['OS == "android"', {
1630 # net_unittests into an android apk for execution.
1631 # See base.gyp for TODO(jrg)s about this strategy.
1632 ['OS == "android" and gtest_target_type == "shared_library"', {
1633 'targets': [ 1630 'targets': [
1634 { 1631 {
1635 'target_name': 'net_unittests_apk', 1632 'target_name': 'net_unittests_apk',
1636 'type': 'none', 1633 'type': 'none',
1637 'dependencies': [ 1634 'dependencies': [
1638 'net_java', 1635 'net_java',
1639 'net_javatests', 1636 'net_javatests',
1640 'net_unittests', 1637 'net_unittests',
1641 ], 1638 ],
1642 'variables': { 1639 'variables': {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1674 'net_unittests.isolate', 1671 'net_unittests.isolate',
1675 ], 1672 ],
1676 'sources': [ 1673 'sources': [
1677 'net_unittests.isolate', 1674 'net_unittests.isolate',
1678 ], 1675 ],
1679 }, 1676 },
1680 ], 1677 ],
1681 }], 1678 }],
1682 ], 1679 ],
1683 } 1680 }
OLDNEW
« no previous file with comments | « ipc/ipc.gyp ('k') | sandbox/linux/sandbox_linux.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698