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.
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 'chromium_browser_dependencies': [
16 '../sync/sync.gyp:sync',
18 'chromium_child_dependencies': [
20 '../sync/sync.gyp:sync',
22 'allocator_target': '../base/allocator/allocator.gyp:allocator',
23 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
24 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
25 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'],
28 'chromium_browser_dependencies': [
29 '../ppapi/ppapi_internal.gyp:ppapi_host',
31 'chromium_child_dependencies': [
36 '../content/content.gyp:content_gpu',
37 '../content/content.gyp:content_ppapi_plugin',
38 '../content/content.gyp:content_worker',
39 '../third_party/WebKit/public/blink_devtools.gyp:blink_devtools_frontend_resources',
42 ['enable_printing!=0', {
43 'chromium_browser_dependencies': [
44 '../printing/printing.gyp:printing',
48 'platform_locale_settings_grd':
49 'app/resources/locale_settings_win.grd',
51 ['enable_printing==1', {
52 'chromium_browser_dependencies': [
60 ['branding=="Chrome"', {
61 'platform_locale_settings_grd':
62 'app/resources/locale_settings_google_chromeos.grd',
63 }, { # branding!=Chrome
64 'platform_locale_settings_grd':
65 'app/resources/locale_settings_chromiumos.grd',
69 'platform_locale_settings_grd':
70 'app/resources/locale_settings_linux.grd',
74 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "linux"', {
75 'platform_locale_settings_grd':
76 'app/resources/locale_settings_linux.grd',
79 'tweak_info_plist_path': '../build/mac/tweak_info_plist.py',
80 'platform_locale_settings_grd':
81 'app/resources/locale_settings_mac.grd',
86 # Place some targets in gypi files to reduce contention on this file.
87 # By using an include, we keep everything in a single xcodeproj file.
88 # Note on Win64 targets: targets that end with win64 be used
89 # on 64-bit Windows only. Targets that end with nacl_win64 should be used
90 # by Native Client only.
91 # NOTE: Most new includes should go in the OS!="ios" condition below.
92 '../build/chrome_settings.gypi',
93 '../build/win_precompile.gypi',
94 'chrome_browser.gypi',
95 'chrome_browser_ui.gypi',
97 'chrome_installer_util.gypi',
99 '../components/nacl/nacl_defines.gypi',
104 'chrome_browser_extensions.gypi',
107 'chrome_installer.gypi',
108 'chrome_renderer.gypi',
110 'chrome_tests_unit.gypi',
111 'policy_templates.gypi',
116 'target_name': 'default_extensions',
122 'destination': '<(PRODUCT_DIR)/extensions',
124 'browser/extensions/default_extensions/external_extensions.json'
132 'target_name': 'debugger',
133 'type': 'static_library',
134 'variables': { 'enable_wexit_time_destructors': 1, },
136 'chrome_resources.gyp:chrome_extra_resources',
137 'chrome_resources.gyp:chrome_resources',
138 'chrome_resources.gyp:chrome_strings',
139 'chrome_resources.gyp:theme_resources',
140 'common/extensions/api/api.gyp:api',
141 '../base/base.gyp:base',
142 '../content/content.gyp:content_browser',
143 '../net/net.gyp:http_server',
144 '../net/net.gyp:net',
145 '../skia/skia.gyp:skia',
146 '../third_party/icu/icu.gyp:icui18n',
147 '../third_party/icu/icu.gyp:icuuc',
148 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
149 '../third_party/libusb/libusb.gyp:libusb',
155 'browser/devtools/adb/android_rsa.cc',
156 'browser/devtools/adb/android_rsa.h',
157 'browser/devtools/adb/android_usb_device.cc',
158 'browser/devtools/adb/android_usb_device.h',
159 'browser/devtools/adb/android_usb_socket.cc',
160 'browser/devtools/adb/android_usb_socket.h',
161 'browser/devtools/adb_client_socket.cc',
162 'browser/devtools/adb_client_socket.h',
163 'browser/devtools/adb_web_socket.cc',
164 'browser/devtools/adb_web_socket.h',
165 'browser/devtools/android_device.cc',
166 'browser/devtools/android_device.h',
167 'browser/devtools/browser_list_tabcontents_provider.cc',
168 'browser/devtools/browser_list_tabcontents_provider.h',
169 'browser/devtools/devtools_adb_bridge.cc',
170 'browser/devtools/devtools_adb_bridge.h',
171 'browser/devtools/devtools_embedder_message_dispatcher.cc',
172 'browser/devtools/devtools_embedder_message_dispatcher.h',
173 'browser/devtools/devtools_file_helper.cc',
174 'browser/devtools/devtools_file_helper.h',
175 'browser/devtools/devtools_file_system_indexer.cc',
176 'browser/devtools/devtools_file_system_indexer.h',
177 'browser/devtools/devtools_protocol.cc',
178 'browser/devtools/devtools_protocol.h',
179 'browser/devtools/devtools_target_impl.cc',
180 'browser/devtools/devtools_target_impl.h',
181 'browser/devtools/devtools_targets_ui.cc',
182 'browser/devtools/devtools_targets_ui.h',
183 'browser/devtools/devtools_toggle_action.cc',
184 'browser/devtools/devtools_toggle_action.h',
185 'browser/devtools/devtools_window.cc',
186 'browser/devtools/devtools_window.h',
187 'browser/devtools/port_forwarding_controller.cc',
188 'browser/devtools/port_forwarding_controller.h',
189 'browser/devtools/refcounted_adb_thread.cc',
190 'browser/devtools/refcounted_adb_thread.h',
191 'browser/devtools/remote_debugging_server.cc',
192 'browser/devtools/remote_debugging_server.h',
195 ['toolkit_uses_gtk == 1', {
197 '../build/linux/system.gyp:gtk',
202 '../third_party/libusb/libusb.gyp:libusb',
205 'browser/devtools/adb/android_rsa.cc',
206 'browser/devtools/browser_list_tabcontents_provider.cc',
207 'browser/devtools/devtools_file_system_indexer.cc',
208 'browser/devtools/devtools_target_impl.cc',
209 'browser/devtools/devtools_window.cc',
210 'browser/devtools/remote_debugging_server.cc',
213 ['debug_devtools==1', {
219 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
220 'msvs_disabled_warnings': [ 4267, ],
223 'target_name': 'plugin',
224 'type': 'static_library',
225 'variables': { 'enable_wexit_time_destructors': 1, },
227 'chrome_resources.gyp:chrome_strings',
228 '../base/base.gyp:base',
229 '../content/content.gyp:content_plugin',
232 'plugin/chrome_content_plugin_client.cc',
233 'plugin/chrome_content_plugin_client.h',
241 'target_name': 'utility',
242 'type': 'static_library',
243 'variables': { 'enable_wexit_time_destructors': 1, },
245 'common/extensions/api/api.gyp:api',
246 '../base/base.gyp:base',
247 '../content/content.gyp:content_utility',
248 '../media/media.gyp:media',
249 '../skia/skia.gyp:skia',
250 '../third_party/libxml/libxml.gyp:libxml',
252 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources',
253 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings',
256 'utility/chrome_content_utility_client.cc',
257 'utility/chrome_content_utility_client.h',
258 'utility/cloud_print/bitmap_image.cc',
259 'utility/cloud_print/bitmap_image.h',
260 'utility/cloud_print/pwg_encoder.cc',
261 'utility/cloud_print/pwg_encoder.h',
262 'utility/extensions/unpacker.cc',
263 'utility/extensions/unpacker.h',
264 'utility/importer/bookmark_html_reader.cc',
265 'utility/importer/bookmark_html_reader.h',
266 'utility/importer/bookmarks_file_importer.cc',
267 'utility/importer/bookmarks_file_importer.h',
268 'utility/importer/external_process_importer_bridge.cc',
269 'utility/importer/external_process_importer_bridge.h',
270 'utility/importer/favicon_reencode.cc',
271 'utility/importer/favicon_reencode.h',
272 'utility/importer/firefox_importer.cc',
273 'utility/importer/firefox_importer.h',
274 'utility/importer/firefox_importer_unittest_messages_internal.h',
275 'utility/importer/firefox_importer_unittest_utils.h',
276 'utility/importer/firefox_importer_unittest_utils_mac.cc',
277 'utility/importer/ie_importer_win.cc',
278 'utility/importer/ie_importer_win.h',
279 'utility/importer/importer.cc',
280 'utility/importer/importer.h',
281 'utility/importer/importer_creator.cc',
282 'utility/importer/importer_creator.h',
283 'utility/importer/nss_decryptor.cc',
284 'utility/importer/nss_decryptor.h',
285 'utility/importer/nss_decryptor_mac.h',
286 'utility/importer/nss_decryptor_mac.mm',
287 'utility/importer/nss_decryptor_win.cc',
288 'utility/importer/nss_decryptor_win.h',
289 'utility/importer/safari_importer.h',
290 'utility/importer/safari_importer.mm',
291 'utility/media_galleries/ipc_data_source.cc',
292 'utility/media_galleries/ipc_data_source.h',
293 'utility/media_galleries/itunes_pref_parser_win.cc',
294 'utility/media_galleries/itunes_pref_parser_win.h',
295 'utility/media_galleries/media_metadata_parser.cc',
296 'utility/media_galleries/media_metadata_parser.h',
297 'utility/profile_import_handler.cc',
298 'utility/profile_import_handler.h',
299 'utility/utility_message_handler.h',
300 'utility/web_resource_unpacker.cc',
301 'utility/web_resource_unpacker.h',
308 ['toolkit_uses_gtk == 1', {
310 '../build/linux/system.gyp:gtk',
313 ['OS=="win" or OS=="mac"', {
315 'utility/media_galleries/iapps_xml_utils.cc',
316 'utility/media_galleries/iapps_xml_utils.h',
317 'utility/media_galleries/itunes_library_parser.cc',
318 'utility/media_galleries/itunes_library_parser.h',
319 'utility/media_galleries/picasa_album_table_reader.cc',
320 'utility/media_galleries/picasa_album_table_reader.h',
321 'utility/media_galleries/picasa_albums_indexer.cc',
322 'utility/media_galleries/picasa_albums_indexer.h',
323 'utility/media_galleries/pmp_column_reader.cc',
324 'utility/media_galleries/pmp_column_reader.h',
329 'utility/media_galleries/iphoto_library_parser.cc',
330 'utility/media_galleries/iphoto_library_parser.h',
335 'utility/importer/nss_decryptor.cc',
338 ['OS!="win" and OS!="mac" and use_openssl==0', {
340 '../crypto/crypto.gyp:crypto',
343 'utility/importer/nss_decryptor_system_nss.cc',
344 'utility/importer/nss_decryptor_system_nss.h',
349 ['exclude', '^utility/importer/'],
350 ['exclude', '^utility/media_galleries/'],
351 ['exclude', '^utility/profile_import_handler\.cc'],
354 ['enable_mdns == 1', {
356 'utility/local_discovery/service_discovery_client_impl.cc',
357 'utility/local_discovery/service_discovery_client_impl.h',
358 'utility/local_discovery/service_discovery_message_handler.cc',
359 'utility/local_discovery/service_discovery_message_handler.h',
363 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
364 'msvs_disabled_warnings': [ 4267, ],
370 '../apps/app_shim/app_shim.gypi',
374 'target_name': 'helper_app',
375 'type': 'executable',
376 'variables': { 'enable_wexit_time_destructors': 1, },
377 'product_name': '<(mac_product_name) Helper',
381 'infoplist_strings_tool',
384 # chrome_exe_main_mac.cc's main() is the entry point for
385 # the "chrome" (browser app) target. All it does is jump
386 # to chrome_dll's ChromeMain. This is appropriate for
387 # helper processes too, because the logic to discriminate
388 # between process types at run time is actually directed
389 # by the --type command line argument processed by
390 # ChromeMain. Sharing chrome_exe_main_mac.cc with the
391 # browser app will suffice for now.
392 'app/chrome_exe_main_mac.cc',
393 'app/helper-Info.plist',
395 # TODO(mark): Come up with a fancier way to do this. It should only
396 # be necessary to list helper-Info.plist once, not the three times it
398 'mac_bundle_resources!': [
399 'app/helper-Info.plist',
401 # TODO(mark): For now, don't put any resources into this app. Its
402 # resources directory will be a symbolic link to the browser app's
403 # resources directory.
404 'mac_bundle_resources/': [
408 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)',
409 'CHROMIUM_SHORT_NAME': '<(branding)',
410 'CHROMIUM_STRIP_SAVE_FILE': 'app/app.saves',
411 'INFOPLIST_FILE': 'app/helper-Info.plist',
415 # The helper doesn't have real localizations, it just has
416 # empty .lproj directories, which is enough to convince Cocoa
417 # that anything running out of the helper .app supports those
419 'postbuild_name': 'Make Empty Localizations',
422 '>!@(<(apply_locales_cmd) -d ZZLOCALE.lproj <(locales))',
426 'tools/build/mac/make_locale_dirs.sh',
431 # The framework (chrome_dll) defines its load-time path
432 # (DYLIB_INSTALL_NAME_BASE) relative to the main executable
433 # (chrome). A different relative path needs to be used in
435 'postbuild_name': 'Fix Framework Link',
439 '@executable_path/../Versions/<(version_full)/<(mac_product_name) Framework.framework/<(mac_product_name) Framework',
440 '@executable_path/../../../<(mac_product_name) Framework.framework/<(mac_product_name) Framework',
441 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
445 # Modify the Info.plist as needed. The script explains why this
446 # is needed. This is also done in the chrome and chrome_dll
447 # targets. In this case, --breakpad=0, --keystone=0, and --scm=0
448 # are used because Breakpad, Keystone, and SCM keys are
449 # never placed into the helper.
450 'postbuild_name': 'Tweak Info.plist',
451 'action': ['<(tweak_info_plist_path)',
457 # Make sure there isn't any Objective-C in the helper app's
459 'postbuild_name': 'Verify No Objective-C',
461 '../build/mac/verify_no_objc.sh',
466 ['mac_breakpad==1', {
468 # A real .dSYM is needed for dump_syms to operate on.
472 # With mac_real_dsym set, strip_from_xcode won't be used.
473 # Specify CHROMIUM_STRIP_SAVE_FILE directly to Xcode.
474 'STRIPFLAGS': '-s $(CHROMIUM_STRIP_SAVE_FILE)',
479 # Override the outer definition of CHROMIUM_STRIP_SAVE_FILE.
480 'CHROMIUM_STRIP_SAVE_FILE': 'app/app_asan.saves',
483 ['component=="shared_library"', {
485 'LD_RUNPATH_SEARCH_PATHS': [
486 # Get back from Chromium.app/Contents/Versions/V/
487 # Helper.app/Contents/MacOS
488 '@loader_path/../../../../../../..',
493 }, # target helper_app
495 # A library containing the actual code for the app mode app, shared
497 'target_name': 'app_mode_app_support',
498 'type': 'static_library',
499 'variables': { 'enable_wexit_time_destructors': 1, },
500 'product_name': 'app_mode_app_support',
502 '../base/base.gyp:base',
503 'common_constants.gyp:common_constants',
506 'common/mac/app_mode_chrome_locator.h',
507 'common/mac/app_mode_chrome_locator.mm',
508 'common/mac/app_mode_common.h',
509 'common/mac/app_mode_common.mm',
514 }, # target app_mode_app_support
516 # This produces the template for app mode loader bundles. It's a
517 # template in the sense that parts of it need to be "filled in" by
518 # Chrome before it can be executed.
519 'target_name': 'app_mode_app',
520 'type': 'executable',
522 'variables': { 'enable_wexit_time_destructors': 1, },
523 'product_name': 'app_mode_loader',
525 'app_mode_app_support',
526 'infoplist_strings_tool',
529 'app/app_mode_loader_mac.mm',
530 'app/app_mode-Info.plist',
537 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
538 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
541 'mac_bundle_resources!': [
542 'app/app_mode-Info.plist',
544 'mac_bundle_resources/': [
548 'INFOPLIST_FILE': 'app/app_mode-Info.plist',
549 'APP_MODE_APP_BUNDLE_ID': '<(mac_bundle_id).app.@APP_MODE_SHORTCUT_ID@',
553 # Modify the Info.plist as needed. The script explains why this
554 # is needed. This is also done in the chrome and chrome_dll
555 # targets. In this case, --breakpad=0, --keystone=0, and --scm=0
556 # are used because Breakpad, Keystone, and SCM keys are
557 # never placed into the app mode loader.
558 'postbuild_name': 'Tweak Info.plist',
559 'action': ['<(tweak_info_plist_path)',
565 }, # target app_mode_app
567 # Convenience target to build a disk image.
568 'target_name': 'build_app_dmg',
569 # Don't place this in the 'all' list; most won't want it.
570 # In GYP, booleans are 0/1, not True/False.
571 'suppress_wildcard': 1,
577 'build_app_dmg_script_path': 'tools/build/mac/build_app_dmg',
578 'pkg_dmg_script_path': 'installer/mac/pkg-dmg',
581 # This duplicates the output path from build_app_dmg.
582 ['branding=="Chrome"', {
583 'dmg_name': 'GoogleChrome.dmg',
584 }, { # else: branding!="Chrome"
585 'dmg_name': 'Chromium.dmg',
592 '<(build_app_dmg_script_path)',
593 '<(pkg_dmg_script_path)',
594 '<(PRODUCT_DIR)/<(mac_product_name).app',
597 '<(PRODUCT_DIR)/<(dmg_name)',
599 'action_name': 'build_app_dmg',
600 'action': ['<(build_app_dmg_script_path)', '<@(branding)'],
605 # Dummy target to allow chrome to require plugin_carbon_interpose to
606 # build without actually linking to the resulting library.
607 'target_name': 'interpose_dependency_shim',
608 'type': 'executable',
609 'variables': { 'enable_wexit_time_destructors': 1, },
611 'plugin_carbon_interpose',
613 # In release, we end up with a strip step that is unhappy if there is
614 # no binary. Rather than check in a new file for this temporary hack,
615 # just generate a source file on the fly.
618 'action_name': 'generate_stub_main',
619 'process_outputs_as_sources': 1,
621 'outputs': [ '<(INTERMEDIATE_DIR)/dummy_main.c' ],
624 'echo "int main() { return 0; }" > <(INTERMEDIATE_DIR)/dummy_main.c'
630 # dylib for interposing Carbon calls in the plugin process.
631 'target_name': 'plugin_carbon_interpose',
632 'type': 'shared_library',
633 'variables': { 'enable_wexit_time_destructors': 1, },
634 # This target must not depend on static libraries, else the code in
635 # those libraries would appear twice in plugin processes: Once from
636 # Chromium Framework, and once from this dylib.
641 ['component=="shared_library"', {
643 '../content/content.gyp:content_plugin',
644 '../webkit/glue/webkit_glue.gyp:glue',
647 'LD_RUNPATH_SEARCH_PATHS': [
648 # Get back from Chromium.app/Contents/Versions/V
649 '@loader_path/../../../..',
655 '../content/plugin/plugin_carbon_interpose_mac.cc',
662 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
666 'DYLIB_COMPATIBILITY_VERSION': '<(version_mac_dylib)',
667 'DYLIB_CURRENT_VERSION': '<(version_mac_dylib)',
668 'DYLIB_INSTALL_NAME_BASE': '@executable_path/../../..',
672 # The framework (chrome_dll) defines its load-time path
673 # (DYLIB_INSTALL_NAME_BASE) relative to the main executable
674 # (chrome). A different relative path needs to be used in
675 # plugin_carbon_interpose, which runs in the helper_app.
676 'postbuild_name': 'Fix Framework Link',
680 '@executable_path/../Versions/<(version_full)/<(mac_product_name) Framework.framework/<(mac_product_name) Framework',
681 '@executable_path/../../../<(mac_product_name) Framework.framework/<(mac_product_name) Framework',
682 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
688 'target_name': 'infoplist_strings_tool',
689 'type': 'executable',
690 'variables': { 'enable_wexit_time_destructors': 1, },
692 'chrome_resources.gyp:chrome_strings',
693 '../base/base.gyp:base',
694 '../ui/gfx/gfx.gyp:gfx',
695 '../ui/gfx/gfx.gyp:gfx_geometry',
702 'tools/mac_helpers/infoplist_strings_util.mm',
710 'target_name': 'linux_symbols',
713 ['linux_dump_symbols==1', {
716 'action_name': 'dump_symbols',
718 '<(DEPTH)/build/linux/dump_app_syms',
719 '<(PRODUCT_DIR)/dump_syms',
720 '<(PRODUCT_DIR)/chrome',
723 '<(PRODUCT_DIR)/chrome.breakpad.<(target_arch)',
725 'action': ['<(DEPTH)/build/linux/dump_app_syms',
726 '<(PRODUCT_DIR)/dump_syms',
727 '<(linux_strip_binary)',
728 '<(PRODUCT_DIR)/chrome',
730 'message': 'Dumping breakpad symbols to <(_outputs)',
731 'process_outputs_as_sources': 1,
736 '../breakpad/breakpad.gyp:dump_syms',
739 ['linux_strip_reliability_tests==1', {
742 'action_name': 'strip_reliability_tests',
744 '<(PRODUCT_DIR)/_pyautolib.so',
747 '<(PRODUCT_DIR)/strip_reliability_tests.stamp',
752 'message': 'Stripping reliability tests',
763 # For historical reasons, chrome/chrome.sln has been the entry point
764 # for new Chrome developers. To assist development, include several
765 # core unittests that are otherwise only accessible side-by-side with
766 # chrome via all/all.sln.
767 'target_name': 'test_targets',
770 '../base/base.gyp:base_unittests',
771 '../content/content_shell_and_tests.gyp:content_browsertests',
772 '../content/content_shell_and_tests.gyp:content_shell',
773 '../content/content_shell_and_tests.gyp:content_unittests',
774 '../net/net.gyp:net_unittests',
775 '../ui/ui_unittests.gyp:ui_unittests',
779 'target_name': 'chrome_version_resources',
782 ['branding == "Chrome"', {
784 'branding_path': 'app/theme/google_chrome/BRANDING',
786 }, { # else branding!="Chrome"
788 'branding_path': 'app/theme/chromium/BRANDING',
793 'output_dir': 'chrome_version',
794 'template_input_path': 'app/chrome_version.rc.version',
796 'direct_dependent_settings': {
798 '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)',
802 'app/chrome_exe.ver',
803 'app/chrome_dll.ver',
804 'app/nacl64_exe.ver',
808 'version_resource_rules.gypi',
812 'target_name': 'chrome_version_header',
814 'hard_dependency': 1,
817 'action_name': 'version_header',
820 '<(DEPTH)/build/util/LASTCHANGE',
823 ['branding == "Chrome"', {
825 'branding_path': 'app/theme/google_chrome/BRANDING',
827 }, { # else branding!="Chrome"
829 'branding_path': 'app/theme/chromium/BRANDING',
836 '<(lastchange_path)',
840 '<(SHARED_INTERMEDIATE_DIR)/version.h',
844 '<(version_py_path)',
845 '-f', '<(version_path)',
846 '-f', '<(branding_path)',
847 '-f', '<(lastchange_path)',
851 'message': 'Generating version header file: <@(_outputs)',
856 'target_name': 'automation',
857 'type': 'static_library',
859 'chrome_resources.gyp:theme_resources',
860 '../skia/skia.gyp:skia',
866 'test/automation/automation_handle_tracker.cc',
867 'test/automation/automation_handle_tracker.h',
868 'test/automation/automation_proxy.cc',
869 'test/automation/automation_proxy.h',
870 'test/automation/browser_proxy.cc',
871 'test/automation/browser_proxy.h',
872 'test/automation/tab_proxy.cc',
873 'test/automation/tab_proxy.h',
874 'test/automation/window_proxy.cc',
875 'test/automation/window_proxy.h',
879 'target_name': 'crash_service',
880 'type': 'executable',
883 '../base/base.gyp:base',
884 '../chrome/common_constants.gyp:common_constants',
885 '../components/components.gyp:breakpad_crash_service',
891 'tools/crash_service/main.cc',
895 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
900 'target_name': 'sb_sigutil',
901 'type': 'executable',
903 '../base/base.gyp:base',
904 'safe_browsing_proto',
907 'browser/safe_browsing/signature_util.h',
908 'browser/safe_browsing/signature_util_win.cc',
909 'tools/safe_browsing/sb_sigutil.cc',
914 'chrome_process_finder.gypi',
918 ['OS=="win" and target_arch=="ia32"',
921 'target_name': 'chrome_user32_delay_imports',
924 'lib_dir': '<(INTERMEDIATE_DIR)',
927 'chrome.user32.delay.imports'
930 '../build/win/importlibs/create_import_lib.gypi',
932 'direct_dependent_settings': {
935 'AdditionalLibraryDirectories': ['<(lib_dir)', ],
936 'AdditionalDependencies': ['chrome.user32.delay.lib', ],
942 'target_name': 'crash_service_win64',
943 'type': 'executable',
944 'product_name': 'crash_service64',
946 'installer_util_nacl_win64',
947 '../base/base.gyp:base_static_win64',
948 '../chrome/common_constants.gyp:common_constants_win64',
949 '../components/components.gyp:breakpad_crash_service_win64',
955 'tools/crash_service/main.cc',
956 '../content/public/common/content_switches.cc',
959 'COMPILE_CONTENT_STATICALLY',
963 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
968 'msvs_target_platform': 'x64',
973 ], # OS=="win" and target_arch=="ia32"
975 'includes': [ 'chrome_browser_chromeos.gypi' ],
981 'target_name': 'chrome_java',
984 'chrome_resources.gyp:chrome_strings',
985 'profile_sync_service_model_type_selection_java',
987 'toolbar_model_security_levels_java',
988 '../base/base.gyp:base',
989 '../components/components.gyp:autofill_java',
990 '../components/components.gyp:navigation_interception_java',
991 '../components/components.gyp:sessions',
992 '../components/components.gyp:web_contents_delegate_android_java',
993 '../content/content.gyp:content_java',
994 '../printing/printing.gyp:printing_java',
995 '../sync/sync.gyp:sync_java',
996 '../third_party/guava/guava.gyp:guava_javalib',
997 '../ui/android/ui_android.gyp:ui_java',
1000 'java_in_dir': '../chrome/android/java',
1001 'has_java_resources': 1,
1002 'R_package': 'org.chromium.chrome',
1003 'R_package_relpath': 'org/chromium/chrome',
1004 'java_strings_grd': 'android_chrome_strings.grd',
1005 # Include xml string files generated from generated_resources.grd
1006 'res_extra_dirs': ['<(SHARED_INTERMEDIATE_DIR)/chrome/java/res'],
1007 'res_extra_files': ['<!@pymod_do_main(grit_info <@(grit_defines) --outputs "<(SHARED_INTERMEDIATE_DIR)/chrome" app/generated_resources.grd)'],
1010 '../build/java.gypi',
1015 'chrome_android.gypi',
1018 ['configuration_policy==1 and OS!="android"', {
1019 'includes': [ 'policy.gypi', ],
1021 ['enable_printing==1', {
1024 'target_name': 'service',
1025 'type': 'static_library',
1026 'variables': { 'enable_wexit_time_destructors': 1, },
1028 'chrome_resources.gyp:chrome_strings',
1031 '../base/base.gyp:base',
1032 '../google_apis/google_apis.gyp:google_apis',
1033 '../jingle/jingle.gyp:notifier',
1034 '../net/net.gyp:net',
1035 '../printing/printing.gyp:printing',
1036 '../skia/skia.gyp:skia',
1037 '../third_party/libjingle/libjingle.gyp:libjingle',
1040 'service/chrome_service_application_mac.h',
1041 'service/chrome_service_application_mac.mm',
1042 'service/service_ipc_server.cc',
1043 'service/service_ipc_server.h',
1044 'service/service_main.cc',
1045 'service/service_process.cc',
1046 'service/service_process.h',
1047 'service/service_process_prefs.cc',
1048 'service/service_process_prefs.h',
1049 'service/service_utility_process_host.cc',
1050 'service/service_utility_process_host.h',
1051 'service/cloud_print/cloud_print_auth.cc',
1052 'service/cloud_print/cloud_print_auth.h',
1053 'service/cloud_print/cloud_print_connector.cc',
1054 'service/cloud_print/cloud_print_connector.h',
1055 'service/cloud_print/cloud_print_service_helpers.cc',
1056 'service/cloud_print/cloud_print_service_helpers.h',
1057 'service/cloud_print/cloud_print_proxy.cc',
1058 'service/cloud_print/cloud_print_proxy.h',
1059 'service/cloud_print/cloud_print_proxy_backend.cc',
1060 'service/cloud_print/cloud_print_proxy_backend.h',
1061 'service/cloud_print/cloud_print_token_store.cc',
1062 'service/cloud_print/cloud_print_token_store.h',
1063 'service/cloud_print/cloud_print_url_fetcher.cc',
1064 'service/cloud_print/cloud_print_url_fetcher.h',
1065 'service/cloud_print/cloud_print_wipeout.cc',
1066 'service/cloud_print/cloud_print_wipeout.h',
1067 'service/cloud_print/connector_settings.cc',
1068 'service/cloud_print/connector_settings.h',
1069 'service/cloud_print/job_status_updater.cc',
1070 'service/cloud_print/job_status_updater.h',
1071 'service/cloud_print/print_system.cc',
1072 'service/cloud_print/print_system.h',
1073 'service/cloud_print/printer_job_handler.cc',
1074 'service/cloud_print/printer_job_handler.h',
1075 'service/cloud_print/printer_job_queue_handler.cc',
1076 'service/cloud_print/printer_job_queue_handler.h',
1077 'service/net/service_url_request_context.cc',
1078 'service/net/service_url_request_context.h',
1086 'service/cloud_print/print_system_win.cc',
1087 'service/cloud_print/print_system_win.h',
1088 'service/cloud_print/print_system_xps_win.cc',
1091 ['toolkit_uses_gtk == 1', {
1093 '../build/linux/system.gyp:gtk',
1098 '../printing/printing.gyp:cups',
1101 'service/cloud_print/print_system_cups.cc',
1104 ['OS!="win" and use_cups!=1', {
1106 'service/cloud_print/print_system_dummy.cc',