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