| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 'layouttest_support_content_sources': [ | 7 'layouttest_support_content_sources': [ |
| 8 'public/test/layouttest_support.h', | 8 'public/test/layouttest_support.h', |
| 9 'public/test/nested_message_pump_android.cc', | 9 'public/test/nested_message_pump_android.cc', |
| 10 'public/test/nested_message_pump_android.h', | 10 'public/test/nested_message_pump_android.h', |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 'content_browsertests_webrtc_sources': [ | 276 'content_browsertests_webrtc_sources': [ |
| 277 'browser/media/webrtc_aecdump_browsertest.cc', | 277 'browser/media/webrtc_aecdump_browsertest.cc', |
| 278 'browser/media/webrtc_browsertest.cc', | 278 'browser/media/webrtc_browsertest.cc', |
| 279 'browser/media/webrtc_getusermedia_browsertest.cc', | 279 'browser/media/webrtc_getusermedia_browsertest.cc', |
| 280 'browser/media/webrtc_internals_browsertest.cc', | 280 'browser/media/webrtc_internals_browsertest.cc', |
| 281 'browser/media/webrtc_webcam_browsertest.cc', | 281 'browser/media/webrtc_webcam_browsertest.cc', |
| 282 'test/webrtc_content_browsertest_base.cc', | 282 'test/webrtc_content_browsertest_base.cc', |
| 283 'test/webrtc_content_browsertest_base.h', | 283 'test/webrtc_content_browsertest_base.h', |
| 284 ], | 284 ], |
| 285 'content_browsertests_plugins_sources': [ | 285 'content_browsertests_plugins_sources': [ |
| 286 'browser/plugin_data_remover_impl_browsertest.cc', | |
| 287 'browser/plugin_service_impl_browsertest.cc', | |
| 288 'renderer/pepper/fake_pepper_plugin_instance.cc', | 286 'renderer/pepper/fake_pepper_plugin_instance.cc', |
| 289 'renderer/pepper/mock_renderer_ppapi_host.cc', | 287 'renderer/pepper/mock_renderer_ppapi_host.cc', |
| 290 'renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc', | 288 'renderer/pepper/pepper_device_enumeration_host_helper_unittest.cc', |
| 291 'renderer/pepper/pepper_file_chooser_host_unittest.cc', | 289 'renderer/pepper/pepper_file_chooser_host_unittest.cc', |
| 292 'renderer/pepper/pepper_graphics_2d_host_unittest.cc', | 290 'renderer/pepper/pepper_graphics_2d_host_unittest.cc', |
| 293 'renderer/pepper/pepper_url_request_unittest.cc', | 291 'renderer/pepper/pepper_url_request_unittest.cc', |
| 294 'renderer/pepper/pepper_webplugin_impl_browsertest.cc', | 292 'renderer/pepper/pepper_webplugin_impl_browsertest.cc', |
| 295 'renderer/pepper/plugin_power_saver_helper_browsertest.cc', | 293 'renderer/pepper/plugin_power_saver_helper_browsertest.cc', |
| 296 'test/ppapi/ppapi_browsertest.cc', | 294 'test/ppapi/ppapi_browsertest.cc', |
| 297 'test/ppapi/ppapi_test.cc', | 295 'test/ppapi/ppapi_test.cc', |
| (...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1487 ['use_aura==1 or toolkit_views==1', { | 1485 ['use_aura==1 or toolkit_views==1', { |
| 1488 'dependencies': [ | 1486 'dependencies': [ |
| 1489 '../ui/events/events.gyp:events_test_support', | 1487 '../ui/events/events.gyp:events_test_support', |
| 1490 ], | 1488 ], |
| 1491 }], | 1489 }], |
| 1492 ['use_aura!=1 and OS!="mac"', { | 1490 ['use_aura!=1 and OS!="mac"', { |
| 1493 'sources!' :[ | 1491 'sources!' :[ |
| 1494 'browser/compositor/image_transport_factory_browsertest.cc', | 1492 'browser/compositor/image_transport_factory_browsertest.cc', |
| 1495 ], | 1493 ], |
| 1496 }], | 1494 }], |
| 1497 ['OS!="android" and OS!="ios" and OS!="linux"', { | |
| 1498 # npapi test plugin doesn't build on android or ios | |
| 1499 'dependencies': [ | |
| 1500 # Runtime dependencies | |
| 1501 'copy_npapi_test_plugin', | |
| 1502 ], | |
| 1503 }], | |
| 1504 ['enable_webrtc==1', { | 1495 ['enable_webrtc==1', { |
| 1505 'sources': [ '<@(content_browsertests_webrtc_sources)' ], | 1496 'sources': [ '<@(content_browsertests_webrtc_sources)' ], |
| 1506 'dependencies': [ | 1497 'dependencies': [ |
| 1507 '../testing/perf/perf_test.gyp:perf_test', | 1498 '../testing/perf/perf_test.gyp:perf_test', |
| 1508 ], | 1499 ], |
| 1509 }], | 1500 }], |
| 1510 ['enable_plugins==1', { | 1501 ['enable_plugins==1', { |
| 1511 'sources': [ '<@(content_browsertests_plugins_sources)' ], | 1502 'sources': [ '<@(content_browsertests_plugins_sources)' ], |
| 1512 'dependencies': [ | 1503 'dependencies': [ |
| 1513 '../ppapi/ppapi_internal.gyp:ppapi_tests', | 1504 '../ppapi/ppapi_internal.gyp:ppapi_tests', |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2053 'src_paths': [ | 2044 'src_paths': [ |
| 2054 'public/android/junit/', | 2045 'public/android/junit/', |
| 2055 ], | 2046 ], |
| 2056 }, | 2047 }, |
| 2057 'includes': [ | 2048 'includes': [ |
| 2058 '../build/host_jar.gypi', | 2049 '../build/host_jar.gypi', |
| 2059 ], | 2050 ], |
| 2060 }, | 2051 }, |
| 2061 ], | 2052 ], |
| 2062 }], | 2053 }], |
| 2063 ['OS!="android" and OS!="ios" and OS!="linux"', { | |
| 2064 # npapi test plugin doesn't build on android or ios | |
| 2065 'targets': [ | |
| 2066 { | |
| 2067 'target_name': 'npapi_test_plugin', | |
| 2068 'type': 'loadable_module', | |
| 2069 'variables': { | |
| 2070 'chromium_code': 1, | |
| 2071 }, | |
| 2072 'mac_bundle': 1, | |
| 2073 'dependencies': [ | |
| 2074 '<(DEPTH)/base/base.gyp:base', | |
| 2075 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | |
| 2076 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | |
| 2077 ], | |
| 2078 'sources': [ | |
| 2079 'test/plugin/npapi_constants.cc', | |
| 2080 'test/plugin/npapi_constants.h', | |
| 2081 'test/plugin/npapi_test.cc', | |
| 2082 'test/plugin/npapi_test.def', | |
| 2083 'test/plugin/npapi_test.rc', | |
| 2084 'test/plugin/plugin_arguments_test.cc', | |
| 2085 'test/plugin/plugin_arguments_test.h', | |
| 2086 'test/plugin/plugin_client.cc', | |
| 2087 'test/plugin/plugin_client.h', | |
| 2088 'test/plugin/plugin_create_instance_in_paint.cc', | |
| 2089 'test/plugin/plugin_create_instance_in_paint.h', | |
| 2090 'test/plugin/plugin_delete_plugin_in_deallocate_test.cc', | |
| 2091 'test/plugin/plugin_delete_plugin_in_deallocate_test.h', | |
| 2092 'test/plugin/plugin_delete_plugin_in_stream_test.cc', | |
| 2093 'test/plugin/plugin_delete_plugin_in_stream_test.h', | |
| 2094 'test/plugin/plugin_execute_stream_javascript.cc', | |
| 2095 'test/plugin/plugin_execute_stream_javascript.h', | |
| 2096 'test/plugin/plugin_get_javascript_url2_test.cc', | |
| 2097 'test/plugin/plugin_get_javascript_url2_test.h', | |
| 2098 'test/plugin/plugin_get_javascript_url_test.cc', | |
| 2099 'test/plugin/plugin_get_javascript_url_test.h', | |
| 2100 'test/plugin/plugin_geturl_test.cc', | |
| 2101 'test/plugin/plugin_geturl_test.h', | |
| 2102 'test/plugin/plugin_javascript_open_popup.cc', | |
| 2103 'test/plugin/plugin_javascript_open_popup.h', | |
| 2104 'test/plugin/plugin_new_fails_test.cc', | |
| 2105 'test/plugin/plugin_new_fails_test.h', | |
| 2106 'test/plugin/plugin_npobject_identity_test.cc', | |
| 2107 'test/plugin/plugin_npobject_identity_test.h', | |
| 2108 'test/plugin/plugin_npobject_lifetime_test.cc', | |
| 2109 'test/plugin/plugin_npobject_lifetime_test.h', | |
| 2110 'test/plugin/plugin_npobject_proxy_test.cc', | |
| 2111 'test/plugin/plugin_npobject_proxy_test.h', | |
| 2112 'test/plugin/plugin_private_test.cc', | |
| 2113 'test/plugin/plugin_private_test.h', | |
| 2114 'test/plugin/plugin_request_read_test.cc', | |
| 2115 'test/plugin/plugin_request_read_test.h', | |
| 2116 'test/plugin/plugin_schedule_timer_test.cc', | |
| 2117 'test/plugin/plugin_schedule_timer_test.h', | |
| 2118 'test/plugin/plugin_setup_test.cc', | |
| 2119 'test/plugin/plugin_setup_test.h', | |
| 2120 'test/plugin/plugin_test.cc', | |
| 2121 'test/plugin/plugin_test.h', | |
| 2122 'test/plugin/plugin_test_factory.cc', | |
| 2123 'test/plugin/plugin_test_factory.h', | |
| 2124 'test/plugin/plugin_thread_async_call_test.cc', | |
| 2125 'test/plugin/plugin_thread_async_call_test.h', | |
| 2126 'test/plugin/plugin_window_size_test.cc', | |
| 2127 'test/plugin/plugin_window_size_test.h', | |
| 2128 'test/plugin/plugin_windowed_test.cc', | |
| 2129 'test/plugin/plugin_windowed_test.h', | |
| 2130 'test/plugin/plugin_windowless_test.cc', | |
| 2131 'test/plugin/plugin_windowless_test.h', | |
| 2132 'test/plugin/resource.h', | |
| 2133 ], | |
| 2134 'include_dirs': [ | |
| 2135 '../..', | |
| 2136 ], | |
| 2137 'xcode_settings': { | |
| 2138 'INFOPLIST_FILE': '<(DEPTH)/content/test/plugin/Info.plist', | |
| 2139 }, | |
| 2140 'conditions': [ | |
| 2141 ['OS!="win"', { | |
| 2142 'sources!': [ | |
| 2143 # windows-specific resources | |
| 2144 'test/plugin/npapi_test.def', | |
| 2145 'test/plugin/npapi_test.rc', | |
| 2146 # Seems windows specific. | |
| 2147 'test/plugin/plugin_create_instance_in_paint.cc', | |
| 2148 'test/plugin/plugin_create_instance_in_paint.h', | |
| 2149 # TODO(port): Port these. | |
| 2150 # plugin_npobject_lifetime_test.cc has win32-isms | |
| 2151 # (HWND, CALLBACK). | |
| 2152 'test/plugin/plugin_npobject_lifetime_test.cc', | |
| 2153 # The window APIs are necessarily platform-specific. | |
| 2154 'test/plugin/plugin_window_size_test.cc', | |
| 2155 'test/plugin/plugin_windowed_test.cc', | |
| 2156 ], | |
| 2157 }], | |
| 2158 ['OS=="mac"', { | |
| 2159 'product_extension': 'plugin', | |
| 2160 'link_settings': { | |
| 2161 'libraries': [ | |
| 2162 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', | |
| 2163 ], | |
| 2164 }, | |
| 2165 }], | |
| 2166 ['os_posix == 1 and OS != "mac" and (target_arch == "x64" or target_
arch == "arm")', { | |
| 2167 # Shared libraries need -fPIC on x86-64 | |
| 2168 'cflags': ['-fPIC'] | |
| 2169 }], | |
| 2170 ], | |
| 2171 }, | |
| 2172 { | |
| 2173 'target_name': 'copy_npapi_test_plugin', | |
| 2174 'type': 'none', | |
| 2175 'dependencies': [ | |
| 2176 'npapi_test_plugin', | |
| 2177 ], | |
| 2178 'conditions': [ | |
| 2179 ['OS=="win"', { | |
| 2180 'copies': [ | |
| 2181 { | |
| 2182 'destination': '<(PRODUCT_DIR)/plugins', | |
| 2183 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.dll'], | |
| 2184 }, | |
| 2185 ], | |
| 2186 }], | |
| 2187 ['OS=="mac"', { | |
| 2188 'copies': [ | |
| 2189 { | |
| 2190 'destination': '<(PRODUCT_DIR)/plugins/', | |
| 2191 'files': ['<(PRODUCT_DIR)/npapi_test_plugin.plugin'], | |
| 2192 }, | |
| 2193 ] | |
| 2194 }], | |
| 2195 ['os_posix == 1 and OS != "mac"', { | |
| 2196 'copies': [ | |
| 2197 { | |
| 2198 'destination': '<(PRODUCT_DIR)/plugins', | |
| 2199 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], | |
| 2200 }, | |
| 2201 ], | |
| 2202 }], | |
| 2203 ], | |
| 2204 }, | |
| 2205 ], | |
| 2206 }], | |
| 2207 ], | 2054 ], |
| 2208 } | 2055 } |
| OLD | NEW |