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