Chromium Code Reviews| 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 'variables': { | 9 'variables': { |
| 10 'conditions': [ | 10 'conditions': [ |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 212 'host/installer/win/', | 212 'host/installer/win/', |
| 213 ], | 213 ], |
| 214 'remoting_host_installer_win_files': [ | 214 'remoting_host_installer_win_files': [ |
| 215 'host/installer/win/chromoting.wxs', | 215 'host/installer/win/chromoting.wxs', |
| 216 'host/installer/win/parameters.json', | 216 'host/installer/win/parameters.json', |
| 217 ], | 217 ], |
| 218 }, | 218 }, |
| 219 | 219 |
| 220 'includes': [ | 220 'includes': [ |
| 221 '../chrome/js_unittest_vars.gypi', | 221 '../chrome/js_unittest_vars.gypi', |
| 222 'remoting_android.gypi', | |
| 222 ], | 223 ], |
| 223 | 224 |
| 224 'target_defaults': { | 225 'target_defaults': { |
| 225 'defines': [ | 226 'defines': [ |
| 226 'BINARY_CORE=1', | 227 'BINARY_CORE=1', |
| 227 'BINARY_DESKTOP=2', | 228 'BINARY_DESKTOP=2', |
| 228 'BINARY_HOST_ME2ME=3', | 229 'BINARY_HOST_ME2ME=3', |
| 229 'BINARY_HOST_PLUGIN=4', | 230 'BINARY_HOST_PLUGIN=4', |
| 230 ], | 231 ], |
| 231 'include_dirs': [ | 232 'include_dirs': [ |
| (...skipping 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1803 '--output', '<@(_outputs)', | 1804 '--output', '<@(_outputs)', |
| 1804 '<@(remoting_locales)', | 1805 '<@(remoting_locales)', |
| 1805 ], | 1806 ], |
| 1806 'message': 'Localizing the version information' | 1807 'message': 'Localizing the version information' |
| 1807 }, | 1808 }, |
| 1808 ], | 1809 ], |
| 1809 }, # end of target 'remoting_version_resources' | 1810 }, # end of target 'remoting_version_resources' |
| 1810 ], # end of 'targets' | 1811 ], # end of 'targets' |
| 1811 }], # 'OS=="win"' | 1812 }], # 'OS=="win"' |
| 1812 | 1813 |
| 1813 ['OS=="android"', { | |
| 1814 'targets': [ | |
| 1815 { | |
| 1816 'target_name': 'remoting_jni_headers', | |
| 1817 'type': 'none', | |
| 1818 'sources': [ | |
| 1819 'android/java/src/org/chromium/chromoting/jni/JniInterface.java', | |
| 1820 ], | |
| 1821 'variables': { | |
| 1822 'jni_gen_package': 'remoting', | |
| 1823 }, | |
| 1824 'includes': [ '../build/jni_generator.gypi' ], | |
| 1825 }, # end of target 'remoting_jni_headers' | |
| 1826 { | |
| 1827 'target_name': 'remoting_client_jni', | |
| 1828 'type': 'shared_library', | |
| 1829 'dependencies': [ | |
| 1830 'remoting_base', | |
| 1831 'remoting_client', | |
| 1832 'remoting_jingle_glue', | |
| 1833 'remoting_jni_headers', | |
| 1834 'remoting_protocol', | |
| 1835 '../google_apis/google_apis.gyp:google_apis', | |
| 1836 ], | |
| 1837 'sources': [ | |
| 1838 'client/jni/android_keymap.cc', | |
| 1839 'client/jni/android_keymap.h', | |
| 1840 'client/jni/chromoting_jni_instance.cc', | |
| 1841 'client/jni/chromoting_jni_instance.h', | |
| 1842 'client/jni/chromoting_jni_onload.cc', | |
| 1843 'client/jni/chromoting_jni_runtime.cc', | |
| 1844 'client/jni/chromoting_jni_runtime.h', | |
| 1845 'client/jni/jni_frame_consumer.cc', | |
| 1846 'client/jni/jni_frame_consumer.h', | |
| 1847 ], | |
| 1848 }, # end of target 'remoting_client_jni' | |
| 1849 { | |
| 1850 'target_name': 'remoting_android_resources', | |
| 1851 'type': 'none', | |
| 1852 'copies': [ | |
| 1853 { | |
| 1854 'destination': '<(SHARED_INTERMEDIATE_DIR)/remoting/android/res/dr awable', | |
| 1855 'files': [ | |
| 1856 'resources/chromoting128.png', | |
| 1857 'resources/icon_host.png', | |
| 1858 ], | |
| 1859 }, | |
| 1860 { | |
| 1861 'destination': '<(SHARED_INTERMEDIATE_DIR)/remoting/android/res/la yout', | |
| 1862 'files': [ | |
| 1863 'resources/layout/main.xml', | |
| 1864 'resources/layout/host.xml', | |
| 1865 'resources/layout/pin_dialog.xml', | |
| 1866 ], | |
| 1867 }, | |
| 1868 { | |
| 1869 'destination': '<(SHARED_INTERMEDIATE_DIR)/remoting/android/res/me nu', | |
| 1870 'files': [ | |
| 1871 'resources/menu/chromoting_actionbar.xml', | |
| 1872 'resources/menu/desktop_actionbar.xml', | |
| 1873 ], | |
| 1874 }, | |
| 1875 { | |
| 1876 'destination': '<(SHARED_INTERMEDIATE_DIR)/remoting/android/res/va lues', | |
| 1877 'files': [ | |
| 1878 'resources/strings.xml', | |
| 1879 'resources/styles.xml', | |
| 1880 ], | |
| 1881 }, | |
| 1882 ], | |
| 1883 }, # end of target 'remoting_android_resources' | |
| 1884 { | |
| 1885 'target_name': 'remoting_apk', | |
| 1886 'type': 'none', | |
| 1887 'dependencies': [ | |
| 1888 'remoting_client_jni', | |
| 1889 'remoting_android_resources', | |
| 1890 ], | |
| 1891 'variables': { | |
| 1892 'apk_name': 'Chromoting', | |
| 1893 'android_app_version_name': '<(version_full)', | |
| 1894 'android_app_version_code': '<!(python ../build/util/lastchange.py - -revision-only)', | |
| 1895 'manifest_package_name': 'org.chromium.chromoting', | |
| 1896 'native_lib_target': 'libremoting_client_jni', | |
| 1897 'java_in_dir': 'android/java', | |
| 1898 'additional_res_dirs': [ '<(SHARED_INTERMEDIATE_DIR)/remoting/androi d/res' ], | |
| 1899 'additional_input_paths': [ | |
| 1900 '<(PRODUCT_DIR)/obj/remoting/remoting_android_resources.actions_ru les_copies.stamp', | |
| 1901 ], | |
| 1902 }, | |
| 1903 'includes': [ '../build/java_apk.gypi' ], | |
| 1904 }, # end of target 'remoting_apk' | |
| 1905 { | |
| 1906 # remoting_apk creates a .jar file as a side effect. Any Java targets | |
| 1907 # that need that .jar in their classpath should depend on this target. | |
| 1908 'target_name': 'remoting_apk_java', | |
| 1909 'type': 'none', | |
| 1910 'dependencies': [ | |
| 1911 'remoting_apk', | |
| 1912 ], | |
| 1913 'includes': [ '../build/apk_fake_jar.gypi' ], | |
| 1914 }, # end of target 'remoting_apk_java' | |
| 1915 { | |
| 1916 'target_name': 'remoting_test_apk', | |
| 1917 'type': 'none', | |
| 1918 'dependencies': [ | |
| 1919 '../base/base.gyp:base_java_test_support', | |
| 1920 'remoting_apk_java', | |
| 1921 ], | |
| 1922 'variables': { | |
| 1923 'apk_name': 'ChromotingTest', | |
| 1924 'java_in_dir': 'android/javatests', | |
| 1925 'is_test_apk': 1, | |
| 1926 }, | |
| 1927 'includes': [ '../build/java_apk.gypi' ], | |
| 1928 }, # end of target 'remoting_test_apk' | |
| 1929 ], # end of 'targets' | |
| 1930 }], # 'OS=="android"' | |
| 1931 | |
| 1932 ['OS=="android" and gtest_target_type=="shared_library"', { | |
| 1933 'targets': [ | |
| 1934 { | |
| 1935 'target_name': 'remoting_unittests_apk', | |
| 1936 'type': 'none', | |
| 1937 'dependencies': [ | |
| 1938 'remoting_unittests', | |
| 1939 ], | |
| 1940 'variables': { | |
| 1941 'test_suite_name': 'remoting_unittests', | |
| 1942 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)remoting_ unittests<(SHARED_LIB_SUFFIX)', | |
| 1943 }, | |
| 1944 'includes': [ '../build/apk_test.gypi' ], | |
| 1945 }, | |
| 1946 ], | |
| 1947 }], # 'OS=="android" and gtest_target_type=="shared_library"' | |
| 1948 | |
| 1949 # The host installation is generated only if WiX is available. If | 1814 # The host installation is generated only if WiX is available. If |
| 1950 # component build is used the produced installation will not work due to | 1815 # component build is used the produced installation will not work due to |
| 1951 # missing DLLs. We build it anyway to make sure the GYP scripts are executed | 1816 # missing DLLs. We build it anyway to make sure the GYP scripts are executed |
| 1952 # by the bots. | 1817 # by the bots. |
| 1953 ['OS == "win" and wix_exists == "True" and sas_dll_exists == "True"', { | 1818 ['OS == "win" and wix_exists == "True" and sas_dll_exists == "True"', { |
| 1954 'targets': [ | 1819 'targets': [ |
| 1955 { | 1820 { |
| 1956 'target_name': 'remoting_host_installation', | 1821 'target_name': 'remoting_host_installation', |
| 1957 'type': 'none', | 1822 'type': 'none', |
| 1958 'dependencies': [ | 1823 'dependencies': [ |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2153 'client/plugin/pepper_util.h', | 2018 'client/plugin/pepper_util.h', |
| 2154 'client/plugin/pepper_view.cc', | 2019 'client/plugin/pepper_view.cc', |
| 2155 'client/plugin/pepper_view.h', | 2020 'client/plugin/pepper_view.h', |
| 2156 ], | 2021 ], |
| 2157 'conditions' : [ | 2022 'conditions' : [ |
| 2158 [ '(OS!="linux" or chromeos==0)', { | 2023 [ '(OS!="linux" or chromeos==0)', { |
| 2159 'sources!': [ | 2024 'sources!': [ |
| 2160 'client/plugin/normalizing_input_filter_cros.cc', | 2025 'client/plugin/normalizing_input_filter_cros.cc', |
| 2161 ], | 2026 ], |
| 2162 }], | 2027 }], |
| 2163 [ 'OS=="android"', { | |
| 2164 'sources/': [ | |
| 2165 ['exclude', '^client/plugin/'], | |
|
Lambros
2014/01/09 00:28:29
This was excluding every source file from remoting
| |
| 2166 ], | |
| 2167 }], | |
| 2168 ], | 2028 ], |
| 2169 }, # end of target 'remoting_client_plugin' | 2029 }, # end of target 'remoting_client_plugin' |
| 2170 { | 2030 { |
| 2171 'target_name': 'remoting_host_event_logger', | 2031 'target_name': 'remoting_host_event_logger', |
| 2172 'type': 'static_library', | 2032 'type': 'static_library', |
| 2173 'variables': { 'enable_wexit_time_destructors': 1, }, | 2033 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 2174 'dependencies': [ | 2034 'dependencies': [ |
| 2175 'remoting_base', | 2035 'remoting_base', |
| 2176 ], | 2036 ], |
| 2177 'sources': [ | 2037 'sources': [ |
| (...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2995 ], | 2855 ], |
| 2996 'sources': [ | 2856 'sources': [ |
| 2997 '../chrome/test/base/v8_unit_test.cc', | 2857 '../chrome/test/base/v8_unit_test.cc', |
| 2998 '../chrome/test/base/v8_unit_test.h', | 2858 '../chrome/test/base/v8_unit_test.h', |
| 2999 'webapp/browser_globals.gtestjs', | 2859 'webapp/browser_globals.gtestjs', |
| 3000 'webapp/all_js_load.gtestjs', | 2860 'webapp/all_js_load.gtestjs', |
| 3001 'webapp/format_iq.gtestjs', | 2861 'webapp/format_iq.gtestjs', |
| 3002 '<@(remoting_webapp_js_files)', | 2862 '<@(remoting_webapp_js_files)', |
| 3003 ], | 2863 ], |
| 3004 }], | 2864 }], |
| 2865 [ 'OS=="android"', { | |
| 2866 'dependencies!': [ | |
| 2867 'remoting_client_plugin', | |
| 2868 ], | |
| 2869 }], | |
| 3005 ['OS=="android" and gtest_target_type=="shared_library"', { | 2870 ['OS=="android" and gtest_target_type=="shared_library"', { |
|
Lambros
2014/01/09 00:28:29
I wanted to pull this out as well, but I don't thi
| |
| 3006 'dependencies': [ | 2871 'dependencies': [ |
| 3007 '../testing/android/native_test.gyp:native_test_native_code', | 2872 '../testing/android/native_test.gyp:native_test_native_code', |
| 3008 ], | 2873 ], |
| 3009 }], | 2874 }], |
| 3010 [ '(OS!="linux" or chromeos==0)', { | 2875 [ '(OS!="linux" or chromeos==0)', { |
| 3011 'sources!': [ | 2876 'sources!': [ |
| 3012 'client/plugin/normalizing_input_filter_cros_unittest.cc', | 2877 'client/plugin/normalizing_input_filter_cros_unittest.cc', |
| 3013 ], | 2878 ], |
| 3014 }], | 2879 }], |
| 3015 ['enable_remoting_host == 0', { | 2880 ['enable_remoting_host == 0', { |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 3040 '../base/allocator/allocator.gyp:allocator', | 2905 '../base/allocator/allocator.gyp:allocator', |
| 3041 ], | 2906 ], |
| 3042 }, | 2907 }, |
| 3043 ], | 2908 ], |
| 3044 ], | 2909 ], |
| 3045 }], # end of 'toolkit_uses_gtk == 1' | 2910 }], # end of 'toolkit_uses_gtk == 1' |
| 3046 ], # end of 'conditions' | 2911 ], # end of 'conditions' |
| 3047 }, # end of target 'remoting_unittests' | 2912 }, # end of target 'remoting_unittests' |
| 3048 ], # end of targets | 2913 ], # end of targets |
| 3049 } | 2914 } |
| OLD | NEW |