Material throbber: use in tabstrip
[chromium-blink-merge.git] / chrome / chrome_exe.gypi
blob70a4592bb71e2d1df713c3d49794bbdb2b01c1c9
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'targets': [
7     {
8       'target_name': 'chrome',
9       'type': 'none',
10       'dependencies': [ 'chrome_initial', ],
11       'conditions': [
12         ['OS=="linux" and clang_type_profiler==1', {
13           'dependencies!': [
14             '<(DEPTH)/base/allocator/allocator.gyp:type_profiler',
15           ],
16         }],
17         ['OS == "win"', {
18           'actions': [
19             {
20               'variables': {
21                 'reorder_py_path': '<(DEPTH)/build/win/reorder-imports.py',
22                 # See comment in chrome_dll.gypi in the hardlink_to_output
23                 # target for why this cannot be 'initial' like the DLL.
24                 'exe_input_path':'$(OutDir)\\initialexe',
25                 'exe_output_path':'<(PRODUCT_DIR)',
26               },
27               'action_name': 'reorder_imports',
28               'inputs': [
29                 '<(reorder_py_path)',
30                 '$(OutDir)\\initialexe\\chrome.exe',
31               ],
32               'outputs': [
33                 '<(PRODUCT_DIR)\\chrome.exe',
34                 '<(PRODUCT_DIR)\\chrome.exe.pdb',
35               ],
36               'action': [
37                 'python',
38                 '<(reorder_py_path)',
39                 '-i', '<(exe_input_path)',
40                 '-o', '<(exe_output_path)',
41                 '-a', '<(target_arch)',
42               ],
43               'message': 'Reordering Imports',
44             },
45           ],
46         }],
47       ],
48     },
49     {
50       # GN version: //chrome
51       'target_name': 'chrome_initial',
52       'type': 'executable',
53       # Name the exe chrome.exe, not chrome_initial.exe.
54       'product_name': 'chrome',
55       'mac_bundle': 1,
56       'variables': {
57         'use_system_xdg_utils%': 0,
58         'enable_wexit_time_destructors': 1,
59       },
60       'sources': [
61         # Note that due to InitializeSandboxInfo, this must be directly linked
62         # into chrome.exe, not into a dependent.
63         '<(DEPTH)/content/app/startup_helper_win.cc',
64         '<(DEPTH)/content/public/common/content_switches.cc',
65         'app/chrome_exe_main_aura.cc',
66         'app/chrome_exe_main_mac.cc',
67         'app/chrome_exe_main_win.cc',
68         'app/chrome_exe_resource.h',
69         'app/chrome_watcher_client_win.cc',
70         'app/chrome_watcher_client_win.h',
71         'app/chrome_watcher_command_line_win.cc',
72         'app/chrome_watcher_command_line_win.h',
73         'app/client_util.cc',
74         'app/client_util.h',
75         'app/kasko_client.cc',
76         'app/kasko_client.h',
77         'app/signature_validator_win.cc',
78         'app/signature_validator_win.h',
79       ],
80       'mac_bundle_resources': [
81         'app/app-Info.plist',
82       ],
83       # TODO(mark): Come up with a fancier way to do this.  It should only
84       # be necessary to list app-Info.plist once, not the three times it is
85       # listed here.
86       'mac_bundle_resources!': [
87         'app/app-Info.plist',
88       ],
89       'xcode_settings': {
90         'CHROMIUM_STRIP_SAVE_FILE': 'app/app.saves',
91         'INFOPLIST_FILE': 'app/app-Info.plist',
92       },
93       'conditions': [
94         ['order_profiling!=0 and (chromeos==1 or OS=="linux")', {
95           'dependencies' : [
96             '../tools/cygprofile/cygprofile.gyp:cygprofile',
97           ],
98         }],
99         ['order_text_section!=""', {
100           'target_conditions' : [
101             ['_toolset=="target"', {
102               'ldflags': [
103                 '-Wl,-section-ordering-file=<(order_text_section)' ],
104             }],
105           ]
106         }],
107         ['OS == "win"', {
108           'dependencies': [
109             'chrome_watcher',
110             'chrome_watcher_client',
111             '../components/components.gyp:browser_watcher_client',
112           ],
113           'conditions': [
114             ['kasko==1', {
115               'dependencies': [
116                 'kasko_dll',
117               ],
118             }],
119           ],
120         }],
121         ['OS == "android"', {
122           # Don't put the 'chrome' target in 'all' on android
123           'suppress_wildcard': 1,
124         }],
125         ['os_posix == 1 and OS != "mac" and OS != "android"', {
126           'actions': [
127             {
128               'action_name': 'manpage',
129               'conditions': [
130                 [ 'branding == "Chrome"', {
131                   'variables': {
132                     'name': 'Google Chrome',
133                     'filename': 'google-chrome',
134                     'confdir': 'google-chrome',
135                   },
136                 }, { # else branding!="Chrome"
137                   'variables': {
138                     'name': 'Chromium',
139                     'filename': 'chromium-browser',
140                     'confdir': 'chromium',
141                   },
142                 }],
143               ],
144               'inputs': [
145                 'tools/build/linux/sed.py',
146                 'app/resources/manpage.1.in',
147               ],
148               'outputs': [
149                 '<(PRODUCT_DIR)/chrome.1',
150               ],
151               'action': [
152                 'python',
153                 'tools/build/linux/sed.py',
154                 'app/resources/manpage.1.in',
155                 '<@(_outputs)',
156                 '-e', 's/@@NAME@@/<(name)/',
157                 '-e', 's/@@FILENAME@@/<(filename)/',
158                 '-e', 's/@@CONFDIR@@/<(confdir)/',
159               ],
160               'message': 'Generating manpage'
161             },
162           ],
163           'conditions': [
164             ['use_allocator!="none"', {
165                 'dependencies': [
166                   '<(allocator_target)',
167                 ],
168               },
169             ],
170             ['profiling==0 and linux_disable_pie==0', {
171               'ldflags': [
172                 '-pie',
173               ],
174             }],
175             ['use_system_xdg_utils==0', {
176               'copies': [
177                 {
178                   'destination': '<(PRODUCT_DIR)',
179                   'files': ['tools/build/linux/chrome-wrapper',
180                             '../third_party/xdg-utils/scripts/xdg-mime',
181                             '../third_party/xdg-utils/scripts/xdg-settings',
182                             'app/theme/<(branding_path_component)/product_logo_48.png',
183                             ],
184                 },
185               ],
186             }],
187             # x11 build. Needed for chrome_main.cc initialization of libraries.
188             ['use_x11==1', {
189               'dependencies': [
190                 '../build/linux/system.gyp:x11',
191                 '../build/linux/system.gyp:xext',
192               ],
193             }],
194             ['OS=="linux" and enable_plugins==1', {
195               'dependencies': [
196                 '../pdf/pdf.gyp:pdf',
197               ],
198             }],
199           ],
200           'sources': [
201             'app/chrome_dll_resource.h',
202             'app/chrome_main.cc',
203             'app/chrome_main_delegate.cc',
204             'app/chrome_main_delegate.h',
205           ],
206           'dependencies': [
207             # On Linux, link the dependencies (libraries) that make up actual
208             # Chromium functionality directly into the executable.
209             '<@(chromium_browser_dependencies)',
210             '<@(chromium_child_dependencies)',
211             '../content/content.gyp:content_app_both',
212             # Needed for chrome_main.cc initialization of libraries.
213             '../build/linux/system.gyp:pangocairo',
214             # Needed to use the master_preferences functions
215             'installer_util',
216           ],
217         }],
218         ['OS=="mac"', {
219           'conditions': [
220             ['mac_breakpad==1', {
221               'variables': {
222                 # A real .dSYM is needed for dump_syms to operate on.
223                 'mac_real_dsym': 1,
224               },
225               'xcode_settings': {
226                 # With mac_real_dsym set, strip_from_xcode won't be used.
227                 # Specify CHROMIUM_STRIP_SAVE_FILE directly to Xcode.
228                 'STRIPFLAGS': '-s $(CHROMIUM_STRIP_SAVE_FILE)',
229               },
230               'dependencies': [
231                 '../breakpad/breakpad.gyp:dump_syms',
232                 '../breakpad/breakpad.gyp:symupload',
233               ],
234               # The "Dump Symbols" post-build step is in a target_conditions
235               # block so that it will follow the "Strip If Needed" step if that
236               # is also being used.  There is no standard configuration where
237               # both of these steps occur together, but Mark likes to use this
238               # configuration sometimes when testing Breakpad-enabled builds
239               # without the time overhead of creating real .dSYM files.  When
240               # both "Dump Symbols" and "Strip If Needed" are present, "Dump
241               # Symbols" must come second because "Strip If Needed" creates
242               # a fake .dSYM that dump_syms needs to fake dump.  Since
243               # "Strip If Needed" is added in a target_conditions block in
244               # common.gypi, "Dump Symbols" needs to be in an (always true)
245               # target_conditions block.
246               'target_conditions': [
247                 ['1 == 1', {
248                   'postbuilds': [
249                     {
250                       'postbuild_name': 'Dump Symbols',
251                       'variables': {
252                         'dump_product_syms_path':
253                             'tools/build/mac/dump_product_syms',
254                       },
255                       'action': ['<(dump_product_syms_path)',
256                                  '<(branding)'],
257                     },
258                   ],
259                 }],
260               ],
261             }],  # mac_breakpad
262           ],
263           'product_name': '<(mac_product_name)',
264           'xcode_settings': {
265             # chrome/app/app-Info.plist has:
266             #   CFBundleIdentifier of CHROMIUM_BUNDLE_ID
267             #   CFBundleName of CHROMIUM_SHORT_NAME
268             #   CFBundleSignature of CHROMIUM_CREATOR
269             # Xcode then replaces these values with the branded values we set
270             # as settings on the target.
271             'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)',
272             'CHROMIUM_CREATOR': '<(mac_creator)',
273             'CHROMIUM_SHORT_NAME': '<(branding)',
274           },
275           'dependencies': [
276             '../components/components.gyp:chrome_manifest_bundle',
277             'helper_app',
278             'infoplist_strings_tool',
279             # On Mac, make sure we've built chrome_dll, which contains all of
280             # the library code with Chromium functionality.
281             'chrome_dll',
282           ],
283           'mac_bundle_resources': [
284             'app/theme/<(branding_path_component)/mac/app.icns',
285             'app/theme/<(branding_path_component)/mac/document.icns',
286             'browser/ui/cocoa/applescript/scripting.sdef',
287             '<(PRODUCT_DIR)/<(mac_bundle_id).manifest',
288           ],
289           'actions': [
290             {
291               # Generate the InfoPlist.strings file
292               'action_name': 'Generate InfoPlist.strings files',
293               'variables': {
294                 'tool_path': '<(PRODUCT_DIR)/infoplist_strings_tool',
295                 # Unique dir to write to so the [lang].lproj/InfoPlist.strings
296                 # for the main app and the helper app don't name collide.
297                 'output_path': '<(INTERMEDIATE_DIR)/app_infoplist_strings',
298                 'branding_name': '<(branding_path_component)_strings',
299               },
300               'inputs': [
301                 '<(tool_path)',
302                 '<(version_path)',
303                 # TODO: remove this helper when we have loops in GYP
304                 '>!@(<(apply_locales_cmd) \'<(grit_out_dir)/<(branding_name)_ZZLOCALE.pak\' <(locales))',
305               ],
306               'outputs': [
307                 # TODO: remove this helper when we have loops in GYP
308                 '>!@(<(apply_locales_cmd) -d \'<(output_path)/ZZLOCALE.lproj/InfoPlist.strings\' <(locales))',
309               ],
310               'action': [
311                 '<(tool_path)',
312                 '-b', '<(branding_name)',
313                 '-v', '<(version_path)',
314                 '-g', '<(grit_out_dir)',
315                 '-o', '<(output_path)',
316                 '-t', 'main',
317                 '<@(locales)',
318               ],
319               'message': 'Generating the language InfoPlist.strings files',
320               'process_outputs_as_mac_bundle_resources': 1,
321             },
322           ],
323           'copies': [
324             {
325               'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Contents/Versions/<(version_full)',
326               'files': [
327                 '<(PRODUCT_DIR)/<(mac_product_name) Helper.app',
328               ],
329             },
330           ],
331           'postbuilds': [
332             {
333               'postbuild_name': 'Copy <(mac_product_name) Framework.framework',
334               'action': [
335                 '../build/mac/copy_framework_unversioned.sh',
336                 '${BUILT_PRODUCTS_DIR}/<(mac_product_name) Framework.framework',
337                 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Versions/<(version_full)',
338               ],
339             },
340             {
341               # Modify the Info.plist as needed.  The script explains why this
342               # is needed.  This is also done in the helper_app and chrome_dll
343               # targets.  Use --breakpad=0 to not include any Breakpad
344               # information; that all goes into the framework's Info.plist.
345               # Keystone information is included if Keystone is enabled.  The
346               # application reads Keystone keys from this plist and not the
347               # framework's, and the ticket will reference this Info.plist to
348               # determine the tag of the installed product.  Use --scm=1 to
349               # include SCM information.
350               'postbuild_name': 'Tweak Info.plist',
351               'action': ['<(tweak_info_plist_path)',
352                          '--breakpad=0',
353                          '--keystone=<(mac_keystone)',
354                          '--scm=1',
355                          '--bundle_id=<(mac_bundle_id)'],
356             },
357             {
358               'postbuild_name': 'Clean up old versions',
359               'action': [
360                 'tools/build/mac/clean_up_old_versions',
361                 '<(version_full)'
362               ],
363             },
364             {
365               # This postbuid step is responsible for creating the following
366               # helpers:
367               #
368               # For unofficial Chromium branding, Chromium Helper EH.app and
369               # Chromium Helper NP.app are created from Chromium Helper.app.
370               # For official Google Chrome branding, Google Chrome Helper
371               # EH.app and Google Chrome Helper NP.app are created from
372               # Google Chrome Helper.app.
373               #
374               # The EH helper is marked for an executable heap. The NP helper
375               # is marked for no PIE (ASLR).
376               #
377               # Normally, applications shipping as part of offical builds with
378               # Google Chrome branding have dsymutil (dwarf-with-dsym,
379               # mac_real_dsym) and dump_syms (mac_breakpad) run on them to
380               # produce a .dSYM bundle and a Breakpad .sym file. This is
381               # unnecessary for the "More Helpers" because they're identical
382               # to the original helper except for the bits in their Mach-O
383               # headers that change to enable or disable special features.
384               # Each .dSYM is identified by UUID stored in a Mach-O file's
385               # LC_UUID load command. Because the "More Helpers" share a UUID
386               # with the original helper, there's no need to run dsymutil
387               # again. All helpers can share the same .dSYM. Special handling
388               # is performed in chrome/tools/build/mac/dump_product_syms to
389               # prepare their Breakpad symbol files.
390               'postbuild_name': 'Make More Helpers',
391               'action': [
392                 '../build/mac/make_more_helpers.sh',
393                 'Versions/<(version_full)',
394                 '<(mac_product_name)',
395               ],
396             },
397             {
398               # Make sure there isn't any Objective-C in the browser app's
399               # executable.
400               'postbuild_name': 'Verify No Objective-C',
401               'action': [
402                 '../build/mac/verify_no_objc.sh',
403               ],
404             },
405           ],  # postbuilds
406         }, {  # OS != "mac"
407           'conditions': [
408             # TODO:  add a:
409             #   'product_name': 'chromium'
410             # whenever we convert the rest of the infrastructure
411             # (buildbots etc.) to understand the branding gyp define.
412             # NOTE: chrome/app/theme/chromium/BRANDING and
413             # chrome/app/theme/google_chrome/BRANDING have the short name
414             # "chrome" etc.; should we try to extract from there instead?
415           ],
416           'dependencies': [
417             '../components/components.gyp:startup_metric_utils',
418             'chrome_resources.gyp:packed_extra_resources',
419             'chrome_resources.gyp:packed_resources',
420             # Copy Flash Player files to PRODUCT_DIR if applicable. Let the .gyp
421             # file decide what to do on a per-OS basis; on Mac, internal plugins
422             # go inside the framework, so this dependency is in chrome_dll.gypi.
423             '../third_party/adobe/flash/flash_player.gyp:flapper_binaries',
424             # Copy CDM files to PRODUCT_DIR if applicable. Let the .gyp
425             # file decide what to do on a per-OS basis; on Mac, internal plugins
426             # go inside the framework, so this dependency is in chrome_dll.gypi.
427             '../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
428           ],
429         }],
430         ['chrome_multiple_dll', {
431           'defines': ['CHROME_MULTIPLE_DLL'],
432         }],
433         ['OS=="linux"', {
434           'conditions': [
435             ['branding=="Chrome"', {
436               'dependencies': [
437                 'linux_installer_configs',
438               ],
439             }],
440             # For now, do not build nacl_helper when disable_nacl=1
441             # http://code.google.com/p/gyp/issues/detail?id=239
442             ['disable_nacl==0', {
443               'dependencies': [
444                 '../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gyp:nacl_helper_bootstrap',
445                 '../components/nacl.gyp:nacl_helper',
446                 '../components/nacl_nonsfi.gyp:nacl_helper_nonsfi',
447               ],
448             }],
449           ],
450           'dependencies': [
451             '../sandbox/sandbox.gyp:sandbox',
452           ],
453         }],
454         ['OS=="win"', {
455           'dependencies': [
456             'chrome_dll',
457             'chrome_nacl_win64',
458             'chrome_process_finder',
459             'chrome_version_resources',
460             'installer_util',
461             'image_pre_reader',
462             '../base/base.gyp:base',
463             '../crypto/crypto.gyp:crypto',
464             '../breakpad/breakpad.gyp:breakpad_handler',
465             '../breakpad/breakpad.gyp:breakpad_sender',
466             '../chrome_elf/chrome_elf.gyp:chrome_elf',
467             '../components/components.gyp:crash_component',
468             '../sandbox/sandbox.gyp:sandbox',
469             '../ui/gfx/gfx.gyp:gfx',
470             '../win8/metro_driver/metro_driver.gyp:metro_driver',
471             '../win8/delegate_execute/delegate_execute.gyp:*',
472           ],
473           'sources': [
474             '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_exe_version.rc',
475             'app/chrome_crash_reporter_client.cc',
476             'app/chrome_crash_reporter_client.h',
477             'app/chrome_exe.rc',
478             'common/crash_keys.cc',
479             'common/crash_keys.h',
480           ],
481           'sources!': [
482             # We still want the _win entry point for sandbox, etc.
483             'app/chrome_exe_main_aura.cc',
484           ],
485           'msvs_settings': {
486             'VCLinkerTool': {
487               'ImportLibrary': '$(OutDir)\\lib\\chrome_exe.lib',
488               'OutputFile': '$(OutDir)\\initialexe\\chrome.exe',
489               'DelayLoadDLLs': [
490                 'dbghelp.dll',
491                 'dwmapi.dll',
492                 'uxtheme.dll',
493                 'ole32.dll',
494                 'oleaut32.dll',
495               ],
496               'AdditionalDependencies': [
497                 'wintrust.lib',
498                 'crypt32.lib'
499               ],
500               'conditions': [
501                 ['asan==0', {
502                   # Set /SUBSYSTEM:WINDOWS for chrome.exe itself, except for the
503                   # AddressSanitizer build where console output is important.
504                   'SubSystem': '2',
505                 }],
506               ],
507             },
508             'VCManifestTool': {
509               'AdditionalManifestFiles': [
510                 '$(ProjectDir)\\app\\chrome.exe.manifest',
511                 '<(SHARED_INTERMEDIATE_DIR)/chrome/app/version_assembly/version_assembly.manifest',
512               ],
513             },
514           },
515           'conditions': [
516             ['configuration_policy==1', {
517               'dependencies': [
518                 '<(DEPTH)/components/components.gyp:policy',
519               ],
520             }],
521           ],
522           'actions': [
523             {
524               'action_name': 'first_run',
525               'inputs': [
526                   'app/FirstRun',
527               ],
528               'outputs': [
529                   '<(PRODUCT_DIR)/First Run',
530               ],
531               'action': ['python', '../build/cp.py', '<@(_inputs)', '<@(_outputs)'],
532               'message': 'Copy first run complete sentinel file',
533             },
534             {
535               'action_name': 'chrome_exe_manifest',
536               'includes': [
537                   'app/version_assembly/chrome_exe_manifest_action.gypi',
538               ],
539             },
540             {
541               'action_name': 'version_assembly_manifest',
542               'includes': [
543                   'app/version_assembly/version_assembly_manifest_action.gypi',
544               ],
545             },
546           ],
547         }, {  # 'OS!="win"
548           'sources!': [
549             'app/client_util.cc',
550           ],
551         }],
552         ['OS=="win" and component=="shared_library"', {
553           'defines': ['COMPILE_CONTENT_STATICALLY'],
554         }],
555       ],
556     },
557   ],
558   'conditions': [
559     ['OS=="win"', {
560       'targets': [
561         {
562           'target_name': 'image_pre_reader',
563           'type': 'static_library',
564           'sources': [
565             'app/image_pre_reader_win.cc',
566             'app/image_pre_reader_win.h',
567           ],
568           'dependencies': [
569              '../base/base.gyp:base',
570           ],
571         },
572       ],
573       'conditions': [
574         ['disable_nacl!=1 and target_arch=="ia32"', {
575           'targets': [
576             {
577               'target_name': 'chrome_nacl_win64',
578               'type': 'executable',
579               'product_name': 'nacl64',
580               'sources': [
581                 '../content/app/startup_helper_win.cc',
582                 '../content/common/sandbox_init_win.cc',
583                 '../content/common/sandbox_win.cc',
584                 '../content/public/common/content_switches.cc',
585                 '../content/public/common/sandboxed_process_launcher_delegate.cc',
586                 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/nacl64_exe_version.rc',
587                 'app/chrome_crash_reporter_client.cc',
588                 'common/crash_keys.cc',
589                 'nacl/nacl_exe_win_64.cc',
590               ],
591               'dependencies': [
592                 'chrome_version_resources',
593                 'installer_util_nacl_win64',
594                 '../base/base.gyp:base_i18n_nacl_win64',
595                 '../base/base.gyp:base_win64',
596                 '../base/base.gyp:base_static_win64',
597                 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
598                 '../breakpad/breakpad.gyp:breakpad_handler_win64',
599                 '../breakpad/breakpad.gyp:breakpad_sender_win64',
600                 '../components/components.gyp:breakpad_win64',
601                 '../chrome/common_constants.gyp:common_constants_win64',
602                 '../components/nacl.gyp:nacl_win64',
603                 '../crypto/crypto.gyp:crypto_nacl_win64',
604                 '../ipc/ipc.gyp:ipc_win64',
605                 '../sandbox/sandbox.gyp:sandbox_win64',
606               ],
607               'defines': [
608                 '<@(nacl_win64_defines)',
609                 'COMPILE_CONTENT_STATICALLY',
610               ],
611               'include_dirs': [
612                 '<(SHARED_INTERMEDIATE_DIR)/chrome',
613               ],
614               'msvs_settings': {
615                 'VCLinkerTool': {
616                   'ImportLibrary': '$(OutDir)\\lib\\nacl64_exe.lib',
617                   'SubSystem': '2',         # Set /SUBSYSTEM:WINDOWS
618                 },
619               },
620               'configurations': {
621                 'Common_Base': {
622                   'msvs_target_platform': 'x64',
623                 },
624               },
625               'conditions': [
626                 ['configuration_policy==1', {
627                   'dependencies': [
628                     '<(DEPTH)/components/components.gyp:policy_win64',
629                   ],
630                 }],
631               ],
632             },
633           ],
634         }, {  # else (disable_nacl==1)
635           'targets': [
636             {
637               'target_name': 'chrome_nacl_win64',
638               'type': 'none',
639               'sources': [],
640             },
641           ],
642         }],
643       ],
644     }],
645     ['test_isolation_mode != "noop"', {
646       'targets': [
647         {
648           'target_name': 'chrome_run',
649           'type': 'none',
650           'dependencies': [
651             'chrome',
652             # Runtime dependencies
653             '../third_party/mesa/mesa.gyp:osmesa',
654           ],
655           'includes': [
656             '../build/isolate.gypi',
657           ],
658           'sources': [
659             'chrome.isolate',
660           ],
661           'conditions': [
662             ['OS=="win"', {
663               'dependencies': [
664                 'chrome_nacl_win64',
665               ],
666             }],
667           ],
668         },
669       ],
670     }],
671   ],