[email protected] | a154f3b | 2012-03-12 06:50:58 | [diff] [blame] | 1 | # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | 0dd3a0ab | 2011-02-18 08:17:44 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
| 6 | 'variables': { |
| 7 | 'chromium_code': 1, # Use higher warning level. |
[email protected] | 4282e204 | 2013-05-17 03:43:15 | [diff] [blame] | 8 | 'chromium_enable_vtune_jit_for_v8%': 0, # enable the vtune support for V8 engine. |
[email protected] | dd0ef2f | 2014-04-16 21:52:49 | [diff] [blame] | 9 | 'directxsdk_exists': '<!pymod_do_main(dir_exists ../third_party/directxsdk)', |
[email protected] | 0dd3a0ab | 2011-02-18 08:17:44 | [diff] [blame] | 10 | }, |
[email protected] | 03ff5e5 | 2011-09-30 00:28:14 | [diff] [blame] | 11 | 'target_defaults': { |
| 12 | 'defines': ['CONTENT_IMPLEMENTATION'], |
[email protected] | ee582a5 | 2012-05-22 07:38:52 | [diff] [blame] | 13 | 'conditions': [ |
[email protected] | 88bc2cb | 2013-02-03 19:30:26 | [diff] [blame] | 14 | # TODO(jschuh): Remove this after crbug.com/173851 gets fixed. |
| 15 | ['OS=="win" and target_arch=="x64"', { |
| 16 | 'msvs_settings': { |
| 17 | 'VCCLCompilerTool': { |
| 18 | 'AdditionalOptions': ['/bigobj'], |
| 19 | }, |
| 20 | }, |
| 21 | }], |
[email protected] | ee582a5 | 2012-05-22 07:38:52 | [diff] [blame] | 22 | ], |
[email protected] | 03ff5e5 | 2011-09-30 00:28:14 | [diff] [blame] | 23 | }, |
[email protected] | 476035d | 2011-09-14 01:42:52 | [diff] [blame] | 24 | 'conditions': [ |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 25 | ['OS != "ios"', { |
| 26 | 'includes': [ |
jamesr | a912526 | 2014-11-19 01:35:28 | [diff] [blame] | 27 | '../build/win_precompile.gypi', |
thestig | bce0267 | 2014-08-26 10:01:34 | [diff] [blame] | 28 | 'content_resources.gypi', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 29 | ], |
| 30 | }], |
[email protected] | c9f5110 | 2014-08-22 00:06:22 | [diff] [blame] | 31 | ['OS == "win"', { |
| 32 | 'targets': [ |
| 33 | { |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 34 | # GN: //content:content_startup_helper_win |
[email protected] | c9f5110 | 2014-08-22 00:06:22 | [diff] [blame] | 35 | 'target_name': 'content_startup_helper_win', |
| 36 | 'type': 'static_library', |
| 37 | 'include_dirs': [ |
| 38 | '..', |
| 39 | ], |
| 40 | 'dependencies': [ |
| 41 | '../base/base.gyp:base', |
| 42 | '../base/base.gyp:base_i18n', |
| 43 | '../sandbox/sandbox.gyp:sandbox', |
| 44 | ], |
| 45 | 'sources': [ |
| 46 | 'app/startup_helper_win.cc', |
| 47 | 'public/app/startup_helper_win.h', |
| 48 | ], |
| 49 | } |
| 50 | ], |
| 51 | }], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 52 | # In component mode, we build all of content as a single DLL. |
| 53 | # However, in the static mode, we need to build content as multiple |
| 54 | # targets in order to prevent dependencies from getting introduced |
| 55 | # upstream unnecessarily (e.g., content_renderer depends on allocator |
| 56 | # and chrome_exe depends on content_common but we don't want |
| 57 | # chrome_exe to have to depend on allocator). |
| 58 | ['component=="static_library"', { |
| 59 | 'target_defines': [ |
| 60 | 'COMPILE_CONTENT_STATICALLY', |
| 61 | ], |
| 62 | 'targets': [ |
| 63 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 64 | # GN version: //content |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 65 | 'target_name': 'content', |
| 66 | 'type': 'none', |
| 67 | 'dependencies': [ |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 68 | 'content_browser', |
| 69 | 'content_common', |
| 70 | ], |
[email protected] | 102b81c | 2014-07-24 02:56:17 | [diff] [blame] | 71 | 'export_dependent_settings': [ |
| 72 | 'content_common', |
| 73 | ], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 74 | 'conditions': [ |
[email protected] | 1ff6429 | 2013-07-18 20:37:15 | [diff] [blame] | 75 | ['OS != "ios"', { |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 76 | 'dependencies': [ |
[email protected] | 77a5d4d | 2013-08-27 14:05:59 | [diff] [blame] | 77 | 'content_child', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 78 | 'content_gpu', |
| 79 | 'content_plugin', |
| 80 | 'content_ppapi_plugin', |
| 81 | 'content_renderer', |
| 82 | 'content_utility', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 83 | ], |
| 84 | }], |
| 85 | ], |
| 86 | }, |
| 87 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 88 | # GN version: //content/app:browser |
[email protected] | c955a8d | 2013-08-06 02:51:15 | [diff] [blame] | 89 | 'target_name': 'content_app_browser', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 90 | 'type': 'static_library', |
| 91 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 92 | 'includes': [ |
| 93 | 'content_app.gypi', |
| 94 | ], |
| 95 | 'dependencies': [ |
| 96 | 'content_common', |
| 97 | ], |
[email protected] | 102b81c | 2014-07-24 02:56:17 | [diff] [blame] | 98 | 'export_dependent_settings': [ |
| 99 | 'content_common', |
| 100 | ], |
[email protected] | 1ff6429 | 2013-07-18 20:37:15 | [diff] [blame] | 101 | 'conditions': [ |
| 102 | ['chrome_multiple_dll', { |
| 103 | 'defines': [ |
| 104 | 'CHROME_MULTIPLE_DLL_BROWSER', |
| 105 | ], |
| 106 | }], |
| 107 | ], |
| 108 | }, |
| 109 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 110 | # GN version: //content/app:child |
[email protected] | 1ff6429 | 2013-07-18 20:37:15 | [diff] [blame] | 111 | 'target_name': 'content_app_child', |
| 112 | 'type': 'static_library', |
| 113 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 114 | 'includes': [ |
| 115 | 'content_app.gypi', |
| 116 | ], |
| 117 | 'dependencies': [ |
| 118 | 'content_common', |
| 119 | ], |
[email protected] | 102b81c | 2014-07-24 02:56:17 | [diff] [blame] | 120 | 'export_dependent_settings': [ |
| 121 | 'content_common', |
| 122 | ], |
[email protected] | 1ff6429 | 2013-07-18 20:37:15 | [diff] [blame] | 123 | 'conditions': [ |
| 124 | ['chrome_multiple_dll', { |
| 125 | 'defines': [ |
| 126 | 'CHROME_MULTIPLE_DLL_CHILD', |
| 127 | ], |
| 128 | }], |
| 129 | ], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 130 | }, |
| 131 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 132 | # GN version: //content/app:both |
[email protected] | c955a8d | 2013-08-06 02:51:15 | [diff] [blame] | 133 | 'target_name': 'content_app_both', |
| 134 | 'type': 'static_library', |
| 135 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 136 | 'includes': [ |
| 137 | 'content_app.gypi', |
| 138 | ], |
| 139 | 'dependencies': [ |
| 140 | 'content_common', |
| 141 | ], |
[email protected] | 312c58b4 | 2014-03-16 05:05:19 | [diff] [blame] | 142 | 'export_dependent_settings': [ |
| 143 | 'content_common', |
| 144 | ], |
[email protected] | c955a8d | 2013-08-06 02:51:15 | [diff] [blame] | 145 | }, |
| 146 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 147 | # GN version: //content/browser and //content/public/browser |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 148 | 'target_name': 'content_browser', |
| 149 | 'type': 'static_library', |
| 150 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 151 | 'includes': [ |
| 152 | 'content_browser.gypi', |
fdegans | d7a59f9 | 2014-10-23 11:49:54 | [diff] [blame] | 153 | # Disable LTO due to ELF section name out of range |
| 154 | # crbug.com/422251 |
| 155 | '../build/android/disable_lto.gypi', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 156 | ], |
| 157 | 'dependencies': [ |
[email protected] | 71abef6e | 2013-01-16 09:12:59 | [diff] [blame] | 158 | 'content_common', |
[email protected] | 71abef6e | 2013-01-16 09:12:59 | [diff] [blame] | 159 | ], |
[email protected] | 102b81c | 2014-07-24 02:56:17 | [diff] [blame] | 160 | 'export_dependent_settings': [ |
| 161 | 'content_common', |
| 162 | ], |
[email protected] | 71abef6e | 2013-01-16 09:12:59 | [diff] [blame] | 163 | 'conditions': [ |
[email protected] | 8707caa | 2013-09-04 16:41:30 | [diff] [blame] | 164 | ['java_bridge==1', { |
| 165 | 'dependencies': [ |
| 166 | 'content_child', |
| 167 | ] |
| 168 | }], |
| 169 | ['OS=="android"', { |
[email protected] | 71abef6e | 2013-01-16 09:12:59 | [diff] [blame] | 170 | 'dependencies': [ |
| 171 | 'content_gpu', |
[email protected] | 6d057a0c | 2013-07-09 21:12:07 | [diff] [blame] | 172 | 'content_utility', |
[email protected] | 71abef6e | 2013-01-16 09:12:59 | [diff] [blame] | 173 | ], |
| 174 | }], |
thestig | bce0267 | 2014-08-26 10:01:34 | [diff] [blame] | 175 | ['OS != "ios"', { |
| 176 | 'dependencies': [ |
| 177 | 'content_resources', |
| 178 | ], |
| 179 | }], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 180 | ], |
| 181 | }, |
| 182 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 183 | # GN version: //content/common and //content/public/common |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 184 | 'target_name': 'content_common', |
| 185 | 'type': 'static_library', |
| 186 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 187 | 'includes': [ |
| 188 | 'content_common.gypi', |
| 189 | ], |
| 190 | 'conditions': [ |
| 191 | ['OS != "ios"', { |
| 192 | 'dependencies': [ |
thestig | bce0267 | 2014-08-26 10:01:34 | [diff] [blame] | 193 | 'content_resources', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 194 | ], |
| 195 | }], |
| 196 | ], |
[email protected] | a26bc694 | 2013-02-13 15:29:02 | [diff] [blame] | 197 | # Disable c4267 warnings until we fix size_t to int truncations. |
| 198 | 'msvs_disabled_warnings': [ 4267, ], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 199 | }, |
| 200 | ], |
| 201 | 'conditions': [ |
| 202 | ['OS != "ios"', { |
| 203 | 'targets': [ |
| 204 | { |
[email protected] | 6b9028ab | 2014-07-23 17:15:38 | [diff] [blame] | 205 | # GN version: //content/child and //content/public/child |
[email protected] | 77a5d4d | 2013-08-27 14:05:59 | [diff] [blame] | 206 | 'target_name': 'content_child', |
| 207 | 'type': 'static_library', |
| 208 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 209 | 'includes': [ |
| 210 | 'content_child.gypi', |
| 211 | ], |
| 212 | 'dependencies': [ |
thestig | bce0267 | 2014-08-26 10:01:34 | [diff] [blame] | 213 | 'content_resources', |
[email protected] | 77a5d4d | 2013-08-27 14:05:59 | [diff] [blame] | 214 | ], |
| 215 | # Disable c4267 warnings until we fix size_t to int truncations. |
| 216 | 'msvs_disabled_warnings': [ 4267, ], |
| 217 | }, |
| 218 | { |
[email protected] | 6b9028ab | 2014-07-23 17:15:38 | [diff] [blame] | 219 | # GN version: //content/gpu |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 220 | 'target_name': 'content_gpu', |
| 221 | 'type': 'static_library', |
| 222 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 223 | 'includes': [ |
| 224 | 'content_gpu.gypi', |
| 225 | ], |
| 226 | 'dependencies': [ |
[email protected] | 57fdef4b | 2013-07-23 15:33:38 | [diff] [blame] | 227 | 'content_child', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 228 | 'content_common', |
| 229 | ], |
| 230 | }, |
| 231 | { |
[email protected] | 6b9028ab | 2014-07-23 17:15:38 | [diff] [blame] | 232 | # GN version: //content/plugin and //content/public/plugin |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 233 | 'target_name': 'content_plugin', |
| 234 | 'type': 'static_library', |
| 235 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 236 | 'includes': [ |
| 237 | 'content_plugin.gypi', |
| 238 | ], |
| 239 | 'dependencies': [ |
[email protected] | c7199a6e | 2013-06-04 12:56:01 | [diff] [blame] | 240 | 'content_child', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 241 | 'content_common', |
| 242 | ], |
| 243 | }, |
| 244 | { |
[email protected] | 6b9028ab | 2014-07-23 17:15:38 | [diff] [blame] | 245 | # GN version: //content/ppapi_plugin |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 246 | 'target_name': 'content_ppapi_plugin', |
| 247 | 'type': 'static_library', |
| 248 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 249 | 'includes': [ |
| 250 | 'content_ppapi_plugin.gypi', |
| 251 | ], |
[email protected] | a26bc694 | 2013-02-13 15:29:02 | [diff] [blame] | 252 | # Disable c4267 warnings until we fix size_t to int truncations. |
| 253 | 'msvs_disabled_warnings': [ 4267, ], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 254 | }, |
| 255 | { |
[email protected] | 6b9028ab | 2014-07-23 17:15:38 | [diff] [blame] | 256 | # GN version: //content/renderer and //content/public/renderer |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 257 | 'target_name': 'content_renderer', |
| 258 | 'type': 'static_library', |
| 259 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 260 | 'includes': [ |
| 261 | 'content_renderer.gypi', |
| 262 | ], |
| 263 | 'dependencies': [ |
[email protected] | c7199a6e | 2013-06-04 12:56:01 | [diff] [blame] | 264 | 'content_child', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 265 | 'content_common', |
thestig | bce0267 | 2014-08-26 10:01:34 | [diff] [blame] | 266 | 'content_resources', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 267 | ], |
blundell | 75c7536 | 2014-11-21 10:08:23 | [diff] [blame] | 268 | 'export_dependent_settings': [ |
| 269 | 'content_common', |
| 270 | ], |
[email protected] | 4282e204 | 2013-05-17 03:43:15 | [diff] [blame] | 271 | 'conditions': [ |
| 272 | ['chromium_enable_vtune_jit_for_v8==1', { |
| 273 | 'dependencies': [ |
| 274 | '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', |
| 275 | ], |
| 276 | }], |
| 277 | ], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 278 | }, |
| 279 | { |
[email protected] | 6b9028ab | 2014-07-23 17:15:38 | [diff] [blame] | 280 | # GN version: //content/utility and //content/public/utility |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 281 | 'target_name': 'content_utility', |
| 282 | 'type': 'static_library', |
| 283 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 284 | 'includes': [ |
| 285 | 'content_utility.gypi', |
| 286 | ], |
| 287 | 'dependencies': [ |
[email protected] | 57fdef4b | 2013-07-23 15:33:38 | [diff] [blame] | 288 | 'content_child', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 289 | 'content_common', |
| 290 | ], |
| 291 | }, |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 292 | ], |
| 293 | }], |
| 294 | ], |
[email protected] | 476035d | 2011-09-14 01:42:52 | [diff] [blame] | 295 | }, |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 296 | { # component != static_library |
| 297 | 'targets': [ |
| 298 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 299 | # GN version: //content |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 300 | 'target_name': 'content', |
| 301 | 'type': 'shared_library', |
| 302 | 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 303 | 'dependencies': [ |
thestig | bce0267 | 2014-08-26 10:01:34 | [diff] [blame] | 304 | 'content_resources', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 305 | ], |
| 306 | 'conditions': [ |
[email protected] | 4282e204 | 2013-05-17 03:43:15 | [diff] [blame] | 307 | ['chromium_enable_vtune_jit_for_v8==1', { |
| 308 | 'dependencies': [ |
| 309 | '../v8/src/third_party/vtune/v8vtune.gyp:v8_vtune', |
| 310 | ], |
| 311 | }], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 312 | ], |
| 313 | 'includes': [ |
| 314 | 'content_app.gypi', |
| 315 | 'content_browser.gypi', |
[email protected] | c7199a6e | 2013-06-04 12:56:01 | [diff] [blame] | 316 | 'content_child.gypi', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 317 | 'content_common.gypi', |
| 318 | 'content_gpu.gypi', |
| 319 | 'content_plugin.gypi', |
| 320 | 'content_ppapi_plugin.gypi', |
| 321 | 'content_renderer.gypi', |
| 322 | 'content_utility.gypi', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 323 | ], |
| 324 | 'msvs_settings': { |
| 325 | 'VCLinkerTool': { |
| 326 | 'conditions': [ |
| 327 | ['incremental_chrome_dll==1', { |
| 328 | 'UseLibraryDependencyInputs': "true", |
| 329 | }], |
| 330 | ], |
| 331 | }, |
| 332 | }, |
| 333 | }, |
| 334 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 335 | # GN version: //content/app:browser |
[email protected] | c955a8d | 2013-08-06 02:51:15 | [diff] [blame] | 336 | 'target_name': 'content_app_browser', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 337 | 'type': 'none', |
| 338 | 'dependencies': ['content', 'content_browser'], |
| 339 | }, |
| 340 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 341 | # GN version: //content/app:child |
[email protected] | 1ff6429 | 2013-07-18 20:37:15 | [diff] [blame] | 342 | 'target_name': 'content_app_child', |
| 343 | 'type': 'none', |
| 344 | 'dependencies': ['content', 'content_child'], |
| 345 | }, |
| 346 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 347 | # GN version: //content/app:both |
[email protected] | c955a8d | 2013-08-06 02:51:15 | [diff] [blame] | 348 | 'target_name': 'content_app_both', |
| 349 | 'type': 'none', |
| 350 | 'dependencies': ['content'], |
[email protected] | 312c58b4 | 2014-03-16 05:05:19 | [diff] [blame] | 351 | 'export_dependent_settings': ['content'], |
[email protected] | c955a8d | 2013-08-06 02:51:15 | [diff] [blame] | 352 | }, |
| 353 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 354 | # GN version: //content/browser and //content/public/browser |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 355 | 'target_name': 'content_browser', |
| 356 | 'type': 'none', |
| 357 | 'dependencies': ['content'], |
[email protected] | 312c58b4 | 2014-03-16 05:05:19 | [diff] [blame] | 358 | 'export_dependent_settings': ['content'], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 359 | }, |
| 360 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 361 | # GN version: //content/common and //content/public/common |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 362 | 'target_name': 'content_common', |
| 363 | 'type': 'none', |
thestig | bce0267 | 2014-08-26 10:01:34 | [diff] [blame] | 364 | 'dependencies': ['content', 'content_resources'], |
[email protected] | a26bc694 | 2013-02-13 15:29:02 | [diff] [blame] | 365 | # Disable c4267 warnings until we fix size_t to int truncations. |
| 366 | 'msvs_disabled_warnings': [ 4267, ], |
[email protected] | 312c58b4 | 2014-03-16 05:05:19 | [diff] [blame] | 367 | 'export_dependent_settings': ['content'], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 368 | }, |
| 369 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 370 | # GN Version: //content/child |
[email protected] | c7199a6e | 2013-06-04 12:56:01 | [diff] [blame] | 371 | 'target_name': 'content_child', |
[email protected] | da81627 | 2013-05-15 21:31:17 | [diff] [blame] | 372 | 'type': 'none', |
| 373 | 'dependencies': ['content'], |
| 374 | }, |
| 375 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 376 | # GN version: //content/gpu |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 377 | 'target_name': 'content_gpu', |
| 378 | 'type': 'none', |
| 379 | 'dependencies': ['content'], |
| 380 | }, |
| 381 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 382 | # GN version: //content/plugin |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 383 | 'target_name': 'content_plugin', |
| 384 | 'type': 'none', |
| 385 | 'dependencies': ['content'], |
| 386 | }, |
| 387 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 388 | # GN version: //content/ppapi_plugin |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 389 | 'target_name': 'content_ppapi_plugin', |
| 390 | 'type': 'none', |
| 391 | 'dependencies': ['content'], |
[email protected] | a26bc694 | 2013-02-13 15:29:02 | [diff] [blame] | 392 | # Disable c4267 warnings until we fix size_t to int truncations. |
| 393 | 'msvs_disabled_warnings': [ 4267, ], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 394 | }, |
| 395 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 396 | # GN version: //content/renderer and //content/public/renderer |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 397 | 'target_name': 'content_renderer', |
| 398 | 'type': 'none', |
| 399 | 'dependencies': ['content'], |
blundell | 75c7536 | 2014-11-21 10:08:23 | [diff] [blame] | 400 | 'export_dependent_settings': ['content'], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 401 | }, |
| 402 | { |
[email protected] | 0e04359 | 2014-07-28 19:47:04 | [diff] [blame] | 403 | # GN version: //content/utility |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 404 | 'target_name': 'content_utility', |
| 405 | 'type': 'none', |
| 406 | 'dependencies': ['content'], |
[email protected] | 312c58b4 | 2014-03-16 05:05:19 | [diff] [blame] | 407 | 'export_dependent_settings': ['content'], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 408 | }, |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 409 | ], |
| 410 | }], |
| 411 | ['OS == "android"', { |
| 412 | 'targets': [ |
| 413 | { |
| 414 | 'target_name': 'common_aidl', |
| 415 | 'type': 'none', |
| 416 | 'variables': { |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 417 | 'aidl_interface_file': 'public/android/java/src/org/chromium/content/common/common.aidl', |
[email protected] | 8405f4e | 2014-06-05 21:01:22 | [diff] [blame] | 418 | 'aidl_import_include': 'public/android/java/src', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 419 | }, |
| 420 | 'sources': [ |
[email protected] | cee179e | 2013-03-19 01:43:36 | [diff] [blame] | 421 | 'public/android/java/src/org/chromium/content/common/IChildProcessCallback.aidl', |
| 422 | 'public/android/java/src/org/chromium/content/common/IChildProcessService.aidl', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 423 | ], |
| 424 | 'includes': [ '../build/java_aidl.gypi' ], |
| 425 | }, |
| 426 | { |
| 427 | 'target_name': 'content_java', |
| 428 | 'type': 'none', |
| 429 | 'dependencies': [ |
[email protected] | bb6bd1f | 2012-09-10 15:52:47 | [diff] [blame] | 430 | '../base/base.gyp:base', |
ppi | 2438a3e | 2014-10-28 21:55:10 | [diff] [blame] | 431 | '../device/battery/battery.gyp:device_battery_java', |
timvolodine | 8e29c14 | 2014-12-06 13:49:01 | [diff] [blame] | 432 | '../device/vibration/vibration.gyp:device_vibration_java', |
[email protected] | 4d4eb5b | 2013-01-29 21:55:55 | [diff] [blame] | 433 | '../media/media.gyp:media_java', |
ppi | f581fe9 | 2014-10-08 18:52:19 | [diff] [blame] | 434 | '../mojo/mojo_base.gyp:mojo_system_java', |
[email protected] | bb6bd1f | 2012-09-10 15:52:47 | [diff] [blame] | 435 | '../net/net.gyp:net', |
blundell | 70fb54767 | 2015-01-19 17:18:33 | [diff] [blame] | 436 | '../third_party/mojo/mojo_public.gyp:mojo_application_bindings', |
| 437 | '../third_party/mojo/mojo_public.gyp:mojo_bindings_java', |
[email protected] | f450287d | 2013-11-15 17:52:54 | [diff] [blame] | 438 | '../ui/android/ui_android.gyp:ui_java', |
mohsen | f837da7c | 2014-12-09 19:01:34 | [diff] [blame] | 439 | '../ui/touch_selection/ui_touch_selection.gyp:selection_event_type_java', |
avi.nitk | 083c38c | 2015-03-02 06:47:36 | [diff] [blame] | 440 | '../ui/touch_selection/ui_touch_selection.gyp:touch_handle_orientation_java', |
mkosiba | e890fe3 | 2015-01-12 19:53:57 | [diff] [blame] | 441 | '../third_party/WebKit/public/blink_headers.gyp:blink_headers_java', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 442 | 'common_aidl', |
jaekyun | 7bb2612 | 2015-01-27 22:52:58 | [diff] [blame] | 443 | 'console_message_level_java', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 444 | 'content_common', |
[email protected] | e8b5abf | 2014-05-12 14:25:07 | [diff] [blame] | 445 | 'content_strings_grd', |
[email protected] | 41dada5 | 2014-06-02 12:23:12 | [diff] [blame] | 446 | 'content_gamepad_mapping', |
[email protected] | a253247d | 2014-02-11 02:32:28 | [diff] [blame] | 447 | 'gesture_event_type_java', |
mnaganov | b2803fd | 2015-03-04 13:42:03 | [diff] [blame] | 448 | 'invalidate_types_java', |
mkosiba | e890fe3 | 2015-01-12 19:53:57 | [diff] [blame] | 449 | 'navigation_controller_java', |
[email protected] | 7b01f28d | 2013-12-05 00:26:57 | [diff] [blame] | 450 | 'popup_item_type_java', |
[email protected] | f804551d | 2013-03-07 04:12:13 | [diff] [blame] | 451 | 'result_codes_java', |
[email protected] | 6c59004 | 2013-06-14 12:23:26 | [diff] [blame] | 452 | 'speech_recognition_error_java', |
[email protected] | 9b00348 | 2013-05-21 14:00:17 | [diff] [blame] | 453 | 'top_controls_state_java', |
[email protected] | 67c7574 | 2014-03-14 15:13:24 | [diff] [blame] | 454 | 'screen_orientation_values_java', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 455 | ], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 456 | 'variables': { |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 457 | 'java_in_dir': '../content/public/android/java', |
[email protected] | 3ac50367 | 2012-11-16 20:39:20 | [diff] [blame] | 458 | 'has_java_resources': 1, |
| 459 | 'R_package': 'org.chromium.content', |
| 460 | 'R_package_relpath': 'org/chromium/content', |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 461 | }, |
| 462 | 'includes': [ '../build/java.gypi' ], |
| 463 | }, |
| 464 | { |
jaekyun | 7bb2612 | 2015-01-27 22:52:58 | [diff] [blame] | 465 | 'target_name': 'console_message_level_java', |
| 466 | 'type': 'none', |
| 467 | 'variables': { |
| 468 | 'source_file': 'public/common/console_message_level.h', |
| 469 | }, |
| 470 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 471 | }, |
| 472 | { |
[email protected] | e8b5abf | 2014-05-12 14:25:07 | [diff] [blame] | 473 | 'target_name': 'content_strings_grd', |
[email protected] | ca6b5d0 | 2014-06-20 22:47:21 | [diff] [blame] | 474 | # The android_webview/Android.mk file depends on this target directly. |
| 475 | 'android_unmangled_name': 1, |
[email protected] | e8b5abf | 2014-05-12 14:25:07 | [diff] [blame] | 476 | 'type': 'none', |
| 477 | 'variables': { |
| 478 | 'grd_file': '../content/public/android/java/strings/android_content_strings.grd', |
| 479 | }, |
| 480 | 'includes': [ |
| 481 | '../build/java_strings_grd.gypi', |
| 482 | ], |
| 483 | }, |
| 484 | { |
skyostil | 4db84b03 | 2014-10-02 10:08:56 | [diff] [blame] | 485 | 'target_name': 'content_gamepad_mapping', |
| 486 | 'type': 'none', |
| 487 | 'variables': { |
| 488 | 'source_file': 'browser/gamepad/gamepad_standard_mappings.h', |
| 489 | }, |
| 490 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 491 | }, |
| 492 | { |
[email protected] | a253247d | 2014-02-11 02:32:28 | [diff] [blame] | 493 | 'target_name': 'gesture_event_type_java', |
| 494 | 'type': 'none', |
[email protected] | a253247d | 2014-02-11 02:32:28 | [diff] [blame] | 495 | 'variables': { |
skyostil | 4db84b03 | 2014-10-02 10:08:56 | [diff] [blame] | 496 | 'source_file': 'browser/android/gesture_event_type.h', |
[email protected] | a253247d | 2014-02-11 02:32:28 | [diff] [blame] | 497 | }, |
skyostil | 4db84b03 | 2014-10-02 10:08:56 | [diff] [blame] | 498 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
[email protected] | a253247d | 2014-02-11 02:32:28 | [diff] [blame] | 499 | }, |
| 500 | { |
mnaganov | b2803fd | 2015-03-04 13:42:03 | [diff] [blame] | 501 | 'target_name': 'invalidate_types_java', |
| 502 | 'type': 'none', |
| 503 | 'variables': { |
| 504 | 'source_file': 'public/browser/invalidate_type.h', |
| 505 | }, |
| 506 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 507 | }, |
| 508 | { |
mkosiba | e890fe3 | 2015-01-12 19:53:57 | [diff] [blame] | 509 | 'target_name': 'navigation_controller_java', |
| 510 | 'type': 'none', |
| 511 | 'variables': { |
| 512 | 'source_file': 'public/browser/navigation_controller.h', |
| 513 | }, |
| 514 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 515 | }, |
| 516 | { |
[email protected] | 7b01f28d | 2013-12-05 00:26:57 | [diff] [blame] | 517 | 'target_name': 'popup_item_type_java', |
| 518 | 'type': 'none', |
[email protected] | 7b01f28d | 2013-12-05 00:26:57 | [diff] [blame] | 519 | 'variables': { |
skyostil | 4db84b03 | 2014-10-02 10:08:56 | [diff] [blame] | 520 | 'source_file': 'browser/android/content_view_core_impl.cc', |
[email protected] | 7b01f28d | 2013-12-05 00:26:57 | [diff] [blame] | 521 | }, |
skyostil | 4db84b03 | 2014-10-02 10:08:56 | [diff] [blame] | 522 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
[email protected] | 7b01f28d | 2013-12-05 00:26:57 | [diff] [blame] | 523 | }, |
| 524 | { |
[email protected] | f804551d | 2013-03-07 04:12:13 | [diff] [blame] | 525 | 'target_name': 'result_codes_java', |
| 526 | 'type': 'none', |
[email protected] | f804551d | 2013-03-07 04:12:13 | [diff] [blame] | 527 | 'variables': { |
skyostil | 4db84b03 | 2014-10-02 10:08:56 | [diff] [blame] | 528 | 'source_file': 'public/common/result_codes.h', |
[email protected] | f804551d | 2013-03-07 04:12:13 | [diff] [blame] | 529 | }, |
skyostil | 4db84b03 | 2014-10-02 10:08:56 | [diff] [blame] | 530 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
[email protected] | f804551d | 2013-03-07 04:12:13 | [diff] [blame] | 531 | }, |
| 532 | { |
[email protected] | 6c59004 | 2013-06-14 12:23:26 | [diff] [blame] | 533 | 'target_name': 'speech_recognition_error_java', |
| 534 | 'type': 'none', |
[email protected] | 6c59004 | 2013-06-14 12:23:26 | [diff] [blame] | 535 | 'variables': { |
skyostil | 4db84b03 | 2014-10-02 10:08:56 | [diff] [blame] | 536 | 'source_file': 'public/common/speech_recognition_error.h', |
[email protected] | 6c59004 | 2013-06-14 12:23:26 | [diff] [blame] | 537 | }, |
skyostil | 4db84b03 | 2014-10-02 10:08:56 | [diff] [blame] | 538 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
[email protected] | 6c59004 | 2013-06-14 12:23:26 | [diff] [blame] | 539 | }, |
| 540 | { |
[email protected] | 9b00348 | 2013-05-21 14:00:17 | [diff] [blame] | 541 | 'target_name': 'top_controls_state_java', |
| 542 | 'type': 'none', |
[email protected] | 9b00348 | 2013-05-21 14:00:17 | [diff] [blame] | 543 | 'variables': { |
skyostil | 4db84b03 | 2014-10-02 10:08:56 | [diff] [blame] | 544 | 'source_file': 'public/common/top_controls_state.h', |
[email protected] | 9b00348 | 2013-05-21 14:00:17 | [diff] [blame] | 545 | }, |
skyostil | 4db84b03 | 2014-10-02 10:08:56 | [diff] [blame] | 546 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
[email protected] | 9b00348 | 2013-05-21 14:00:17 | [diff] [blame] | 547 | }, |
| 548 | { |
[email protected] | 67c7574 | 2014-03-14 15:13:24 | [diff] [blame] | 549 | 'target_name': 'screen_orientation_values_java', |
| 550 | 'type': 'none', |
[email protected] | 67c7574 | 2014-03-14 15:13:24 | [diff] [blame] | 551 | 'variables': { |
skyostil | 4db84b03 | 2014-10-02 10:08:56 | [diff] [blame] | 552 | 'source_file': 'public/common/screen_orientation_values.h', |
[email protected] | 67c7574 | 2014-03-14 15:13:24 | [diff] [blame] | 553 | }, |
skyostil | 4db84b03 | 2014-10-02 10:08:56 | [diff] [blame] | 554 | 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
[email protected] | 67c7574 | 2014-03-14 15:13:24 | [diff] [blame] | 555 | }, |
| 556 | { |
[email protected] | 4cc1ab5 | 2013-01-21 19:24:34 | [diff] [blame] | 557 | 'target_name': 'java_set_jni_headers', |
| 558 | 'type': 'none', |
| 559 | 'variables': { |
[email protected] | 521cd94 | 2013-03-07 22:34:05 | [diff] [blame] | 560 | 'jni_gen_package': 'content', |
[email protected] | 4cc1ab5 | 2013-01-21 19:24:34 | [diff] [blame] | 561 | 'input_java_class': 'java/util/HashSet.class', |
[email protected] | 4cc1ab5 | 2013-01-21 19:24:34 | [diff] [blame] | 562 | }, |
| 563 | 'includes': [ '../build/jar_file_jni_generator.gypi' ], |
| 564 | }, |
[email protected] | 2b17b8ab | 2013-11-10 00:32:58 | [diff] [blame] | 565 | { |
[email protected] | c6b5794 | 2014-01-31 22:00:05 | [diff] [blame] | 566 | 'target_name': 'motionevent_jni_headers', |
| 567 | 'type': 'none', |
| 568 | 'variables': { |
| 569 | 'jni_gen_package': 'content', |
[email protected] | c6b5794 | 2014-01-31 22:00:05 | [diff] [blame] | 570 | 'input_java_class': 'android/view/MotionEvent.class', |
| 571 | }, |
| 572 | 'includes': [ '../build/jar_file_jni_generator.gypi' ], |
| 573 | }, |
| 574 | { |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 575 | 'target_name': 'content_jni_headers', |
| 576 | 'type': 'none', |
[email protected] | 33cb2c35 | 2012-09-24 11:01:41 | [diff] [blame] | 577 | 'dependencies': [ |
[email protected] | c6b5794 | 2014-01-31 22:00:05 | [diff] [blame] | 578 | 'java_set_jni_headers', |
| 579 | 'motionevent_jni_headers' |
[email protected] | 33cb2c35 | 2012-09-24 11:01:41 | [diff] [blame] | 580 | ], |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 581 | 'includes': [ 'content_jni.gypi' ], |
| 582 | }, |
[email protected] | c8e8781e | 2014-03-08 12:02:26 | [diff] [blame] | 583 | { |
| 584 | 'target_name': 'content_icudata', |
| 585 | 'type': 'none', |
| 586 | 'conditions': [ |
| 587 | ['icu_use_data_file_flag==1', { |
| 588 | 'copies': [ |
| 589 | { |
| 590 | 'destination': '<(PRODUCT_DIR)/content_shell/assets', |
| 591 | 'files': [ |
| 592 | '<(PRODUCT_DIR)/icudtl.dat', |
| 593 | ], |
| 594 | }, |
| 595 | ], |
| 596 | }], |
| 597 | ], |
| 598 | }, |
baixo | 3a3c88a | 2014-10-28 11:52:21 | [diff] [blame] | 599 | { |
| 600 | 'target_name': 'content_v8_external_data', |
| 601 | 'type': 'none', |
| 602 | 'conditions': [ |
| 603 | ['v8_use_external_startup_data==1', { |
| 604 | 'copies': [ |
| 605 | { |
| 606 | 'destination': '<(PRODUCT_DIR)/content_shell/assets', |
| 607 | 'files': [ |
| 608 | '<(PRODUCT_DIR)/natives_blob.bin', |
| 609 | '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 610 | ], |
| 611 | }, |
| 612 | ], |
| 613 | }], |
| 614 | ], |
| 615 | }, |
[email protected] | 9f58ace | 2012-09-07 22:48:33 | [diff] [blame] | 616 | ], |
| 617 | }], # OS == "android" |
[email protected] | 0dd3a0ab | 2011-02-18 08:17:44 | [diff] [blame] | 618 | ], |
| 619 | } |