OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'conditions': [ | 10 'conditions': [ |
(...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1023 'target_conditions': [ | 1023 'target_conditions': [ |
1024 ['OS == "android"', { | 1024 ['OS == "android"', { |
1025 'sources/': [ | 1025 'sources/': [ |
1026 ['include', '^base/platform_mime_util_linux\\.cc$'], | 1026 ['include', '^base/platform_mime_util_linux\\.cc$'], |
1027 ], | 1027 ], |
1028 }], | 1028 }], |
1029 ], | 1029 ], |
1030 }, | 1030 }, |
1031 { | 1031 { |
1032 'target_name': 'net_unittests', | 1032 'target_name': 'net_unittests', |
1033 'type': 'executable', | 1033 'type': '<(gtest_target_type)', |
1034 'dependencies': [ | 1034 'dependencies': [ |
1035 'net', | 1035 'net', |
1036 'net_test_support', | 1036 'net_test_support', |
1037 '../base/base.gyp:base', | 1037 '../base/base.gyp:base', |
1038 '../base/base.gyp:base_i18n', | 1038 '../base/base.gyp:base_i18n', |
1039 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', | 1039 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', |
1040 '../build/temp_gyp/googleurl.gyp:googleurl', | 1040 '../build/temp_gyp/googleurl.gyp:googleurl', |
1041 '../crypto/crypto.gyp:crypto', | 1041 '../crypto/crypto.gyp:crypto', |
1042 '../testing/gmock.gyp:gmock', | 1042 '../testing/gmock.gyp:gmock', |
1043 '../testing/gtest.gyp:gtest', | 1043 '../testing/gtest.gyp:gtest', |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1360 ], | 1360 ], |
1361 [ 'OS == "android"', { | 1361 [ 'OS == "android"', { |
1362 'dependencies': [ | 1362 'dependencies': [ |
1363 '../third_party/openssl/openssl.gyp:openssl', | 1363 '../third_party/openssl/openssl.gyp:openssl', |
1364 ], | 1364 ], |
1365 'sources!': [ | 1365 'sources!': [ |
1366 'dns/dns_config_service_posix_unittest.cc', | 1366 'dns/dns_config_service_posix_unittest.cc', |
1367 ], | 1367 ], |
1368 }, | 1368 }, |
1369 ], | 1369 ], |
1370 ['OS == "android" and gtest_target_type == "shared_library"', { | |
1371 'dependencies': [ | |
1372 '../testing/android/native_test.gyp:native_test_native_code', | |
1373 ] | |
1374 }], | |
1370 [ 'OS != "win" and OS != "mac"', { | 1375 [ 'OS != "win" and OS != "mac"', { |
1371 'sources!': [ | 1376 'sources!': [ |
1372 'base/x509_cert_types_unittest.cc', | 1377 'base/x509_cert_types_unittest.cc', |
1373 ], | 1378 ], |
1374 }] | 1379 }] |
1375 ], | 1380 ], |
1376 }, | 1381 }, |
1377 { | 1382 { |
1378 'target_name': 'net_unittests_run', | 1383 'target_name': 'net_unittests_run', |
1379 'type': 'none', | 1384 'type': 'none', |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1531 'proxy/proxy_config_service_common_unittest.h', | 1536 'proxy/proxy_config_service_common_unittest.h', |
1532 'socket/socket_test_util.cc', | 1537 'socket/socket_test_util.cc', |
1533 'socket/socket_test_util.h', | 1538 'socket/socket_test_util.h', |
1534 'test/base_test_server.cc', | 1539 'test/base_test_server.cc', |
1535 'test/base_test_server.h', | 1540 'test/base_test_server.h', |
1536 'test/local_test_server_posix.cc', | 1541 'test/local_test_server_posix.cc', |
1537 'test/local_test_server_win.cc', | 1542 'test/local_test_server_win.cc', |
1538 'test/local_test_server.cc', | 1543 'test/local_test_server.cc', |
1539 'test/local_test_server.h', | 1544 'test/local_test_server.h', |
1540 'test/python_utils.cc', | 1545 'test/python_utils.cc', |
1541 'test/python_utils.h', | 1546 'test/python_utils.h', |
1542 'test/remote_test_server.cc', | 1547 'test/remote_test_server.cc', |
1543 'test/remote_test_server.h', | 1548 'test/remote_test_server.h', |
1544 'test/spawner_communicator.cc', | 1549 'test/spawner_communicator.cc', |
1545 'test/spawner_communicator.h', | 1550 'test/spawner_communicator.h', |
1546 'test/test_server.h', | 1551 'test/test_server.h', |
1547 'url_request/url_request_test_util.cc', | 1552 'url_request/url_request_test_util.cc', |
1548 'url_request/url_request_test_util.h', | 1553 'url_request/url_request_test_util.h', |
1549 ], | 1554 ], |
1550 'conditions': [ | 1555 'conditions': [ |
1551 ['inside_chromium_build==1', { | 1556 ['inside_chromium_build==1', { |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1833 'package_name': 'net', | 1838 'package_name': 'net', |
1834 'java_in_dir': '../net/android/java', | 1839 'java_in_dir': '../net/android/java', |
1835 }, | 1840 }, |
1836 'dependencies': [ | 1841 'dependencies': [ |
1837 '../base/base.gyp:base_java', | 1842 '../base/base.gyp:base_java', |
1838 ], | 1843 ], |
1839 'includes': [ '../build/java.gypi' ], | 1844 'includes': [ '../build/java.gypi' ], |
1840 }, | 1845 }, |
1841 ], | 1846 ], |
1842 }], | 1847 }], |
1848 # Special target to wrap a gtest_target_type==shared_library | |
1849 # net_unittests into an android apk for execution. | |
1850 # See base.gyp for TODO(jrg)s about this strategy. | |
1851 ['OS == "android" and gtest_target_type == "shared_library"', { | |
1852 'targets': [ | |
1853 { | |
1854 'target_name': 'net_unittests_apk', | |
1855 'type': 'none', | |
1856 'dependencies': [ | |
1857 'net_unittests', | |
1858 '../base/base.gyp:base_java', | |
1859 'net_java', | |
Ryan Sleevi
2012/05/24 10:11:15
nit: sort
nilesh
2012/05/24 16:56:23
Done.
| |
1860 ], | |
1861 'variables': { | |
1862 'test_suite_name': 'net_unittests', | |
1863 'input_shlib_path': '<(PRODUCT_DIR)/lib.target/<(SHARED_LIB_PREFIX)n et_unittests<(SHARED_LIB_SUFFIX)', | |
1864 'input_jars_paths': [ | |
1865 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', | |
1866 '<(PRODUCT_DIR)/lib.java/chromium_net.jar', | |
1867 ], | |
1868 }, | |
1869 'includes': [ '../build/apk_test.gypi' ], | |
1870 }, | |
1871 ], | |
1872 }], | |
1843 ['OS=="win"', { | 1873 ['OS=="win"', { |
1844 'targets': [ | 1874 'targets': [ |
1845 { | 1875 { |
1846 # TODO(port): dump_cache is still Windows-specific. | 1876 # TODO(port): dump_cache is still Windows-specific. |
1847 'target_name': 'dump_cache', | 1877 'target_name': 'dump_cache', |
1848 'type': 'executable', | 1878 'type': 'executable', |
1849 'dependencies': [ | 1879 'dependencies': [ |
1850 'net', | 1880 'net', |
1851 'net_test_support', | 1881 'net_test_support', |
1852 '../base/base.gyp:base', | 1882 '../base/base.gyp:base', |
1853 ], | 1883 ], |
1854 'sources': [ | 1884 'sources': [ |
1855 'tools/dump_cache/cache_dumper.cc', | 1885 'tools/dump_cache/cache_dumper.cc', |
1856 'tools/dump_cache/cache_dumper.h', | 1886 'tools/dump_cache/cache_dumper.h', |
1857 'tools/dump_cache/dump_cache.cc', | 1887 'tools/dump_cache/dump_cache.cc', |
1858 'tools/dump_cache/dump_files.cc', | 1888 'tools/dump_cache/dump_files.cc', |
1859 'tools/dump_cache/upgrade.cc', | 1889 'tools/dump_cache/upgrade.cc', |
1860 'tools/dump_cache/url_to_filename_encoder.cc', | 1890 'tools/dump_cache/url_to_filename_encoder.cc', |
1861 'tools/dump_cache/url_to_filename_encoder.h', | 1891 'tools/dump_cache/url_to_filename_encoder.h', |
1862 'tools/dump_cache/url_utilities.h', | 1892 'tools/dump_cache/url_utilities.h', |
1863 'tools/dump_cache/url_utilities.cc', | 1893 'tools/dump_cache/url_utilities.cc', |
1864 ], | 1894 ], |
1865 }, | 1895 }, |
1866 ], | 1896 ], |
1867 }], | 1897 }], |
1868 ], | 1898 ], |
1869 } | 1899 } |
OLD | NEW |