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_dependencies': [
16 '../content/content.gyp:content_app',
17 '../sync/sync.gyp:sync',
19 'allocator_target': '../base/allocator/allocator.gyp:allocator',
20 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
21 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
22 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'],
23 # TODO: remove this helper when we have loops in GYP
24 'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py'],
27 'chromium_dependencies': [
32 '../content/content.gyp:content_gpu',
33 '../content/content.gyp:content_ppapi_plugin',
34 '../content/content.gyp:content_worker',
35 '../printing/printing.gyp:printing',
36 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:inspector_resources',
45 'platform_locale_settings_grd':
46 'app/resources/locale_settings_win.grd',
48 ['OS!="android" and OS!="ios"', {
49 'chromium_dependencies': [
50 # Android doesn't use the service process (only needed for print).
63 ['branding=="Chrome"', {
64 'platform_locale_settings_grd':
65 'app/resources/locale_settings_google_chromeos.grd',
66 }, { # branding!=Chrome
67 'platform_locale_settings_grd':
68 'app/resources/locale_settings_chromiumos.grd',
72 'platform_locale_settings_grd':
73 'app/resources/locale_settings_linux.grd',
77 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "linux"', {
78 'platform_locale_settings_grd':
79 'app/resources/locale_settings_linux.grd',
82 'tweak_info_plist_path': '../build/mac/tweak_info_plist.py',
88 'platform_locale_settings_grd':
89 'app/resources/locale_settings_mac.grd',
91 ['branding=="Chrome"', {
92 'mac_bundle_id': 'com.google.Chrome',
93 'mac_creator': 'rimZ',
94 # The policy .grd file also needs the bundle id.
95 'grit_defines': ['-D', 'mac_bundle_id=com.google.Chrome'],
96 }, { # else: branding!="Chrome"
97 'mac_bundle_id': 'org.chromium.Chromium',
98 'mac_creator': 'Cr24',
99 # The policy .grd file also needs the bundle id.
100 'grit_defines': ['-D', 'mac_bundle_id=org.chromium.Chromium'],
104 # TODO(mcgrathr): This duplicates native_client/build/common.gypi;
105 # we should figure out a way to unify the settings.
106 ['target_arch=="ia32"', {
108 'NACL_TARGET_SUBARCH=32',
109 'NACL_TARGET_ARCH=x86',
110 'NACL_BUILD_SUBARCH=32',
111 'NACL_BUILD_ARCH=x86',
114 ['target_arch=="x64"', {
116 'NACL_TARGET_SUBARCH=64',
117 'NACL_TARGET_ARCH=x86',
118 'NACL_BUILD_SUBARCH=64',
119 'NACL_BUILD_ARCH=x86',
122 ['target_arch=="arm"', {
124 'NACL_BUILD_ARCH=arm',
125 'NACL_BUILD_SUBARCH=32',
126 'NACL_TARGET_ARCH=arm',
127 'NACL_TARGET_SUBARCH=32',
133 # Place some targets in gypi files to reduce contention on this file.
134 # By using an include, we keep everything in a single xcodeproj file.
135 # Note on Win64 targets: targets that end with win64 be used
136 # on 64-bit Windows only. Targets that end with nacl_win64 should be used
137 # by Native Client only.
138 # NOTE: Most new includes should go in the OS!="ios" condition below.
139 '../build/win_precompile.gypi',
140 'chrome_browser.gypi',
141 'chrome_browser_ui.gypi',
142 'chrome_common.gypi',
143 'chrome_installer_util.gypi',
144 'chrome_tests_unit.gypi',
150 'app/policy/policy_templates.gypi',
151 'chrome_browser_extensions.gypi',
154 'chrome_installer.gypi',
155 'chrome_renderer.gypi',
162 'target_name': 'default_extensions',
168 'destination': '<(PRODUCT_DIR)/extensions',
170 'browser/extensions/default_extensions/external_extensions.json'
175 ['OS=="linux" and chromeos==1 and branding=="Chrome"', {
178 'destination': '<(PRODUCT_DIR)',
180 'browser/extensions/default_extensions/chromeos/extensions/'
188 'target_name': 'debugger',
189 'type': 'static_library',
190 'variables': { 'enable_wexit_time_destructors': 1, },
192 'chrome_resources.gyp:chrome_extra_resources',
193 'chrome_resources.gyp:chrome_resources',
194 'chrome_resources.gyp:chrome_strings',
195 'chrome_resources.gyp:theme_resources',
196 'common/extensions/api/api.gyp:api',
197 '../base/base.gyp:base',
198 '../content/content.gyp:content_browser',
199 '../net/net.gyp:http_server',
200 '../net/net.gyp:net',
201 '../skia/skia.gyp:skia',
202 '../third_party/icu/icu.gyp:icui18n',
203 '../third_party/icu/icu.gyp:icuuc',
204 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
210 'browser/devtools/adb_client_socket.cc',
211 'browser/devtools/adb_client_socket.h',
212 'browser/devtools/browser_list_tabcontents_provider.cc',
213 'browser/devtools/browser_list_tabcontents_provider.h',
214 'browser/devtools/devtools_adb_bridge.cc',
215 'browser/devtools/devtools_adb_bridge.h',
216 'browser/devtools/devtools_file_helper.cc',
217 'browser/devtools/devtools_file_helper.h',
218 'browser/devtools/devtools_toggle_action.h',
219 'browser/devtools/devtools_window.cc',
220 'browser/devtools/devtools_window.h',
221 'browser/devtools/protocol_http_request.cc',
222 'browser/devtools/protocol_http_request.h',
223 'browser/devtools/remote_debugging_server.cc',
224 'browser/devtools/remote_debugging_server.h',
227 ['toolkit_uses_gtk == 1', {
229 '../build/linux/system.gyp:gtk',
234 'browser/devtools/browser_list_tabcontents_provider.cc',
235 'browser/devtools/devtools_window.cc',
236 'browser/devtools/remote_debugging_server.cc',
239 ['debug_devtools==1', {
245 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
246 'msvs_disabled_warnings': [ 4267, ],
249 'target_name': 'plugin',
250 'type': 'static_library',
251 'variables': { 'enable_wexit_time_destructors': 1, },
253 'chrome_resources.gyp:chrome_strings',
254 '../base/base.gyp:base',
255 '../content/content.gyp:content_plugin',
258 'plugin/chrome_content_plugin_client.cc',
259 'plugin/chrome_content_plugin_client.h',
267 'target_name': 'utility',
268 'type': 'static_library',
269 'variables': { 'enable_wexit_time_destructors': 1, },
271 '../base/base.gyp:base',
272 '../content/content.gyp:content_utility',
273 '../skia/skia.gyp:skia',
276 'utility/chrome_content_utility_client.cc',
277 'utility/chrome_content_utility_client.h',
278 'utility/profile_import_handler.cc',
279 'utility/profile_import_handler.h',
285 ['toolkit_uses_gtk == 1', {
287 '../build/linux/system.gyp:gtk',
292 'utility/profile_import_handler.cc',
296 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
297 'msvs_disabled_warnings': [ 4267, ],
300 'target_name': 'service',
301 'type': 'static_library',
302 'variables': { 'enable_wexit_time_destructors': 1, },
304 'chrome_resources.gyp:chrome_strings',
307 '../base/base.gyp:base',
308 '../google_apis/google_apis.gyp:google_apis',
309 '../jingle/jingle.gyp:notifier',
310 '../net/net.gyp:net',
311 '../printing/printing.gyp:printing',
312 '../skia/skia.gyp:skia',
313 '../third_party/libjingle/libjingle.gyp:libjingle',
316 'service/chrome_service_application_mac.h',
317 'service/chrome_service_application_mac.mm',
318 'service/service_ipc_server.cc',
319 'service/service_ipc_server.h',
320 'service/service_main.cc',
321 'service/service_process.cc',
322 'service/service_process.h',
323 'service/service_process_prefs.cc',
324 'service/service_process_prefs.h',
325 'service/service_utility_process_host.cc',
326 'service/service_utility_process_host.h',
327 'service/cloud_print/cloud_print_auth.cc',
328 'service/cloud_print/cloud_print_auth.h',
329 'service/cloud_print/cloud_print_connector.cc',
330 'service/cloud_print/cloud_print_connector.h',
331 'service/cloud_print/cloud_print_helpers.cc',
332 'service/cloud_print/cloud_print_helpers.h',
333 'service/cloud_print/cloud_print_proxy.cc',
334 'service/cloud_print/cloud_print_proxy.h',
335 'service/cloud_print/cloud_print_proxy_backend.cc',
336 'service/cloud_print/cloud_print_proxy_backend.h',
337 'service/cloud_print/cloud_print_token_store.cc',
338 'service/cloud_print/cloud_print_token_store.h',
339 'service/cloud_print/cloud_print_url_fetcher.cc',
340 'service/cloud_print/cloud_print_url_fetcher.h',
341 'service/cloud_print/cloud_print_wipeout.cc',
342 'service/cloud_print/cloud_print_wipeout.h',
343 'service/cloud_print/connector_settings.cc',
344 'service/cloud_print/connector_settings.h',
345 'service/cloud_print/job_status_updater.cc',
346 'service/cloud_print/job_status_updater.h',
347 'service/cloud_print/print_system_dummy.cc',
348 'service/cloud_print/print_system.cc',
349 'service/cloud_print/print_system.h',
350 'service/cloud_print/printer_job_handler.cc',
351 'service/cloud_print/printer_job_handler.h',
352 'service/cloud_print/printer_job_queue_handler.cc',
353 'service/cloud_print/printer_job_queue_handler.h',
354 'service/gaia/service_gaia_authenticator.cc',
355 'service/gaia/service_gaia_authenticator.h',
356 'service/net/service_url_request_context.cc',
357 'service/net/service_url_request_context.h',
365 # CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementation
366 # of cloud print system, and allows to use custom implementaiton.
367 'CP_PRINT_SYSTEM_AVAILABLE',
370 'service/cloud_print/print_system_win.cc',
373 ['toolkit_uses_gtk == 1', {
375 '../build/linux/system.gyp:gtk',
380 '../printing/printing.gyp:cups',
383 # CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementation
384 # of cloud print system, and allows to use custom implementaiton.
385 'CP_PRINT_SYSTEM_AVAILABLE',
388 'service/cloud_print/print_system_cups.cc',
394 'target_name': 'ipclist',
395 'type': 'executable',
396 'variables': { 'enable_wexit_time_destructors': 1, },
398 'test_support_common',
399 '../skia/skia.gyp:skia',
400 '../sync/sync.gyp:sync',
406 'tools/ipclist/ipclist.cc',
414 'target_name': 'helper_app',
415 'type': 'executable',
416 'variables': { 'enable_wexit_time_destructors': 1, },
417 'product_name': '<(mac_product_name) Helper',
421 'infoplist_strings_tool',
424 # chrome_exe_main_mac.cc's main() is the entry point for
425 # the "chrome" (browser app) target. All it does is jump
426 # to chrome_dll's ChromeMain. This is appropriate for
427 # helper processes too, because the logic to discriminate
428 # between process types at run time is actually directed
429 # by the --type command line argument processed by
430 # ChromeMain. Sharing chrome_exe_main_mac.cc with the
431 # browser app will suffice for now.
432 'app/chrome_exe_main_mac.cc',
433 'app/helper-Info.plist',
435 # TODO(mark): Come up with a fancier way to do this. It should only
436 # be necessary to list helper-Info.plist once, not the three times it
438 'mac_bundle_resources!': [
439 'app/helper-Info.plist',
441 # TODO(mark): For now, don't put any resources into this app. Its
442 # resources directory will be a symbolic link to the browser app's
443 # resources directory.
444 'mac_bundle_resources/': [
448 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)',
449 'CHROMIUM_SHORT_NAME': '<(branding)',
450 'CHROMIUM_STRIP_SAVE_FILE': 'app/app.saves',
451 'INFOPLIST_FILE': 'app/helper-Info.plist',
455 # The helper doesn't have real localizations, it just has
456 # empty .lproj directories, which is enough to convince Cocoa
457 # that anything running out of the helper .app supports those
459 'postbuild_name': 'Make Empty Localizations',
462 '>!@(<(apply_locales_cmd) -d ZZLOCALE.lproj <(locales))',
466 'tools/build/mac/make_locale_dirs.sh',
471 # The framework (chrome_dll) defines its load-time path
472 # (DYLIB_INSTALL_NAME_BASE) relative to the main executable
473 # (chrome). A different relative path needs to be used in
475 'postbuild_name': 'Fix Framework Link',
479 '@executable_path/../Versions/<(version_full)/<(mac_product_name) Framework.framework/<(mac_product_name) Framework',
480 '@executable_path/../../../<(mac_product_name) Framework.framework/<(mac_product_name) Framework',
481 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
485 # Modify the Info.plist as needed. The script explains why this
486 # is needed. This is also done in the chrome and chrome_dll
487 # targets. In this case, --breakpad=0, --keystone=0, and --scm=0
488 # are used because Breakpad, Keystone, and SCM keys are
489 # never placed into the helper.
490 'postbuild_name': 'Tweak Info.plist',
491 'action': ['<(tweak_info_plist_path)',
497 # Make sure there isn't any Objective-C in the helper app's
499 'postbuild_name': 'Verify No Objective-C',
501 '../build/mac/verify_no_objc.sh',
506 ['mac_breakpad==1', {
508 # A real .dSYM is needed for dump_syms to operate on.
512 # With mac_real_dsym set, strip_from_xcode won't be used.
513 # Specify CHROMIUM_STRIP_SAVE_FILE directly to Xcode.
514 'STRIPFLAGS': '-s $(CHROMIUM_STRIP_SAVE_FILE)',
519 # Override the outer definition of CHROMIUM_STRIP_SAVE_FILE.
520 'CHROMIUM_STRIP_SAVE_FILE': 'app/app_asan.saves',
523 ['component=="shared_library"', {
525 'LD_RUNPATH_SEARCH_PATHS': [
526 # Get back from Chromium.app/Contents/Versions/V/
527 # Helper.app/Contents/MacOS
528 '@loader_path/../../../../../../..',
533 }, # target helper_app
535 # A library containing the actual code for the app mode app, shared
537 'target_name': 'app_mode_app_support',
538 'type': 'static_library',
539 'variables': { 'enable_wexit_time_destructors': 1, },
540 'product_name': 'app_mode_app_support',
542 '../base/base.gyp:base',
543 'common_constants.gyp:common_constants',
546 'common/mac/app_mode_chrome_locator.h',
547 'common/mac/app_mode_chrome_locator.mm',
548 'common/mac/app_mode_common.h',
549 'common/mac/app_mode_common.mm',
554 }, # target app_mode_app_support
556 # This produces the template for app mode loader bundles. It's a
557 # template in the sense that parts of it need to be "filled in" by
558 # Chrome before it can be executed.
559 'target_name': 'app_mode_app',
560 'type': 'executable',
562 'variables': { 'enable_wexit_time_destructors': 1, },
563 'product_name': 'app_mode_loader',
565 'app_mode_app_support',
566 'infoplist_strings_tool',
569 'app/app_mode_loader_mac.mm',
570 'app/app_mode-Info.plist',
577 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
578 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
581 'mac_bundle_resources!': [
582 'app/app_mode-Info.plist',
584 'mac_bundle_resources/': [
588 'INFOPLIST_FILE': 'app/app_mode-Info.plist',
589 'APP_MODE_APP_BUNDLE_ID': '<(mac_bundle_id).app.@APP_MODE_SHORTCUT_ID@',
593 # Modify the Info.plist as needed. The script explains why this
594 # is needed. This is also done in the chrome and chrome_dll
595 # targets. In this case, --breakpad=0, --keystone=0, and --scm=0
596 # are used because Breakpad, Keystone, and SCM keys are
597 # never placed into the app mode loader.
598 'postbuild_name': 'Tweak Info.plist',
599 'action': ['<(tweak_info_plist_path)',
605 }, # target app_mode_app
607 # Convenience target to build a disk image.
608 'target_name': 'build_app_dmg',
609 # Don't place this in the 'all' list; most won't want it.
610 # In GYP, booleans are 0/1, not True/False.
611 'suppress_wildcard': 1,
617 'build_app_dmg_script_path': 'tools/build/mac/build_app_dmg',
618 'pkg_dmg_script_path': 'installer/mac/pkg-dmg',
621 # This duplicates the output path from build_app_dmg.
622 ['branding=="Chrome"', {
623 'dmg_name': 'GoogleChrome.dmg',
624 }, { # else: branding!="Chrome"
625 'dmg_name': 'Chromium.dmg',
632 '<(build_app_dmg_script_path)',
633 '<(pkg_dmg_script_path)',
634 '<(PRODUCT_DIR)/<(mac_product_name).app',
637 '<(PRODUCT_DIR)/<(dmg_name)',
639 'action_name': 'build_app_dmg',
640 'action': ['<(build_app_dmg_script_path)', '<@(branding)'],
645 # Dummy target to allow chrome to require plugin_carbon_interpose to
646 # build without actually linking to the resulting library.
647 'target_name': 'interpose_dependency_shim',
648 'type': 'executable',
649 'variables': { 'enable_wexit_time_destructors': 1, },
651 'plugin_carbon_interpose',
653 # In release, we end up with a strip step that is unhappy if there is
654 # no binary. Rather than check in a new file for this temporary hack,
655 # just generate a source file on the fly.
658 'action_name': 'generate_stub_main',
659 'process_outputs_as_sources': 1,
661 'outputs': [ '<(INTERMEDIATE_DIR)/dummy_main.c' ],
664 'echo "int main() { return 0; }" > <(INTERMEDIATE_DIR)/dummy_main.c'
670 # dylib for interposing Carbon calls in the plugin process.
671 'target_name': 'plugin_carbon_interpose',
672 'type': 'shared_library',
673 'variables': { 'enable_wexit_time_destructors': 1, },
674 # This target must not depend on static libraries, else the code in
675 # those libraries would appear twice in plugin processes: Once from
676 # Chromium Framework, and once from this dylib.
681 ['component=="shared_library"', {
683 '../webkit/support/webkit_support.gyp:glue',
684 '../content/content.gyp:content_plugin',
687 'LD_RUNPATH_SEARCH_PATHS': [
688 # Get back from Chromium.app/Contents/Versions/V
689 '@loader_path/../../../..',
695 '../content/plugin/plugin_carbon_interpose_mac.cc',
702 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
706 'DYLIB_COMPATIBILITY_VERSION': '<(version_mac_dylib)',
707 'DYLIB_CURRENT_VERSION': '<(version_mac_dylib)',
708 'DYLIB_INSTALL_NAME_BASE': '@executable_path/../../..',
712 # The framework (chrome_dll) defines its load-time path
713 # (DYLIB_INSTALL_NAME_BASE) relative to the main executable
714 # (chrome). A different relative path needs to be used in
715 # plugin_carbon_interpose, which runs in the helper_app.
716 'postbuild_name': 'Fix Framework Link',
720 '@executable_path/../Versions/<(version_full)/<(mac_product_name) Framework.framework/<(mac_product_name) Framework',
721 '@executable_path/../../../<(mac_product_name) Framework.framework/<(mac_product_name) Framework',
722 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
728 'target_name': 'infoplist_strings_tool',
729 'type': 'executable',
730 'variables': { 'enable_wexit_time_destructors': 1, },
732 'chrome_resources.gyp:chrome_strings',
733 '../base/base.gyp:base',
740 'tools/mac_helpers/infoplist_strings_util.mm',
745 ['OS!="mac" and OS!="ios"', {
748 'target_name': 'convert_dict',
749 'type': 'executable',
750 'variables': { 'enable_wexit_time_destructors': 1, },
752 '../base/base.gyp:base',
753 '../base/base.gyp:base_i18n',
755 '../third_party/hunspell/hunspell.gyp:hunspell',
758 'tools/convert_dict/convert_dict.cc',
762 'target_name': 'convert_dict_lib',
763 'product_name': 'convert_dict',
764 'type': 'static_library',
765 'variables': { 'enable_wexit_time_destructors': 1, },
770 '../base/base.gyp:base',
773 'tools/convert_dict/aff_reader.cc',
774 'tools/convert_dict/aff_reader.h',
775 'tools/convert_dict/dic_reader.cc',
776 'tools/convert_dict/dic_reader.h',
777 'tools/convert_dict/hunspell_reader.cc',
778 'tools/convert_dict/hunspell_reader.h',
782 'target_name': 'flush_cache',
783 'type': 'executable',
785 '../base/base.gyp:base',
786 '../base/base.gyp:test_support_base',
789 'tools/perf/flush_cache/flush_cache.cc',
793 }], # OS!="mac" and OS!="ios"
797 'target_name': 'linux_symbols',
800 ['linux_dump_symbols==1', {
803 'action_name': 'dump_symbols',
805 '<(DEPTH)/build/linux/dump_app_syms',
806 '<(PRODUCT_DIR)/dump_syms',
807 '<(PRODUCT_DIR)/chrome',
810 '<(PRODUCT_DIR)/chrome.breakpad.<(target_arch)',
812 'action': ['<(DEPTH)/build/linux/dump_app_syms',
813 '<(PRODUCT_DIR)/dump_syms',
814 '<(linux_strip_binary)',
815 '<(PRODUCT_DIR)/chrome',
817 'message': 'Dumping breakpad symbols to <(_outputs)',
818 'process_outputs_as_sources': 1,
823 '../breakpad/breakpad.gyp:dump_syms',
826 ['linux_strip_reliability_tests==1', {
829 'action_name': 'strip_reliability_tests',
831 '<(PRODUCT_DIR)/automated_ui_tests',
832 '<(PRODUCT_DIR)/reliability_tests',
833 '<(PRODUCT_DIR)/_pyautolib.so',
836 '<(PRODUCT_DIR)/strip_reliability_tests.stamp',
841 'message': 'Stripping reliability tests',
845 'automated_ui_tests',
852 'target_name': 'ipcfuzz',
853 'type': 'loadable_module',
858 'test_support_common',
859 '../skia/skia.gyp:skia',
862 'tools/ipclist/ipcfuzz.cc',
870 # For historical reasons, chrome/chrome.sln has been the entry point
871 # for new Chrome developers. To assist development, include several
872 # core unittests that are otherwise only accessible side-by-side with
873 # chrome via all/all.sln.
874 'target_name': 'test_targets',
877 '../base/base.gyp:base_unittests',
878 '../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
879 '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests',
880 '../content/content.gyp:content_browsertests',
881 '../content/content.gyp:content_shell',
882 '../content/content.gyp:content_unittests',
883 '../net/net.gyp:net_unittests',
884 '../ui/ui.gyp:ui_unittests',
887 ['use_aura==1 or target_arch=="x64"', {
889 '../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
890 '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests',
896 'target_name': 'chrome_version_resources',
899 ['branding == "Chrome"', {
901 'branding_path': 'app/theme/google_chrome/BRANDING',
903 }, { # else branding!="Chrome"
905 'branding_path': 'app/theme/chromium/BRANDING',
910 'output_dir': 'chrome_version',
911 'template_input_path': 'app/chrome_version.rc.version',
913 'direct_dependent_settings': {
915 '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)',
919 'app/app_host_exe.ver',
920 'app/chrome_exe.ver',
921 'app/chrome_dll.ver',
922 'app/nacl64_exe.ver',
926 'version_resource_rules.gypi',
930 'target_name': 'chrome_version_header',
932 'hard_dependency': 1,
935 'action_name': 'version_header',
938 '<(DEPTH)/build/util/LASTCHANGE',
941 ['branding == "Chrome"', {
943 'branding_path': 'app/theme/google_chrome/BRANDING',
945 }, { # else branding!="Chrome"
947 'branding_path': 'app/theme/chromium/BRANDING',
954 '<(lastchange_path)',
958 '<(SHARED_INTERMEDIATE_DIR)/version.h',
962 '<(version_py_path)',
963 '-f', '<(version_path)',
964 '-f', '<(branding_path)',
965 '-f', '<(lastchange_path)',
969 'message': 'Generating version header file: <@(_outputs)',
974 'target_name': 'automation',
975 'type': 'static_library',
977 'chrome_resources.gyp:theme_resources',
978 '../skia/skia.gyp:skia',
984 'test/automation/automation_handle_tracker.cc',
985 'test/automation/automation_handle_tracker.h',
986 'test/automation/automation_json_requests.cc',
987 'test/automation/automation_json_requests.h',
988 'test/automation/automation_proxy.cc',
989 'test/automation/automation_proxy.h',
990 'test/automation/browser_proxy.cc',
991 'test/automation/browser_proxy.h',
992 'test/automation/tab_proxy.cc',
993 'test/automation/tab_proxy.h',
994 'test/automation/value_conversion_traits.cc',
995 'test/automation/value_conversion_traits.h',
996 'test/automation/value_conversion_util.h',
997 'test/automation/window_proxy.cc',
998 'test/automation/window_proxy.h',
1002 'target_name': 'crash_service',
1003 'type': 'executable',
1006 '../base/base.gyp:base',
1007 '../breakpad/breakpad.gyp:breakpad_handler',
1008 '../breakpad/breakpad.gyp:breakpad_sender',
1009 '../chrome/common_constants.gyp:common_constants',
1015 'tools/crash_service/crash_service.cc',
1016 'tools/crash_service/crash_service.h',
1017 'tools/crash_service/main.cc',
1021 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
1026 'target_name': 'sb_sigutil',
1027 'type': 'executable',
1029 '../base/base.gyp:base',
1030 'safe_browsing_proto',
1033 'browser/safe_browsing/signature_util.h',
1034 'browser/safe_browsing/signature_util_win.cc',
1035 'tools/safe_browsing/sb_sigutil.cc',
1040 ['OS=="win" and target_arch=="ia32"',
1043 'target_name': 'crash_service_win64',
1044 'type': 'executable',
1045 'product_name': 'crash_service64',
1047 'installer_util_nacl_win64',
1048 '../base/base.gyp:base_static_win64',
1049 '../breakpad/breakpad.gyp:breakpad_handler_win64',
1050 '../breakpad/breakpad.gyp:breakpad_sender_win64',
1051 '../chrome/common_constants.gyp:common_constants_win64',
1057 'tools/crash_service/crash_service.cc',
1058 'tools/crash_service/crash_service.h',
1059 'tools/crash_service/main.cc',
1060 '../content/public/common/content_switches.cc',
1063 'COMPILE_CONTENT_STATICALLY',
1067 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
1072 'msvs_target_platform': 'x64',
1077 ], # OS=="win" and target_arch=="ia32"
1079 'includes': [ 'chrome_browser_chromeos.gypi' ],
1085 'target_name': 'chrome_java',
1088 'chrome_resources.gyp:chrome_strings',
1089 'profile_sync_service_model_type_selection_java',
1090 'toolbar_model_security_levels_java',
1091 '../base/base.gyp:base',
1092 '../components/components.gyp:navigation_interception_java',
1093 '../components/components.gyp:autofill_java',
1094 '../components/components.gyp:web_contents_delegate_android_java',
1095 '../content/content.gyp:content_java',
1096 '../sync/sync.gyp:sync_java',
1097 '../third_party/guava/guava.gyp:guava_javalib',
1098 '../ui/ui.gyp:ui_java',
1101 'java_in_dir': '../chrome/android/java',
1102 'has_java_resources': 1,
1103 'R_package': 'org.chromium.chrome',
1104 'R_package_relpath': 'org/chromium/chrome',
1105 'java_strings_grd': 'android_chrome_strings.grd',
1106 # Include xml string files generated from generated_resources.grd
1107 'res_extra_dirs': ['<(SHARED_INTERMEDIATE_DIR)/chrome/java/res'],
1108 'res_extra_files': ['<!@pymod_do_main(grit_info <@(grit_defines) --outputs "<(SHARED_INTERMEDIATE_DIR)/chrome" app/generated_resources.grd)'],
1111 '../build/java.gypi',
1116 'chrome_android.gypi',