[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 1 | # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
rockot | 5354cb9d | 2015-02-11 23:54:31 | [diff] [blame] | 6 | 'includes': [ |
| 7 | 'extensions.gypi', |
| 8 | ], |
[email protected] | 9e00f36 | 2013-10-23 20:41:10 | [diff] [blame] | 9 | 'variables': { |
| 10 | 'chromium_code': 1, |
| 11 | }, |
[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 12 | 'targets': [ |
| 13 | { |
rockot | 5354cb9d | 2015-02-11 23:54:31 | [diff] [blame] | 14 | # GN version: //extensions/common |
| 15 | 'target_name': 'extensions_common_constants', |
| 16 | 'type': 'static_library', |
| 17 | 'include_dirs': [ |
| 18 | '..', |
| 19 | '<(INTERMEDIATE_DIR)', |
| 20 | ], |
| 21 | 'sources': [ |
| 22 | '<@(extensions_common_constants_sources)', |
| 23 | ], |
| 24 | # Disable c4267 warnings until we fix size_t to int truncations. |
| 25 | 'msvs_disabled_warnings': [ 4267, ], |
| 26 | }, |
| 27 | { |
sammc | a0a73e5 | 2014-10-07 04:53:16 | [diff] [blame] | 28 | # GN version: //extensions/common:mojo |
| 29 | 'target_name': 'extensions_common_mojo', |
| 30 | # The type of this target must be none. This is so that resources can |
| 31 | # depend upon this target for generating the js bindings files. Any |
| 32 | # generated cpp files must be listed explicitly in extensions_common |
| 33 | 'type': 'none', |
| 34 | 'includes': [ |
rockot | c637caf9b | 2016-02-10 09:57:08 | [diff] [blame] | 35 | '../mojo/mojom_bindings_generator.gypi', |
sammc | a0a73e5 | 2014-10-07 04:53:16 | [diff] [blame] | 36 | ], |
| 37 | 'sources': [ |
rockot | 5354cb9d | 2015-02-11 23:54:31 | [diff] [blame] | 38 | '<@(extensions_common_mojo_sources)', |
sammc | a0a73e5 | 2014-10-07 04:53:16 | [diff] [blame] | 39 | ], |
mikhail.pozdnyakov | 61a28e37 | 2016-01-14 15:24:05 | [diff] [blame] | 40 | 'conditions': [ |
eero.hakkinen | 51607a4 | 2016-04-29 15:08:19 | [diff] [blame] | 41 | ['proprietary_codecs==1 and enable_wifi_display==1', { |
mikhail.pozdnyakov | 61a28e37 | 2016-01-14 15:24:05 | [diff] [blame] | 42 | 'sources': [ |
| 43 | '<@(extensions_common_mojo_sources_wifi_display)', |
| 44 | ], |
| 45 | }], |
| 46 | ], |
sammc | a0a73e5 | 2014-10-07 04:53:16 | [diff] [blame] | 47 | }, |
| 48 | { |
[email protected] | 4205a96e | 2014-07-23 14:08:18 | [diff] [blame] | 49 | # GN version: //extensions/common |
[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 50 | 'target_name': 'extensions_common', |
| 51 | 'type': 'static_library', |
| 52 | 'dependencies': [ |
[email protected] | 8c83fe0 | 2014-08-15 19:07:35 | [diff] [blame] | 53 | '../components/components.gyp:crx_file', |
[email protected] | 716c016 | 2013-12-13 20:36:53 | [diff] [blame] | 54 | '../components/components.gyp:url_matcher', |
[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 55 | '../content/content.gyp:content_common', |
[email protected] | abe4d45 | 2014-04-05 07:51:38 | [diff] [blame] | 56 | '../crypto/crypto.gyp:crypto', |
thestig | da556af | 2014-11-01 00:51:31 | [diff] [blame] | 57 | '../device/bluetooth/bluetooth.gyp:device_bluetooth', |
| 58 | # For Mojo generated headers for generated_api.cc. |
| 59 | '../device/serial/serial.gyp:device_serial_mojo', |
| 60 | '../device/usb/usb.gyp:device_usb', |
[email protected] | abe4d45 | 2014-04-05 07:51:38 | [diff] [blame] | 61 | '../ipc/ipc.gyp:ipc', |
| 62 | '../net/net.gyp:net', |
mostynb | 18f4375 | 2015-02-23 19:02:39 | [diff] [blame] | 63 | '../third_party/icu/icu.gyp:icuuc', |
[email protected] | abe4d45 | 2014-04-05 07:51:38 | [diff] [blame] | 64 | '../third_party/re2/re2.gyp:re2', |
| 65 | '../ui/base/ui_base.gyp:ui_base', |
| 66 | '../ui/gfx/gfx.gyp:gfx_geometry', |
fsamuel | 6b98cf9 | 2016-04-28 05:42:24 | [diff] [blame] | 67 | '../ui/gfx/ipc/geometry/gfx_ipc_geometry.gyp:gfx_ipc_geometry', |
[email protected] | ffff5b3 | 2014-06-25 21:31:08 | [diff] [blame] | 68 | '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', |
markdittmer | 99d77bf | 2016-03-31 19:03:24 | [diff] [blame] | 69 | '../ui/gfx/ipc/skia/gfx_ipc_skia.gyp:gfx_ipc_skia', |
[email protected] | abe4d45 | 2014-04-05 07:51:38 | [diff] [blame] | 70 | '../url/url.gyp:url_lib', |
davidben | 9cd4b5758 | 2015-10-02 16:46:39 | [diff] [blame] | 71 | '../third_party/boringssl/boringssl.gyp:boringssl', |
[email protected] | 8571810 | 2014-08-08 21:07:06 | [diff] [blame] | 72 | '../third_party/libxml/libxml.gyp:libxml', |
markdittmer | 67b71ea | 2016-03-03 22:40:03 | [diff] [blame] | 73 | '../url/ipc/url_ipc.gyp:url_ipc', |
thestig | da556af | 2014-11-01 00:51:31 | [diff] [blame] | 74 | 'common/api/api.gyp:extensions_api', |
hanxi | 46c567a | 2014-10-02 17:55:22 | [diff] [blame] | 75 | 'extensions_resources.gyp:extensions_resources', |
[email protected] | 99c0125b | 2014-04-17 05:21:57 | [diff] [blame] | 76 | 'extensions_strings.gyp:extensions_strings', |
thestig | cdced8a | 2014-10-20 21:45:04 | [diff] [blame] | 77 | 'extensions_common_constants', |
sammc | a0a73e5 | 2014-10-07 04:53:16 | [diff] [blame] | 78 | 'extensions_common_mojo', |
[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 79 | ], |
| 80 | 'include_dirs': [ |
| 81 | '..', |
| 82 | '<(INTERMEDIATE_DIR)', |
| 83 | ], |
| 84 | 'sources': [ |
rockot | 5354cb9d | 2015-02-11 23:54:31 | [diff] [blame] | 85 | '<@(extensions_common_sources)', |
| 86 | |
| 87 | # Mojom generated files should not be included in the common gypi source |
| 88 | # list because GN has proper mojom dependency support. |
sammc | b2c4362 | 2014-10-23 07:49:41 | [diff] [blame] | 89 | '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/keep_alive.mojom.cc', |
| 90 | '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/keep_alive.mojom.h', |
sammc | b9eefc9 | 2014-10-24 02:26:08 | [diff] [blame] | 91 | '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/stash.mojom.cc', |
| 92 | '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/stash.mojom.h', |
[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 93 | ], |
| 94 | # Disable c4267 warnings until we fix size_t to int truncations. |
| 95 | 'msvs_disabled_warnings': [ 4267, ], |
[email protected] | d6ec84a | 2013-11-01 13:07:38 | [diff] [blame] | 96 | 'conditions': [ |
[email protected] | b90f343 | 2014-08-07 20:40:07 | [diff] [blame] | 97 | ['disable_nacl==0', { |
| 98 | # NaClModulesHandler does not use any code in NaCl, so no dependency |
| 99 | # on nacl_common. |
| 100 | 'sources': [ |
rockot | 5354cb9d | 2015-02-11 23:54:31 | [diff] [blame] | 101 | '<@(extensions_common_sources_nacl)', |
[email protected] | b90f343 | 2014-08-07 20:40:07 | [diff] [blame] | 102 | ], |
| 103 | }], |
[email protected] | d6ec84a | 2013-11-01 13:07:38 | [diff] [blame] | 104 | ], |
[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 105 | }, |
| 106 | { |
[email protected] | 6f9866a | 2014-07-26 20:06:35 | [diff] [blame] | 107 | # GN version: //extensions/browser |
[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 108 | 'target_name': 'extensions_browser', |
| 109 | 'type': 'static_library', |
| 110 | 'dependencies': [ |
[email protected] | 39ca2051 | 2014-07-24 12:35:52 | [diff] [blame] | 111 | '../base/base.gyp:base', |
jshin | 8b581d8 | 2015-08-07 10:11:09 | [diff] [blame] | 112 | '../base/base.gyp:base_i18n', |
lazyboy | d5b8383 | 2015-04-26 14:58:32 | [diff] [blame] | 113 | '../components/components.gyp:browsing_data', |
ryanchung | d318d76 | 2016-05-05 17:22:12 | [diff] [blame] | 114 | '../components/components.gyp:cast_certificate', |
reillyg | 4a84927 | 2015-02-20 21:38:43 | [diff] [blame] | 115 | '../components/components.gyp:device_event_log_component', |
fsamuel | af5bf6d1 | 2015-05-28 16:29:54 | [diff] [blame] | 116 | '../components/components.gyp:guest_view_browser', |
[email protected] | 8c2802b | 2014-04-04 18:37:03 | [diff] [blame] | 117 | '../components/components.gyp:keyed_service_content', |
[email protected] | ac73cdf1 | 2014-06-13 09:27:20 | [diff] [blame] | 118 | '../components/components.gyp:keyed_service_core', |
stevenjb | d194dd136 | 2015-01-28 17:30:08 | [diff] [blame] | 119 | '../components/components.gyp:onc_component', |
[email protected] | f0c8c499 | 2014-05-15 17:37:26 | [diff] [blame] | 120 | '../components/components.gyp:pref_registry', |
rohitrao | d16f44e | 2014-10-24 15:34:35 | [diff] [blame] | 121 | '../components/components.gyp:sessions_content', |
thiago.santos | 89e236b | 2014-09-05 13:29:49 | [diff] [blame] | 122 | '../components/components.gyp:storage_monitor', |
asargent | 631a99a | 2015-10-15 21:51:48 | [diff] [blame] | 123 | '../components/components.gyp:update_client', |
kalman | 4f89cad4 | 2015-04-20 18:24:05 | [diff] [blame] | 124 | '../components/components.gyp:variations', |
asargent | 631a99a | 2015-10-15 21:51:48 | [diff] [blame] | 125 | '../components/components.gyp:version_info', |
hanxi | 2183a5ca | 2014-09-23 04:20:27 | [diff] [blame] | 126 | '../components/components.gyp:web_cache_browser', |
[email protected] | 2accabe | 2014-08-20 07:48:29 | [diff] [blame] | 127 | '../components/components.gyp:web_modal', |
juncai | a64f769c2 | 2016-06-04 00:55:32 | [diff] [blame] | 128 | '../components/components.gyp:zoom', |
brettw | 58cd1f1 | 2016-01-30 05:56:05 | [diff] [blame] | 129 | '../components/prefs/prefs.gyp:prefs', |
[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 130 | '../content/content.gyp:content_browser', |
thestig | 8146daf | 2014-08-29 23:41:06 | [diff] [blame] | 131 | '../device/bluetooth/bluetooth.gyp:device_bluetooth', |
[email protected] | ab93069 | 2014-07-10 22:46:22 | [diff] [blame] | 132 | '../device/serial/serial.gyp:device_serial', |
rockot | 05f40a92 | 2014-10-16 19:40:25 | [diff] [blame] | 133 | '../google_apis/google_apis.gyp:google_apis', |
[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 134 | '../skia/skia.gyp:skia', |
[email protected] | 47b870f | 2014-03-01 00:34:00 | [diff] [blame] | 135 | '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
wjmaclean | c66af526 | 2014-09-19 16:25:47 | [diff] [blame] | 136 | '../third_party/re2/re2.gyp:re2', |
yoz | 774dcda2d | 2014-08-27 03:32:58 | [diff] [blame] | 137 | 'browser/api/api_registration.gyp:extensions_api_registration', |
kmarshall | d61f0b9 | 2014-09-22 17:10:31 | [diff] [blame] | 138 | 'common/api/api.gyp:cast_channel_proto', |
[email protected] | 99c0125b | 2014-04-17 05:21:57 | [diff] [blame] | 139 | 'common/api/api.gyp:extensions_api', |
| 140 | 'extensions_common', |
hanxi | 46c567a | 2014-10-02 17:55:22 | [diff] [blame] | 141 | 'extensions_resources.gyp:extensions_resources', |
[email protected] | 99c0125b | 2014-04-17 05:21:57 | [diff] [blame] | 142 | 'extensions_strings.gyp:extensions_strings', |
[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 143 | ], |
| 144 | 'include_dirs': [ |
| 145 | '..', |
| 146 | '<(INTERMEDIATE_DIR)', |
[email protected] | 98b6d94 | 2013-11-10 00:34:07 | [diff] [blame] | 147 | # Needed to access generated API headers. |
| 148 | '<(SHARED_INTERMEDIATE_DIR)', |
[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 149 | ], |
| 150 | 'sources': [ |
rockot | 5354cb9d | 2015-02-11 23:54:31 | [diff] [blame] | 151 | '<@(extensions_browser_sources)', |
[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 152 | ], |
[email protected] | be514c3 | 2014-03-17 23:30:44 | [diff] [blame] | 153 | 'conditions': [ |
thestig | da556af | 2014-11-01 00:51:31 | [diff] [blame] | 154 | # This condition exists only because the extensions_common_constants |
| 155 | # target is always built and thus this file gets evaluated by GYP. |
| 156 | # This does not need to be replicated into extensions/browser/BUILD.gn. |
| 157 | ['OS == "ios" or OS == "android"', { |
[email protected] | 6e84e2c1 | 2014-05-05 18:40:11 | [diff] [blame] | 158 | 'dependencies!': [ |
thiago.santos | 89e236b | 2014-09-05 13:29:49 | [diff] [blame] | 159 | '../components/components.gyp:storage_monitor', |
[email protected] | 6e84e2c1 | 2014-05-05 18:40:11 | [diff] [blame] | 160 | ], |
[email protected] | be514c3 | 2014-03-17 23:30:44 | [diff] [blame] | 161 | }], |
jamescook | f1545b58 | 2014-12-16 18:16:33 | [diff] [blame] | 162 | ['chromeos == 1', { |
| 163 | 'dependencies': [ |
| 164 | '../chromeos/chromeos.gyp:chromeos', |
| 165 | ], |
kaliamoorthi | 80a3d7d | 2014-11-19 19:30:49 | [diff] [blame] | 166 | 'sources': [ |
rockot | 5354cb9d | 2015-02-11 23:54:31 | [diff] [blame] | 167 | '<@(extensions_browser_sources_chromeos)', |
sudarsana.nagineni | dc80f4b7 | 2015-02-09 14:12:47 | [diff] [blame] | 168 | ], |
| 169 | }, { # chromeos==0 |
| 170 | 'sources': [ |
rockot | 5354cb9d | 2015-02-11 23:54:31 | [diff] [blame] | 171 | '<@(extensions_browser_sources_nonchromeos)', |
sudarsana.nagineni | dc80f4b7 | 2015-02-09 14:12:47 | [diff] [blame] | 172 | ], |
kaliamoorthi | 80a3d7d | 2014-11-19 19:30:49 | [diff] [blame] | 173 | }], |
stevenjb | d194dd136 | 2015-01-28 17:30:08 | [diff] [blame] | 174 | ['OS == "win" or OS == "mac"', { |
| 175 | 'dependencies': [ |
| 176 | '../components/components.gyp:wifi_component', |
| 177 | ], |
| 178 | 'sources': [ |
rockot | 5354cb9d | 2015-02-11 23:54:31 | [diff] [blame] | 179 | '<@(extensions_browser_sources_win_or_mac)', |
stevenjb | d194dd136 | 2015-01-28 17:30:08 | [diff] [blame] | 180 | ], |
| 181 | }], |
| 182 | ['OS == "linux" and chromeos == 0', { |
| 183 | 'dependencies': [ |
| 184 | '../build/linux/system.gyp:dbus', |
| 185 | '../dbus/dbus.gyp:dbus', |
| 186 | ], |
| 187 | 'sources': [ |
rockot | 5354cb9d | 2015-02-11 23:54:31 | [diff] [blame] | 188 | '<@(extensions_browser_sources_linux_nonchromeos)', |
stevenjb | d194dd136 | 2015-01-28 17:30:08 | [diff] [blame] | 189 | ], |
| 190 | }], |
eero.hakkinen | 51607a4 | 2016-04-29 15:08:19 | [diff] [blame] | 191 | ['proprietary_codecs==1 and enable_wifi_display == 1', { |
mikhail.pozdnyakov | 61a28e37 | 2016-01-14 15:24:05 | [diff] [blame] | 192 | 'sources': [ |
| 193 | '<@(extensions_browser_sources_wifi_display)', |
| 194 | '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/wifi_display_session_service.mojom.cc', |
| 195 | '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/wifi_display_session_service.mojom.h', |
| 196 | ], |
| 197 | }], |
[email protected] | be514c3 | 2014-03-17 23:30:44 | [diff] [blame] | 198 | ], |
[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 199 | # Disable c4267 warnings until we fix size_t to int truncations. |
| 200 | 'msvs_disabled_warnings': [ 4267, ], |
| 201 | }, |
[email protected] | f971f9ca | 2014-01-07 21:28:49 | [diff] [blame] | 202 | { |
[email protected] | 016eeef8 | 2014-08-01 20:37:43 | [diff] [blame] | 203 | # GN version: //extensions/renderer |
[email protected] | b8ce52f | 2014-04-04 22:45:15 | [diff] [blame] | 204 | 'target_name': 'extensions_renderer', |
| 205 | 'type': 'static_library', |
[email protected] | b6cd472 | 2014-05-01 22:04:06 | [diff] [blame] | 206 | 'dependencies': [ |
| 207 | 'extensions_resources.gyp:extensions_resources', |
fsamuel | af5bf6d1 | 2015-05-28 16:29:54 | [diff] [blame] | 208 | '../components/components.gyp:guest_view_renderer', |
markdittmer | 67b71ea | 2016-03-03 22:40:03 | [diff] [blame] | 209 | '../content/content.gyp:content_common', |
thestig | bce0267 | 2014-08-26 10:01:34 | [diff] [blame] | 210 | '../content/content.gyp:content_resources', |
[email protected] | d9f51dad | 2014-07-09 05:39:38 | [diff] [blame] | 211 | '../gin/gin.gyp:gin', |
rockot | c637caf9b | 2016-02-10 09:57:08 | [diff] [blame] | 212 | '../mojo/mojo_public.gyp:mojo_js_bindings', |
[email protected] | b6cd472 | 2014-05-01 22:04:06 | [diff] [blame] | 213 | '../third_party/WebKit/public/blink.gyp:blink', |
| 214 | ], |
[email protected] | b8ce52f | 2014-04-04 22:45:15 | [diff] [blame] | 215 | 'include_dirs': [ |
| 216 | '..', |
| 217 | ], |
| 218 | 'sources': [ |
rockot | 5354cb9d | 2015-02-11 23:54:31 | [diff] [blame] | 219 | '<@(extensions_renderer_sources)', |
[email protected] | b8ce52f | 2014-04-04 22:45:15 | [diff] [blame] | 220 | ], |
[email protected] | b8ce52f | 2014-04-04 22:45:15 | [diff] [blame] | 221 | # Disable c4267 warnings until we fix size_t to int truncations. |
| 222 | 'msvs_disabled_warnings': [ 4267, ], |
mikhail.pozdnyakov | 61a28e37 | 2016-01-14 15:24:05 | [diff] [blame] | 223 | 'conditions': [ |
eero.hakkinen | 51607a4 | 2016-04-29 15:08:19 | [diff] [blame] | 224 | ['proprietary_codecs==1 and enable_wifi_display==1', { |
mikhail.pozdnyakov | da8ee69 | 2016-02-29 08:59:33 | [diff] [blame] | 225 | 'dependencies': [ |
eero.hakkinen | 51607a4 | 2016-04-29 15:08:19 | [diff] [blame] | 226 | '../third_party/openh264/openh264.gyp:openh264_encoder', |
mikhail.pozdnyakov | da8ee69 | 2016-02-29 08:59:33 | [diff] [blame] | 227 | '../third_party/wds/wds.gyp:libwds', |
| 228 | ], |
mikhail.pozdnyakov | 61a28e37 | 2016-01-14 15:24:05 | [diff] [blame] | 229 | 'sources': [ |
mikhail.pozdnyakov | da8ee69 | 2016-02-29 08:59:33 | [diff] [blame] | 230 | '<@(extensions_renderer_sources_wifi_display)', |
mikhail.pozdnyakov | 61a28e37 | 2016-01-14 15:24:05 | [diff] [blame] | 231 | ], |
| 232 | }], |
| 233 | ], |
[email protected] | b8ce52f | 2014-04-04 22:45:15 | [diff] [blame] | 234 | }, |
| 235 | { |
rockot | 3813023 | 2014-11-06 18:50:01 | [diff] [blame] | 236 | # GN version: //extensions/utility |
| 237 | 'target_name': 'extensions_utility', |
| 238 | 'type': 'static_library', |
| 239 | 'dependencies': [ |
tapted | eeda21f | 2015-06-19 07:55:10 | [diff] [blame] | 240 | '../content/content.gyp:content_common', |
rockot | 3813023 | 2014-11-06 18:50:01 | [diff] [blame] | 241 | '../content/content.gyp:content_utility', |
reed | e617734 | 2015-08-12 01:27:33 | [diff] [blame] | 242 | '../skia/skia.gyp:skia', |
asargent | 9156f029 | 2015-01-15 01:07:02 | [diff] [blame] | 243 | '../third_party/zlib/google/zip.gyp:zip', |
rockot | 3813023 | 2014-11-06 18:50:01 | [diff] [blame] | 244 | 'extensions_common', |
asargent | 33f39fe | 2015-01-23 22:56:02 | [diff] [blame] | 245 | 'extensions_strings.gyp:extensions_strings', |
rockot | 3813023 | 2014-11-06 18:50:01 | [diff] [blame] | 246 | ], |
| 247 | 'include_dirs': [ |
| 248 | '..', |
| 249 | ], |
| 250 | 'sources': [ |
rockot | 5354cb9d | 2015-02-11 23:54:31 | [diff] [blame] | 251 | '<@(extensions_utility_sources)', |
rockot | 3813023 | 2014-11-06 18:50:01 | [diff] [blame] | 252 | ], |
| 253 | }, |
| 254 | { |
[email protected] | 016eeef8 | 2014-08-01 20:37:43 | [diff] [blame] | 255 | # GN version: //extensions:test_support |
[email protected] | f971f9ca | 2014-01-07 21:28:49 | [diff] [blame] | 256 | 'target_name': 'extensions_test_support', |
| 257 | 'type': 'static_library', |
| 258 | 'dependencies': [ |
[email protected] | f971f9ca | 2014-01-07 21:28:49 | [diff] [blame] | 259 | '../base/base.gyp:base', |
krasin | bb63c0a | 2015-07-28 19:04:17 | [diff] [blame] | 260 | '../components/components.gyp:pref_registry_test_support', |
yoz | b6272ef | 2014-08-28 02:23:05 | [diff] [blame] | 261 | '../components/components.gyp:user_prefs', |
brettw | 58cd1f1 | 2016-01-30 05:56:05 | [diff] [blame] | 262 | '../components/prefs/prefs.gyp:prefs_test_support', |
jamescook | 6211792 | 2014-10-20 14:35:11 | [diff] [blame] | 263 | '../content/content.gyp:content_browser', |
| 264 | '../content/content.gyp:content_common', |
| 265 | '../content/content_shell_and_tests.gyp:test_support_content', |
[email protected] | e49e1014 | 2014-07-23 06:52:41 | [diff] [blame] | 266 | '../net/net.gyp:net_test_support', |
[email protected] | 98e1617 | 2014-03-06 20:52:32 | [diff] [blame] | 267 | '../testing/gtest.gyp:gtest', |
andrewhayden | 1e7cf43 | 2016-06-09 12:41:29 | [diff] [blame] | 268 | '../third_party/cld_2/cld_2.gyp:cld_2', |
yoz | 774dcda2d | 2014-08-27 03:32:58 | [diff] [blame] | 269 | 'browser/api/api_registration.gyp:extensions_api_registration', |
jamescook | f112ccd | 2015-02-06 18:06:33 | [diff] [blame] | 270 | 'common/api/api.gyp:cast_channel_proto', |
[email protected] | f0e9ac55 | 2014-05-07 14:26:50 | [diff] [blame] | 271 | 'common/api/api.gyp:extensions_api', |
[email protected] | 99c0125b | 2014-04-17 05:21:57 | [diff] [blame] | 272 | 'extensions_browser', |
| 273 | 'extensions_common', |
[email protected] | bc8a092 | 2014-08-20 00:51:08 | [diff] [blame] | 274 | 'extensions_resources.gyp:extensions_resources', |
[email protected] | f971f9ca | 2014-01-07 21:28:49 | [diff] [blame] | 275 | ], |
| 276 | 'include_dirs': [ |
| 277 | '..', |
[email protected] | f0e9ac55 | 2014-05-07 14:26:50 | [diff] [blame] | 278 | '<(SHARED_INTERMEDIATE_DIR)', |
[email protected] | f971f9ca | 2014-01-07 21:28:49 | [diff] [blame] | 279 | ], |
| 280 | 'sources': [ |
rockot | 5354cb9d | 2015-02-11 23:54:31 | [diff] [blame] | 281 | '<@(extensions_test_support_sources)', |
[email protected] | f971f9ca | 2014-01-07 21:28:49 | [diff] [blame] | 282 | ], |
| 283 | # Disable c4267 warnings until we fix size_t to int truncations. |
| 284 | 'msvs_disabled_warnings': [ 4267, ], |
| 285 | }, |
[email protected] | abe4d45 | 2014-04-05 07:51:38 | [diff] [blame] | 286 | { |
[email protected] | 02b2c90 | 2014-07-30 16:34:40 | [diff] [blame] | 287 | # The pak file generated by this target is intended to be shared by |
| 288 | # both shell and test targets. It was combined because it might help a |
| 289 | # little bit with build time by avoiding a repack step (one instead of |
| 290 | # two). |
| 291 | 'target_name': 'extensions_shell_and_test_pak', |
[email protected] | b49ced6 | 2014-07-25 16:47:03 | [diff] [blame] | 292 | 'type': 'none', |
| 293 | 'dependencies': [ |
[email protected] | 02b2c90 | 2014-07-30 16:34:40 | [diff] [blame] | 294 | '../content/browser/devtools/devtools_resources.gyp:devtools_resources', |
thestig | bce0267 | 2014-08-26 10:01:34 | [diff] [blame] | 295 | '../content/content.gyp:content_resources', |
[email protected] | 02b2c90 | 2014-07-30 16:34:40 | [diff] [blame] | 296 | '../content/content_shell_and_tests.gyp:content_shell_resources', |
jamescook | ccffe0e | 2014-10-30 01:31:35 | [diff] [blame] | 297 | '../third_party/WebKit/public/blink_resources.gyp:blink_resources', |
[email protected] | 02b2c90 | 2014-07-30 16:34:40 | [diff] [blame] | 298 | '../ui/resources/ui_resources.gyp:ui_resources', |
[email protected] | b49ced6 | 2014-07-25 16:47:03 | [diff] [blame] | 299 | '../ui/strings/ui_strings.gyp:ui_strings', |
| 300 | 'extensions_resources.gyp:extensions_resources', |
[email protected] | 02b2c90 | 2014-07-30 16:34:40 | [diff] [blame] | 301 | 'extensions_strings.gyp:extensions_strings', |
jamescook | 6211792 | 2014-10-20 14:35:11 | [diff] [blame] | 302 | 'shell/app_shell_resources.gyp:app_shell_resources', |
[email protected] | b49ced6 | 2014-07-25 16:47:03 | [diff] [blame] | 303 | ], |
| 304 | 'actions': [ |
| 305 | { |
[email protected] | 02b2c90 | 2014-07-30 16:34:40 | [diff] [blame] | 306 | 'action_name': 'repack_extensions_shell_and_test_pak', |
[email protected] | b49ced6 | 2014-07-25 16:47:03 | [diff] [blame] | 307 | 'variables': { |
| 308 | 'pak_inputs': [ |
erg | a3c614c9 | 2015-04-03 17:47:51 | [diff] [blame] | 309 | '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_image_resources_100_percent.pak', |
| 310 | '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak', |
lfg | 0330a7e | 2014-09-12 22:58:28 | [diff] [blame] | 311 | '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.pak', |
[email protected] | f80685c3 | 2014-07-26 19:48:04 | [diff] [blame] | 312 | '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', |
[email protected] | 02b2c90 | 2014-07-30 16:34:40 | [diff] [blame] | 313 | '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', |
jamescook | 07cad33 | 2014-09-22 03:48:35 | [diff] [blame] | 314 | '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_browser_resources_100_percent.pak', |
[email protected] | b49ced6 | 2014-07-25 16:47:03 | [diff] [blame] | 315 | '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resources.pak', |
[email protected] | 02b2c90 | 2014-07-30 16:34:40 | [diff] [blame] | 316 | '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak', |
jamescook | 6211792 | 2014-10-20 14:35:11 | [diff] [blame] | 317 | '<(SHARED_INTERMEDIATE_DIR)/extensions/shell/app_shell_resources.pak', |
[email protected] | 02b2c90 | 2014-07-30 16:34:40 | [diff] [blame] | 318 | '<(SHARED_INTERMEDIATE_DIR)/extensions/strings/extensions_strings_en-US.pak', |
| 319 | '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak', |
[email protected] | b49ced6 | 2014-07-25 16:47:03 | [diff] [blame] | 320 | '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.pak', |
| 321 | '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', |
vivek.vg | 77816a1 | 2014-12-18 14:28:20 | [diff] [blame] | 322 | '<(SHARED_INTERMEDIATE_DIR)/blink/devtools_resources.pak', |
[email protected] | b49ced6 | 2014-07-25 16:47:03 | [diff] [blame] | 323 | ], |
[email protected] | 02b2c90 | 2014-07-30 16:34:40 | [diff] [blame] | 324 | 'pak_output': '<(PRODUCT_DIR)/extensions_shell_and_test.pak', |
[email protected] | b49ced6 | 2014-07-25 16:47:03 | [diff] [blame] | 325 | }, |
| 326 | 'includes': [ '../build/repack_action.gypi' ], |
| 327 | }, |
| 328 | ], |
| 329 | }, |
[email protected] | 8eb6d53 | 2013-09-25 21:45:56 | [diff] [blame] | 330 | ] |
| 331 | } |