Roll src/third_party/WebKit 7353389:d137e14 (svn 184391:184401)
[chromium-blink-merge.git] / chrome / chrome.gyp
blob835be516ab205e9615cc5b0873c3e71aa04c1e6a
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.
5   'variables': {
6     'chromium_code': 1,
8     # Define the common dependencies that contain all the actual
9     # Chromium functionality.  This list gets pulled in below by
10     # the link of the actual chrome (or chromium) executable on
11     # Linux or Mac, and into chrome.dll on Windows.
12     # NOTE: Most new includes should go in the OS!="ios" condition below.
13     #
14     # GN version is the group //chrome:browser_dependencies
15     'chromium_browser_dependencies': [
16       'common',
17       'browser',
18       '../sync/sync.gyp:sync',
19     ],
20     # GN version is the group //chrome:child_dependencies
21     'chromium_child_dependencies': [
22       'common',
23       '../sync/sync.gyp:sync',
24     ],
25     'allocator_target': '../base/allocator/allocator.gyp:allocator',
26     'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
27     'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
28     'conditions': [
29       ['OS!="ios"', {
30         'chromium_browser_dependencies': [
31           'debugger',
32           '../ppapi/ppapi_internal.gyp:ppapi_host',
33         ],
34         'chromium_child_dependencies': [
35           'plugin',
36           'renderer',
37           'utility',
38           '../content/content.gyp:content_gpu',
39           '../content/content.gyp:content_ppapi_plugin',
40           '../third_party/WebKit/public/blink_devtools.gyp:blink_devtools_frontend_resources',
41         ],
42       }],
43       ['enable_printing!=0', {
44         'chromium_browser_dependencies': [
45           '../printing/printing.gyp:printing',
46         ],
47       }],
48       ['enable_printing==1', {
49         'chromium_browser_dependencies': [
50           'service',
51         ],
52       }],
53       ['OS=="win"', {
54         'platform_locale_settings_grd':
55             'app/resources/locale_settings_win.grd',
56       },],
57       ['OS=="linux"', {
58         'conditions': [
59           ['chromeos==1', {
60             'conditions': [
61               ['branding=="Chrome"', {
62                 'platform_locale_settings_grd':
63                     'app/resources/locale_settings_google_chromeos.grd',
64               }, {  # branding!=Chrome
65                 'platform_locale_settings_grd':
66                     'app/resources/locale_settings_chromiumos.grd',
67               }],
68             ]
69           }, {  # chromeos==0
70             'platform_locale_settings_grd':
71                 'app/resources/locale_settings_linux.grd',
72           }],
73         ],
74       },],
75       ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "linux"', {
76         'platform_locale_settings_grd':
77             'app/resources/locale_settings_linux.grd',
78       },],
79       ['OS=="mac"', {
80         'tweak_info_plist_path': '../build/mac/tweak_info_plist.py',
81         'platform_locale_settings_grd':
82             'app/resources/locale_settings_mac.grd',
83       }],  # OS=="mac"
84     ],  # conditions
85   },  # variables
86   'includes': [
87     # Place some targets in gypi files to reduce contention on this file.
88     # By using an include, we keep everything in a single xcodeproj file.
89     # Note on Win64 targets: targets that end with win64 be used
90     # on 64-bit Windows only. Targets that end with nacl_win64 should be used
91     # by Native Client only.
92     # NOTE: Most new includes should go in the OS!="ios" condition below.
93     '../build/chrome_settings.gypi',
94     '../build/util/version.gypi',
95     '../build/win_precompile.gypi',
96     'chrome_browser.gypi',
97     'chrome_browser_ui.gypi',
98     'chrome_common.gypi',
99     'chrome_installer_util.gypi',
100     '../components/nacl/nacl_defines.gypi',
101   ],
102   'conditions': [
103     ['OS!="ios"', {
104       'includes': [
105         '../apps/apps.gypi',
106         'chrome_debugger.gypi',
107         'chrome_dll.gypi',
108         'chrome_exe.gypi',
109         'chrome_installer.gypi',
110         'chrome_plugin.gypi',
111         'chrome_renderer.gypi',
112         'chrome_tests.gypi',
113         'chrome_tests_unit.gypi',
114         'chrome_utility.gypi',
115         'policy_templates.gypi',
116       ],
117       'targets': [
118         {
119           'target_name': 'default_extensions',
120           'type': 'none',
121           'conditions': [
122             ['OS=="win"', {
123               'copies': [
124                 {
125                   'destination': '<(PRODUCT_DIR)/extensions',
126                   'files': [
127                     'browser/extensions/default_extensions/external_extensions.json'
128                   ]
129                 }
130               ],
131             }]
132           ],
133         },
134       ],
135     }],  # OS!="ios"
136     ['OS=="mac"', {
137       'includes': [
138         'app_shim/app_shim.gypi',
139         'browser/apps/app_shim/browser_app_shim.gypi',
140       ],
141       'targets': [
142         {
143           'target_name': 'helper_app',
144           'type': 'executable',
145           'variables': { 'enable_wexit_time_destructors': 1, },
146           'product_name': '<(mac_product_name) Helper',
147           'mac_bundle': 1,
148           'dependencies': [
149             'chrome_dll',
150             'infoplist_strings_tool',
151           ],
152           'sources': [
153             # chrome_exe_main_mac.cc's main() is the entry point for
154             # the "chrome" (browser app) target.  All it does is jump
155             # to chrome_dll's ChromeMain.  This is appropriate for
156             # helper processes too, because the logic to discriminate
157             # between process types at run time is actually directed
158             # by the --type command line argument processed by
159             # ChromeMain.  Sharing chrome_exe_main_mac.cc with the
160             # browser app will suffice for now.
161             'app/chrome_exe_main_mac.cc',
162             'app/helper-Info.plist',
163           ],
164           # TODO(mark): Come up with a fancier way to do this.  It should only
165           # be necessary to list helper-Info.plist once, not the three times it
166           # is listed here.
167           'mac_bundle_resources!': [
168             'app/helper-Info.plist',
169           ],
170           # TODO(mark): For now, don't put any resources into this app.  Its
171           # resources directory will be a symbolic link to the browser app's
172           # resources directory.
173           'mac_bundle_resources/': [
174             ['exclude', '.*'],
175           ],
176           'xcode_settings': {
177             'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)',
178             'CHROMIUM_SHORT_NAME': '<(branding)',
179             'CHROMIUM_STRIP_SAVE_FILE': 'app/app.saves',
180             'INFOPLIST_FILE': 'app/helper-Info.plist',
181           },
182           'postbuilds': [
183             {
184               # The helper doesn't have real localizations, it just has
185               # empty .lproj directories, which is enough to convince Cocoa
186               # that anything running out of the helper .app supports those
187               # languages.
188               'postbuild_name': 'Make Empty Localizations',
189               'variables': {
190                 'locale_dirs': [
191                   '>!@(<(apply_locales_cmd) -d ZZLOCALE.lproj <(locales))',
192                 ],
193               },
194               'action': [
195                 'tools/build/mac/make_locale_dirs.sh',
196                 '<@(locale_dirs)',
197               ],
198             },
199             {
200               # The framework (chrome_dll) defines its load-time path
201               # (DYLIB_INSTALL_NAME_BASE) relative to the main executable
202               # (chrome).  A different relative path needs to be used in
203               # helper_app.
204               'postbuild_name': 'Fix Framework Link',
205               'action': [
206                 'install_name_tool',
207                 '-change',
208                 '@executable_path/../Versions/<(version_full)/<(mac_product_name) Framework.framework/<(mac_product_name) Framework',
209                 '@executable_path/../../../<(mac_product_name) Framework.framework/<(mac_product_name) Framework',
210                 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
211               ],
212             },
213             {
214               # Modify the Info.plist as needed.  The script explains why this
215               # is needed.  This is also done in the chrome and chrome_dll
216               # targets.  In this case, --breakpad=0, --keystone=0, and --scm=0
217               # are used because Breakpad, Keystone, and SCM keys are
218               # never placed into the helper.
219               'postbuild_name': 'Tweak Info.plist',
220               'action': ['<(tweak_info_plist_path)',
221                          '--breakpad=0',
222                          '--keystone=0',
223                          '--scm=0'],
224             },
225             {
226               # Make sure there isn't any Objective-C in the helper app's
227               # executable.
228               'postbuild_name': 'Verify No Objective-C',
229               'action': [
230                 '../build/mac/verify_no_objc.sh',
231               ],
232             },
233           ],
234           'conditions': [
235             ['mac_breakpad==1', {
236               'variables': {
237                 # A real .dSYM is needed for dump_syms to operate on.
238                 'mac_real_dsym': 1,
239               },
240               'xcode_settings': {
241                 # With mac_real_dsym set, strip_from_xcode won't be used.
242                 # Specify CHROMIUM_STRIP_SAVE_FILE directly to Xcode.
243                 'STRIPFLAGS': '-s $(CHROMIUM_STRIP_SAVE_FILE)',
244               },
245             }],
246             ['asan==1', {
247               'xcode_settings': {
248                 # Override the outer definition of CHROMIUM_STRIP_SAVE_FILE.
249                 'CHROMIUM_STRIP_SAVE_FILE': 'app/app_asan.saves',
250               },
251             }],
252             ['component=="shared_library"', {
253               'xcode_settings': {
254                 'LD_RUNPATH_SEARCH_PATHS': [
255                   # Get back from Chromium.app/Contents/Versions/V/
256                   #                                    Helper.app/Contents/MacOS
257                   '@loader_path/../../../../../../..',
258                 ],
259               },
260             }],
261           ],
262         },  # target helper_app
263         {
264           # A library containing the actual code for the app mode app, shared
265           # by unit tests.
266           'target_name': 'app_mode_app_support',
267           'type': 'static_library',
268           'variables': { 'enable_wexit_time_destructors': 1, },
269           'product_name': 'app_mode_app_support',
270           'dependencies': [
271             '../base/base.gyp:base',
272             'common_constants.gyp:common_constants',
273           ],
274           'sources': [
275             'common/mac/app_mode_chrome_locator.h',
276             'common/mac/app_mode_chrome_locator.mm',
277             'common/mac/app_mode_common.h',
278             'common/mac/app_mode_common.mm',
279           ],
280           'include_dirs': [
281             '..',
282           ],
283         },  # target app_mode_app_support
284         {
285           # Convenience target to build a disk image.
286           'target_name': 'build_app_dmg',
287           # Don't place this in the 'all' list; most won't want it.
288           # In GYP, booleans are 0/1, not True/False.
289           'suppress_wildcard': 1,
290           'type': 'none',
291           'dependencies': [
292             'chrome',
293           ],
294           'variables': {
295             'build_app_dmg_script_path': 'tools/build/mac/build_app_dmg',
296             'pkg_dmg_script_path': 'installer/mac/pkg-dmg',
298             'conditions': [
299               # This duplicates the output path from build_app_dmg.
300               ['branding=="Chrome"', {
301                 'dmg_name': 'GoogleChrome.dmg',
302               }, { # else: branding!="Chrome"
303                 'dmg_name': 'Chromium.dmg',
304               }],
305             ],
306           },
307           'actions': [
308             {
309               'inputs': [
310                 '<(build_app_dmg_script_path)',
311                 '<(pkg_dmg_script_path)',
312                 '<(PRODUCT_DIR)/<(mac_product_name).app',
313               ],
314               'outputs': [
315                 '<(PRODUCT_DIR)/<(dmg_name)',
316               ],
317               'action_name': 'build_app_dmg',
318               'action': ['<(build_app_dmg_script_path)', '<@(branding)'],
319             },
320           ],  # 'actions'
321         },
322         {
323           'target_name': 'infoplist_strings_tool',
324           'type': 'executable',
325           'variables': { 'enable_wexit_time_destructors': 1, },
326           'dependencies': [
327             'chrome_resources.gyp:chrome_strings',
328             '../base/base.gyp:base',
329             '../ui/base/ui_base.gyp:ui_base',
330             '../ui/gfx/gfx.gyp:gfx',
331             '../ui/gfx/gfx.gyp:gfx_geometry',
332           ],
333           'include_dirs': [
334             '<(grit_out_dir)',
335           ],
336           'sources': [
337             'tools/mac_helpers/infoplist_strings_util.mm',
338           ],
339         },
340       ],  # targets
341     }],  # OS=="mac"
342     ['OS=="linux"',
343       { 'targets': [
344         {
345           'target_name': 'linux_symbols',
346           'type': 'none',
347           'conditions': [
348             ['linux_dump_symbols==1', {
349               'actions': [
350                 {
351                   'action_name': 'dump_symbols',
352                   'inputs': [
353                     '<(DEPTH)/build/linux/dump_app_syms',
354                     '<(PRODUCT_DIR)/dump_syms',
355                     '<(PRODUCT_DIR)/chrome',
356                   ],
357                   'outputs': [
358                     '<(PRODUCT_DIR)/chrome.breakpad.<(target_arch)',
359                   ],
360                   'action': ['<(DEPTH)/build/linux/dump_app_syms',
361                              '<(PRODUCT_DIR)/dump_syms',
362                              '<(linux_strip_binary)',
363                              '<(PRODUCT_DIR)/chrome',
364                              '<@(_outputs)'],
365                   'message': 'Dumping breakpad symbols to <(_outputs)',
366                   'process_outputs_as_sources': 1,
367                 },
368               ],
369               'dependencies': [
370                 'chrome',
371                 '../breakpad/breakpad.gyp:dump_syms',
372               ],
373             }],
374           ],
375         },
376       ],
377     }],  # OS=="linux"
378     ['OS=="win"',
379       { 'targets': [
380         {
381           # For historical reasons, chrome/chrome.sln has been the entry point
382           # for new Chrome developers. To assist development, include several
383           # core unittests that are otherwise only accessible side-by-side with
384           # chrome via all/all.sln.
385           'target_name': 'test_targets',
386           'type': 'none',
387           'dependencies': [
388             '../base/base.gyp:base_unittests',
389             '../content/content_shell_and_tests.gyp:content_browsertests',
390             '../content/content_shell_and_tests.gyp:content_shell',
391             '../content/content_shell_and_tests.gyp:content_unittests',
392             '../net/net.gyp:net_unittests',
393             '../ui/base/ui_base_tests.gyp:ui_base_unittests',
394             '../ui/base/ui_base_tests.gyp:ui_unittests',
395           ],
396         },
397         {
398           'target_name': 'chrome_version_resources',
399           'type': 'none',
400           'conditions': [
401             ['branding == "Chrome"', {
402               'variables': {
403                  'branding_path': 'app/theme/google_chrome/BRANDING',
404               },
405             }, { # else branding!="Chrome"
406               'variables': {
407                  'branding_path': 'app/theme/chromium/BRANDING',
408               },
409             }],
410           ],
411           'variables': {
412             'output_dir': 'chrome_version',
413             'template_input_path': 'app/chrome_version.rc.version',
414           },
415           'direct_dependent_settings': {
416             'include_dirs': [
417               '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)',
418             ],
419           },
420           'sources': [
421             'app/chrome_exe.ver',
422             'app/chrome_dll.ver',
423             'app/nacl64_exe.ver',
424             'app/other.ver',
425           ],
426           'includes': [
427             'version_resource_rules.gypi',
428           ],
429         },
430         {
431           # GN version: //chrome:version_header
432           'target_name': 'chrome_version_header',
433           'type': 'none',
434           'hard_dependency': 1,
435           'actions': [
436             {
437               'action_name': 'version_header',
438               'variables': {
439                 'lastchange_path':
440                   '<(DEPTH)/build/util/LASTCHANGE',
441               },
442               'conditions': [
443                 ['branding == "Chrome"', {
444                   'variables': {
445                      'branding_path': 'app/theme/google_chrome/BRANDING',
446                   },
447                 }, { # else branding!="Chrome"
448                   'variables': {
449                      'branding_path': 'app/theme/chromium/BRANDING',
450                   },
451                 }],
452               ],
453               'inputs': [
454                 '<(version_path)',
455                 '<(branding_path)',
456                 '<(lastchange_path)',
457                 'version.h.in',
458               ],
459               'outputs': [
460                 '<(SHARED_INTERMEDIATE_DIR)/version.h',
461               ],
462               'action': [
463                 'python',
464                 '<(version_py_path)',
465                 '-f', '<(version_path)',
466                 '-f', '<(branding_path)',
467                 '-f', '<(lastchange_path)',
468                 'version.h.in',
469                 '<@(_outputs)',
470               ],
471               'message': 'Generating version header file: <@(_outputs)',
472             },
473           ],
474         },
475         {
476           'target_name': 'crash_service',
477           'type': 'executable',
478           'dependencies': [
479             'installer_util',
480             '../base/base.gyp:base',
481             '../chrome/common_constants.gyp:common_constants',
482             '../components/components.gyp:breakpad_crash_service',
483           ],
484           'include_dirs': [
485             '..',
486           ],
487           'sources': [
488             'tools/crash_service/main.cc',
489           ],
490           'msvs_settings': {
491             'VCLinkerTool': {
492               'SubSystem': '2',         # Set /SUBSYSTEM:WINDOWS
493             },
494           },
495         },
496         {
497           'target_name': 'sb_sigutil',
498           'type': 'executable',
499           'dependencies': [
500             '../base/base.gyp:base',
501             'safe_browsing_proto',
502           ],
503           'sources': [
504             'browser/safe_browsing/binary_feature_extractor.h',
505             'browser/safe_browsing/binary_feature_extractor_win.cc',
506             'browser/safe_browsing/pe_image_reader_win.cc',
507             'browser/safe_browsing/pe_image_reader_win.h',
508             'tools/safe_browsing/sb_sigutil.cc',
509           ],
510         },
511       ],  # 'targets'
512       'includes': [
513         'chrome_process_finder.gypi',
514         'metro_utils.gypi',
515       ],
516     }],  # OS=="win"
517     ['OS=="win" and target_arch=="ia32"',
518       { 'targets': [
519         {
520           'target_name': 'chrome_user32_delay_imports',
521           'type': 'none',
522           'variables': {
523             'lib_dir': '<(INTERMEDIATE_DIR)',
524           },
525           'sources': [
526               'chrome.user32.delay.imports'
527           ],
528           'includes': [
529               '../build/win/importlibs/create_import_lib.gypi',
530           ],
531           'direct_dependent_settings': {
532             'msvs_settings': {
533               'VCLinkerTool': {
534                 'AdditionalLibraryDirectories': ['<(lib_dir)', ],
535                 'AdditionalDependencies': ['chrome.user32.delay.lib', ],
536               },
537             },
538           },
539         },
540         {
541           'target_name': 'crash_service_win64',
542           'type': 'executable',
543           'product_name': 'crash_service64',
544           'dependencies': [
545             'installer_util_nacl_win64',
546             '../base/base.gyp:base_static_win64',
547             '../chrome/common_constants.gyp:common_constants_win64',
548             '../components/components.gyp:breakpad_crash_service_win64',
549           ],
550           'include_dirs': [
551             '..',
552           ],
553           'sources': [
554             'tools/crash_service/main.cc',
555             '../content/public/common/content_switches.cc',
556           ],
557           'defines': [
558             'COMPILE_CONTENT_STATICALLY',
559           ],
560           'msvs_settings': {
561             'VCLinkerTool': {
562               'SubSystem': '2',         # Set /SUBSYSTEM:WINDOWS
563             },
564           },
565           'configurations': {
566             'Common_Base': {
567               'msvs_target_platform': 'x64',
568             },
569           },
570         },
571       ]},  # 'targets'
572     ],  # OS=="win" and target_arch=="ia32"
573     ['chromeos==1', {
574       'includes': [ 'chrome_browser_chromeos.gypi' ],
575     }],  # chromeos==1
576     ['OS=="android"',
577       {
578       'targets': [
579         {
580           # GN: //chrome/android:chrome_java
581           'target_name': 'chrome_java',
582           'type': 'none',
583           'dependencies': [
584             'activity_type_ids_java',
585             'app_banner_metrics_ids_java',
586             'chrome_resources.gyp:chrome_strings',
587             'chrome_strings_grd',
588             'chrome_version_java',
589             'profile_account_management_metrics_java',
590             'content_setting_java',
591             'content_settings_type_java',
592             'page_info_connection_type_java',
593             'profile_sync_service_model_type_selection_java',
594             'resource_id_java',
595             'toolbar_model_security_levels_java',
596             'tab_load_status_java',
597             '../base/base.gyp:base',
598             '../components/components.gyp:bookmarks_java',
599             '../components/components.gyp:dom_distiller_core_java',
600             '../components/components.gyp:gcm_driver_java',
601             '../components/components.gyp:invalidation_java',
602             '../components/components.gyp:navigation_interception_java',
603             '../components/components.gyp:variations_java',
604             '../components/components.gyp:web_contents_delegate_android_java',
605             '../content/content.gyp:content_java',
606             '../printing/printing.gyp:printing_java',
607             '../sync/sync.gyp:sync_java',
608             '../third_party/android_tools/android_tools.gyp:android_support_v7_appcompat_javalib',
609             '../third_party/android_tools/android_tools.gyp:android_support_v13_javalib',
610             '../ui/android/ui_android.gyp:ui_java',
611           ],
612           'variables': {
613             'java_in_dir': '../chrome/android/java',
614             'has_java_resources': 1,
615             'R_package': 'org.chromium.chrome',
616             'R_package_relpath': 'org/chromium/chrome',
617             # Include xml string files generated from generated_resources.grd
618             'res_extra_dirs': ['<(SHARED_INTERMEDIATE_DIR)/chrome/java/res'],
619             'res_extra_files': ['<!@pymod_do_main(grit_info <@(grit_defines) --outputs "<(SHARED_INTERMEDIATE_DIR)/chrome" app/generated_resources.grd)'],
620           },
621           'includes': [
622             '../build/java.gypi',
623           ],
624         },
625         {
626           # GN: //chrome/android:chrome_strings_grd
627           'target_name': 'chrome_strings_grd',
628           'type': 'none',
629           'variables': {
630             'grd_file': '../chrome/android/java/strings/android_chrome_strings.grd',
631           },
632           'includes': [
633             '../build/java_strings_grd.gypi',
634           ],
635         },
636         {
637           # GN: //chrome:content_setting_javagen
638           'target_name': 'content_setting_java',
639           'type': 'none',
640           'variables': {
641             'source_file': '../components/content_settings/core/common/content_settings.h',
642           },
643           'includes': [ '../build/android/java_cpp_enum.gypi' ],
644         },
645         {
646           # GN: //chrome:content_settings_type_javagen
647           'target_name': 'content_settings_type_java',
648           'type': 'none',
649           'variables': {
650             'source_file': '../components/content_settings/core/common/content_settings_types.h',
651           },
652           'includes': [ '../build/android/java_cpp_enum.gypi' ],
653         },
654         {
655           # GN: //chrome:page_info_connection_type_javagen
656           'target_name': 'page_info_connection_type_java',
657           'type': 'none',
658           'variables': {
659             'source_file': 'browser/ui/android/website_settings_popup_android.h',
660           },
661           'includes': [ '../build/android/java_cpp_enum.gypi' ],
662         },
663       ], # 'targets'
664       'includes': [
665         'chrome_android.gypi',
666       ]}, # 'includes'
667     ],  # OS=="android"
668     ['configuration_policy==1 and OS!="android" and OS!="ios"', {
669       'includes': [ 'policy.gypi', ],
670     }],
671     ['enable_extensions==1', {
672       'includes': [
673         'chrome_browser_extensions.gypi',
674       ],
675     }],
676     ['enable_printing==1', {
677       'targets': [
678         {
679           # GN version: //chrome/service
680           'target_name': 'service',
681           'type': 'static_library',
682           'variables': { 'enable_wexit_time_destructors': 1, },
683           'dependencies': [
684             'chrome_resources.gyp:chrome_strings',
685             'common',
686             'common_net',
687             '../base/base.gyp:base',
688             '../components/components.gyp:cloud_devices_common',
689             '../google_apis/google_apis.gyp:google_apis',
690             '../jingle/jingle.gyp:notifier',
691             '../net/net.gyp:net',
692             '../printing/printing.gyp:printing',
693             '../skia/skia.gyp:skia',
694             '../third_party/libjingle/libjingle.gyp:libjingle',
695           ],
696           'sources': [
697             # Note: sources list duplicated in GN build.
698             'service/cloud_print/cdd_conversion_win.cc',
699             'service/cloud_print/cdd_conversion_win.h',
700             'service/cloud_print/cloud_print_auth.cc',
701             'service/cloud_print/cloud_print_auth.h',
702             'service/cloud_print/cloud_print_connector.cc',
703             'service/cloud_print/cloud_print_connector.h',
704             'service/cloud_print/cloud_print_proxy.cc',
705             'service/cloud_print/cloud_print_proxy.h',
706             'service/cloud_print/cloud_print_proxy_backend.cc',
707             'service/cloud_print/cloud_print_proxy_backend.h',
708             'service/cloud_print/cloud_print_service_helpers.cc',
709             'service/cloud_print/cloud_print_service_helpers.h',
710             'service/cloud_print/cloud_print_token_store.cc',
711             'service/cloud_print/cloud_print_token_store.h',
712             'service/cloud_print/cloud_print_url_fetcher.cc',
713             'service/cloud_print/cloud_print_url_fetcher.h',
714             'service/cloud_print/cloud_print_wipeout.cc',
715             'service/cloud_print/cloud_print_wipeout.h',
716             'service/cloud_print/connector_settings.cc',
717             'service/cloud_print/connector_settings.h',
718             'service/cloud_print/job_status_updater.cc',
719             'service/cloud_print/job_status_updater.h',
720             'service/cloud_print/print_system.cc',
721             'service/cloud_print/print_system.h',
722             'service/cloud_print/print_system_win.cc',
723             'service/cloud_print/printer_job_handler.cc',
724             'service/cloud_print/printer_job_handler.h',
725             'service/cloud_print/printer_job_queue_handler.cc',
726             'service/cloud_print/printer_job_queue_handler.h',
727             'service/net/service_url_request_context_getter.cc',
728             'service/net/service_url_request_context_getter.h',
729             'service/service_ipc_server.cc',
730             'service/service_ipc_server.h',
731             'service/service_main.cc',
732             'service/service_process.cc',
733             'service/service_process.h',
734             'service/service_process_prefs.cc',
735             'service/service_process_prefs.h',
736             'service/service_utility_process_host.cc',
737             'service/service_utility_process_host.h',
738           ],
739           'include_dirs': [
740             '..',
741           ],
742           'conditions': [
743             ['use_cups==1', {
744               'dependencies': [
745                 '../printing/printing.gyp:cups',
746               ],
747               'sources': [
748                 'service/cloud_print/print_system_cups.cc',
749               ],
750             }],
751             ['OS!="win" and use_cups!=1', {
752               'sources': [
753                 'service/cloud_print/print_system_dummy.cc',
754               ],
755             }],
756             ['OS!="win"', {
757               'sources!': [
758                 'service/service_utility_process_host.cc',
759                 'service/service_utility_process_host.h',
760               ],
761             }],
762           ],
763         },
764       ],
765     }],
766   ],  # 'conditions'