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 21 matching lines...) Expand all Loading... | |
32 '../build/temp_gyp/googleurl.gyp:googleurl', | 32 '../build/temp_gyp/googleurl.gyp:googleurl', |
33 '../crypto/crypto.gyp:crypto', | 33 '../crypto/crypto.gyp:crypto', |
34 '../sdch/sdch.gyp:sdch', | 34 '../sdch/sdch.gyp:sdch', |
35 '../third_party/icu/icu.gyp:icui18n', | 35 '../third_party/icu/icu.gyp:icui18n', |
36 '../third_party/icu/icu.gyp:icuuc', | 36 '../third_party/icu/icu.gyp:icuuc', |
37 '../third_party/zlib/zlib.gyp:zlib', | 37 '../third_party/zlib/zlib.gyp:zlib', |
38 '../v8/tools/gyp/v8.gyp:v8', | 38 '../v8/tools/gyp/v8.gyp:v8', |
39 'net_resources', | 39 'net_resources', |
40 ], | 40 ], |
41 'sources': [ | 41 'sources': [ |
42 'android/network_change_notifier.cc', | |
43 'android/network_change_notifier.h', | |
44 'android/network_change_notifier_factory.cc', | |
45 'android/network_change_notifier_factory.h', | |
42 'android/network_library.cc', | 46 'android/network_library.cc', |
43 'android/network_library.h', | 47 'android/network_library.h', |
44 'base/address_family.h', | 48 'base/address_family.h', |
45 'base/address_list.cc', | 49 'base/address_list.cc', |
46 'base/address_list.h', | 50 'base/address_list.h', |
47 'base/address_list_net_log_param.cc', | 51 'base/address_list_net_log_param.cc', |
48 'base/address_list_net_log_param.h', | 52 'base/address_list_net_log_param.h', |
49 'base/asn1_util.cc', | 53 'base/asn1_util.cc', |
50 'base/asn1_util.h', | 54 'base/asn1_util.h', |
51 'base/auth.cc', | 55 'base/auth.cc', |
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
973 }, | 977 }, |
974 }, | 978 }, |
975 ], | 979 ], |
976 [ 'OS == "android"', { | 980 [ 'OS == "android"', { |
977 'defines': [ | 981 'defines': [ |
978 # Android can shut down our app at any time, so we persist session cookies. | 982 # Android can shut down our app at any time, so we persist session cookies. |
979 'ENABLE_PERSISTENT_SESSION_COOKIES' | 983 'ENABLE_PERSISTENT_SESSION_COOKIES' |
980 ], | 984 ], |
981 'dependencies': [ | 985 'dependencies': [ |
982 '../build/android/system.gyp:ssl', | 986 '../build/android/system.gyp:ssl', |
987 'net_java', | |
988 'net_jni_headers', | |
983 ], | 989 ], |
984 'sources/': [ | 990 'sources!': [ |
985 # TODO(jingzhao): The below files are excluded because of the | 991 # TODO(jingzhao): The below files are excluded because of the |
986 # missing JNI, add them back when JNI is ready. | 992 # missing JNI, add them back when JNI is ready. |
987 ['exclude', '^android/'], | 993 'android/network_library.cc', |
988 ], | 994 ], |
989 }, { # else OS! = "android" | 995 }, { # else OS! = "android" |
990 'defines': [ | 996 'defines': [ |
991 # These are the features Android doesn't support. | 997 # These are the features Android doesn't support. |
992 'ENABLE_MEDIA_CODEC_THEORA', | 998 'ENABLE_MEDIA_CODEC_THEORA', |
993 ], | 999 ], |
994 }, | 1000 }, |
995 ], | 1001 ], |
996 [ 'OS == "linux"', { | 1002 [ 'OS == "linux"', { |
997 'dependencies': [ | 1003 'dependencies': [ |
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1780 '../third_party/zlib/zlib.gyp:zlib', | 1786 '../third_party/zlib/zlib.gyp:zlib', |
1781 ], | 1787 ], |
1782 'sources': [ | 1788 'sources': [ |
1783 'curvecp/curvecp_transfer_unittest.cc', | 1789 'curvecp/curvecp_transfer_unittest.cc', |
1784 'curvecp/test_client.cc', | 1790 'curvecp/test_client.cc', |
1785 'curvecp/test_server.cc', | 1791 'curvecp/test_server.cc', |
1786 ], | 1792 ], |
1787 }, | 1793 }, |
1788 ] | 1794 ] |
1789 }], | 1795 }], |
1796 ['OS=="android"', { | |
1797 'targets': [ | |
1798 { | |
1799 'target_name': 'net_jni_headers', | |
1800 'type': 'none', | |
1801 'variables': { | |
1802 'java_sources': [ | |
1803 'android/java/org/chromium/net/NetworkChangeNotifier.java', | |
1804 ], | |
1805 'jni_headers': [ | |
1806 '<(SHARED_INTERMEDIATE_DIR)/net/jni/network_change_notifier_jni.h' , | |
1807 ], | |
1808 }, | |
1809 'includes': [ '../build/jni_generator.gypi' ], | |
1810 }, | |
1811 { | |
1812 'target_name': 'net_java', | |
1813 'type': 'none', | |
1814 'variables': { | |
1815 'package_name': 'net', | |
1816 'java_in_dir': '../net/android/java', | |
Yaron
2012/04/17 16:18:04
The "../net" prefix is needed otherwise the find p
Ryan Sleevi
2012/04/17 17:56:06
Really?
'java_in_dir': '.' should be relativized
Yaron
2012/04/17 22:47:38
Yes. If I leave it as "android/java", I see the fo
Ryan Sleevi
2012/04/17 22:54:42
Maybe I'm blind, but what's not correct there? I d
Yaron
2012/04/17 22:55:59
net/android/java/org/chromium/base/PathUtils.java
| |
1817 }, | |
1818 'dependencies': [ | |
1819 '../base/base.gyp:base_java', | |
1820 ], | |
1821 'includes': [ '../build/java.gypi' ], | |
1822 }, | |
1823 ], | |
1824 }], | |
1790 ['OS=="win"', { | 1825 ['OS=="win"', { |
1791 'targets': [ | 1826 'targets': [ |
1792 { | 1827 { |
1793 # TODO(port): dump_cache is still Windows-specific. | 1828 # TODO(port): dump_cache is still Windows-specific. |
1794 'target_name': 'dump_cache', | 1829 'target_name': 'dump_cache', |
1795 'type': 'executable', | 1830 'type': 'executable', |
1796 'dependencies': [ | 1831 'dependencies': [ |
1797 'net', | 1832 'net', |
1798 'net_test_support', | 1833 'net_test_support', |
1799 '../base/base.gyp:base', | 1834 '../base/base.gyp:base', |
1800 ], | 1835 ], |
1801 'sources': [ | 1836 'sources': [ |
1802 'tools/dump_cache/cache_dumper.cc', | 1837 'tools/dump_cache/cache_dumper.cc', |
1803 'tools/dump_cache/cache_dumper.h', | 1838 'tools/dump_cache/cache_dumper.h', |
1804 'tools/dump_cache/dump_cache.cc', | 1839 'tools/dump_cache/dump_cache.cc', |
1805 'tools/dump_cache/dump_files.cc', | 1840 'tools/dump_cache/dump_files.cc', |
1806 'tools/dump_cache/upgrade.cc', | 1841 'tools/dump_cache/upgrade.cc', |
1807 'tools/dump_cache/url_to_filename_encoder.cc', | 1842 'tools/dump_cache/url_to_filename_encoder.cc', |
1808 'tools/dump_cache/url_to_filename_encoder.h', | 1843 'tools/dump_cache/url_to_filename_encoder.h', |
1809 'tools/dump_cache/url_utilities.h', | 1844 'tools/dump_cache/url_utilities.h', |
1810 'tools/dump_cache/url_utilities.cc', | 1845 'tools/dump_cache/url_utilities.cc', |
1811 ], | 1846 ], |
1812 }, | 1847 }, |
1813 ], | 1848 ], |
1814 }], | 1849 }], |
1815 ], | 1850 ], |
1816 } | 1851 } |
OLD | NEW |