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