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 '../content/content.gyp:content_app',
17 '../sync/sync.gyp:sync',
19 'chromium_child_dependencies': [
21 '../content/content.gyp:content_app',
22 '../sync/sync.gyp:sync',
24 'allocator_target': '../base/allocator/allocator.gyp:allocator',
25 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
26 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out',
27 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'],
28 # TODO: remove this helper when we have loops in GYP
29 'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py'],
32 'chromium_browser_dependencies': [
34 '../content/content.gyp:content_ppapi_plugin',
35 '../printing/printing.gyp:printing',
37 'chromium_child_dependencies': [
42 '../content/content.gyp:content_gpu',
43 '../content/content.gyp:content_ppapi_plugin',
44 '../content/content.gyp:content_worker',
45 '../printing/printing.gyp:printing',
46 '../third_party/WebKit/Source/devtools/devtools.gyp:devtools_frontend_resources',
55 'platform_locale_settings_grd':
56 'app/resources/locale_settings_win.grd',
58 ['OS!="android" and OS!="ios"', {
59 'chromium_browser_dependencies': [
60 # Android doesn't use the service process (only needed for print).
73 ['branding=="Chrome"', {
74 'platform_locale_settings_grd':
75 'app/resources/locale_settings_google_chromeos.grd',
76 }, { # branding!=Chrome
77 'platform_locale_settings_grd':
78 'app/resources/locale_settings_chromiumos.grd',
82 'platform_locale_settings_grd':
83 'app/resources/locale_settings_linux.grd',
87 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "linux"', {
88 'platform_locale_settings_grd':
89 'app/resources/locale_settings_linux.grd',
92 'tweak_info_plist_path': '../build/mac/tweak_info_plist.py',
98 'platform_locale_settings_grd':
99 'app/resources/locale_settings_mac.grd',
101 ['branding=="Chrome"', {
102 'mac_bundle_id': 'com.google.Chrome',
103 'mac_creator': 'rimZ',
104 # The policy .grd file also needs the bundle id.
105 'grit_defines': ['-D', 'mac_bundle_id=com.google.Chrome'],
106 }, { # else: branding!="Chrome"
107 'mac_bundle_id': 'org.chromium.Chromium',
108 'mac_creator': 'Cr24',
109 # The policy .grd file also needs the bundle id.
110 'grit_defines': ['-D', 'mac_bundle_id=org.chromium.Chromium'],
114 # TODO(mcgrathr): This duplicates native_client/build/common.gypi;
115 # we should figure out a way to unify the settings.
116 ['target_arch=="ia32"', {
118 'NACL_TARGET_SUBARCH=32',
119 'NACL_TARGET_ARCH=x86',
120 'NACL_BUILD_SUBARCH=32',
121 'NACL_BUILD_ARCH=x86',
124 ['target_arch=="x64"', {
126 'NACL_TARGET_SUBARCH=64',
127 'NACL_TARGET_ARCH=x86',
128 'NACL_BUILD_SUBARCH=64',
129 'NACL_BUILD_ARCH=x86',
132 ['target_arch=="arm"', {
134 'NACL_BUILD_ARCH=arm',
135 'NACL_BUILD_SUBARCH=32',
136 'NACL_TARGET_ARCH=arm',
137 'NACL_TARGET_SUBARCH=32',
140 ['target_arch=="mipsel"', {
147 # Place some targets in gypi files to reduce contention on this file.
148 # By using an include, we keep everything in a single xcodeproj file.
149 # Note on Win64 targets: targets that end with win64 be used
150 # on 64-bit Windows only. Targets that end with nacl_win64 should be used
151 # by Native Client only.
152 # NOTE: Most new includes should go in the OS!="ios" condition below.
153 '../build/win_precompile.gypi',
154 'chrome_browser.gypi',
155 'chrome_browser_ui.gypi',
156 'chrome_common.gypi',
157 'chrome_installer_util.gypi',
158 'chrome_tests_unit.gypi',
164 'app/policy/policy_templates.gypi',
165 'chrome_browser_extensions.gypi',
168 'chrome_installer.gypi',
169 'chrome_renderer.gypi',
176 'target_name': 'default_extensions',
182 'destination': '<(PRODUCT_DIR)/extensions',
184 'browser/extensions/default_extensions/external_extensions.json'
189 ['OS=="linux" and chromeos==1 and branding=="Chrome"', {
192 'destination': '<(PRODUCT_DIR)',
194 'browser/extensions/default_extensions/chromeos/extensions/'
202 'target_name': 'debugger',
203 'type': 'static_library',
204 'variables': { 'enable_wexit_time_destructors': 1, },
206 'chrome_resources.gyp:chrome_extra_resources',
207 'chrome_resources.gyp:chrome_resources',
208 'chrome_resources.gyp:chrome_strings',
209 'chrome_resources.gyp:theme_resources',
210 'common/extensions/api/api.gyp:api',
211 '../base/base.gyp:base',
212 '../content/content.gyp:content_browser',
213 '../net/net.gyp:http_server',
214 '../net/net.gyp:net',
215 '../skia/skia.gyp:skia',
216 '../third_party/icu/icu.gyp:icui18n',
217 '../third_party/icu/icu.gyp:icuuc',
218 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
224 'browser/devtools/adb_client_socket.cc',
225 'browser/devtools/adb_client_socket.h',
226 'browser/devtools/browser_list_tabcontents_provider.cc',
227 'browser/devtools/browser_list_tabcontents_provider.h',
228 'browser/devtools/devtools_adb_bridge.cc',
229 'browser/devtools/devtools_adb_bridge.h',
230 'browser/devtools/devtools_file_helper.cc',
231 'browser/devtools/devtools_file_helper.h',
232 'browser/devtools/devtools_toggle_action.h',
233 'browser/devtools/devtools_window.cc',
234 'browser/devtools/devtools_window.h',
235 'browser/devtools/remote_debugging_server.cc',
236 'browser/devtools/remote_debugging_server.h',
237 'browser/devtools/tethering_adb_filter.cc',
238 'browser/devtools/tethering_adb_filter.h',
241 ['toolkit_uses_gtk == 1', {
243 '../build/linux/system.gyp:gtk',
248 'browser/devtools/browser_list_tabcontents_provider.cc',
249 'browser/devtools/devtools_window.cc',
250 'browser/devtools/remote_debugging_server.cc',
253 ['debug_devtools==1', {
259 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
260 'msvs_disabled_warnings': [ 4267, ],
263 'target_name': 'plugin',
264 'type': 'static_library',
265 'variables': { 'enable_wexit_time_destructors': 1, },
267 'chrome_resources.gyp:chrome_strings',
268 '../base/base.gyp:base',
269 '../content/content.gyp:content_plugin',
272 'plugin/chrome_content_plugin_client.cc',
273 'plugin/chrome_content_plugin_client.h',
281 'target_name': 'utility',
282 'type': 'static_library',
283 'variables': { 'enable_wexit_time_destructors': 1, },
285 '../base/base.gyp:base',
286 '../content/content.gyp:content_utility',
287 '../skia/skia.gyp:skia',
288 '../third_party/libxml/libxml.gyp:libxml',
291 'utility/chrome_content_utility_client.cc',
292 'utility/chrome_content_utility_client.h',
293 'utility/itunes_pref_parser_win.cc',
294 'utility/itunes_pref_parser_win.h',
295 'utility/profile_import_handler.cc',
296 'utility/profile_import_handler.h',
302 ['toolkit_uses_gtk == 1', {
304 '../build/linux/system.gyp:gtk',
309 'utility/profile_import_handler.cc',
313 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
314 'msvs_disabled_warnings': [ 4267, ],
317 'target_name': 'service',
318 'type': 'static_library',
319 'variables': { 'enable_wexit_time_destructors': 1, },
321 'chrome_resources.gyp:chrome_strings',
324 '../base/base.gyp:base',
325 '../google_apis/google_apis.gyp:google_apis',
326 '../jingle/jingle.gyp:notifier',
327 '../net/net.gyp:net',
328 '../printing/printing.gyp:printing',
329 '../skia/skia.gyp:skia',
330 '../third_party/libjingle/libjingle.gyp:libjingle',
333 'service/chrome_service_application_mac.h',
334 'service/chrome_service_application_mac.mm',
335 'service/service_ipc_server.cc',
336 'service/service_ipc_server.h',
337 'service/service_main.cc',
338 'service/service_process.cc',
339 'service/service_process.h',
340 'service/service_process_prefs.cc',
341 'service/service_process_prefs.h',
342 'service/service_utility_process_host.cc',
343 'service/service_utility_process_host.h',
344 'service/cloud_print/cloud_print_auth.cc',
345 'service/cloud_print/cloud_print_auth.h',
346 'service/cloud_print/cloud_print_connector.cc',
347 'service/cloud_print/cloud_print_connector.h',
348 'service/cloud_print/cloud_print_helpers.cc',
349 'service/cloud_print/cloud_print_helpers.h',
350 'service/cloud_print/cloud_print_proxy.cc',
351 'service/cloud_print/cloud_print_proxy.h',
352 'service/cloud_print/cloud_print_proxy_backend.cc',
353 'service/cloud_print/cloud_print_proxy_backend.h',
354 'service/cloud_print/cloud_print_token_store.cc',
355 'service/cloud_print/cloud_print_token_store.h',
356 'service/cloud_print/cloud_print_url_fetcher.cc',
357 'service/cloud_print/cloud_print_url_fetcher.h',
358 'service/cloud_print/cloud_print_wipeout.cc',
359 'service/cloud_print/cloud_print_wipeout.h',
360 'service/cloud_print/connector_settings.cc',
361 'service/cloud_print/connector_settings.h',
362 'service/cloud_print/job_status_updater.cc',
363 'service/cloud_print/job_status_updater.h',
364 'service/cloud_print/print_system_dummy.cc',
365 'service/cloud_print/print_system.cc',
366 'service/cloud_print/print_system.h',
367 'service/cloud_print/printer_job_handler.cc',
368 'service/cloud_print/printer_job_handler.h',
369 'service/cloud_print/printer_job_queue_handler.cc',
370 'service/cloud_print/printer_job_queue_handler.h',
371 'service/net/service_url_request_context.cc',
372 'service/net/service_url_request_context.h',
380 # CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementation
381 # of cloud print system, and allows to use custom implementaiton.
382 'CP_PRINT_SYSTEM_AVAILABLE',
385 'service/cloud_print/print_system_win.cc',
388 ['toolkit_uses_gtk == 1', {
390 '../build/linux/system.gyp:gtk',
395 '../printing/printing.gyp:cups',
398 # CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementation
399 # of cloud print system, and allows to use custom implementaiton.
400 'CP_PRINT_SYSTEM_AVAILABLE',
403 'service/cloud_print/print_system_cups.cc',
409 'target_name': 'ipclist',
410 'type': 'executable',
411 'variables': { 'enable_wexit_time_destructors': 1, },
413 'test_support_common',
414 '../skia/skia.gyp:skia',
415 '../sync/sync.gyp:sync',
421 'tools/ipclist/ipclist.cc',
429 'target_name': 'helper_app',
430 'type': 'executable',
431 'variables': { 'enable_wexit_time_destructors': 1, },
432 'product_name': '<(mac_product_name) Helper',
436 'infoplist_strings_tool',
439 # chrome_exe_main_mac.cc's main() is the entry point for
440 # the "chrome" (browser app) target. All it does is jump
441 # to chrome_dll's ChromeMain. This is appropriate for
442 # helper processes too, because the logic to discriminate
443 # between process types at run time is actually directed
444 # by the --type command line argument processed by
445 # ChromeMain. Sharing chrome_exe_main_mac.cc with the
446 # browser app will suffice for now.
447 'app/chrome_exe_main_mac.cc',
448 'app/helper-Info.plist',
450 # TODO(mark): Come up with a fancier way to do this. It should only
451 # be necessary to list helper-Info.plist once, not the three times it
453 'mac_bundle_resources!': [
454 'app/helper-Info.plist',
456 # TODO(mark): For now, don't put any resources into this app. Its
457 # resources directory will be a symbolic link to the browser app's
458 # resources directory.
459 'mac_bundle_resources/': [
463 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)',
464 'CHROMIUM_SHORT_NAME': '<(branding)',
465 'CHROMIUM_STRIP_SAVE_FILE': 'app/app.saves',
466 'INFOPLIST_FILE': 'app/helper-Info.plist',
470 # The helper doesn't have real localizations, it just has
471 # empty .lproj directories, which is enough to convince Cocoa
472 # that anything running out of the helper .app supports those
474 'postbuild_name': 'Make Empty Localizations',
477 '>!@(<(apply_locales_cmd) -d ZZLOCALE.lproj <(locales))',
481 'tools/build/mac/make_locale_dirs.sh',
486 # The framework (chrome_dll) defines its load-time path
487 # (DYLIB_INSTALL_NAME_BASE) relative to the main executable
488 # (chrome). A different relative path needs to be used in
490 'postbuild_name': 'Fix Framework Link',
494 '@executable_path/../Versions/<(version_full)/<(mac_product_name) Framework.framework/<(mac_product_name) Framework',
495 '@executable_path/../../../<(mac_product_name) Framework.framework/<(mac_product_name) Framework',
496 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
500 # Modify the Info.plist as needed. The script explains why this
501 # is needed. This is also done in the chrome and chrome_dll
502 # targets. In this case, --breakpad=0, --keystone=0, and --scm=0
503 # are used because Breakpad, Keystone, and SCM keys are
504 # never placed into the helper.
505 'postbuild_name': 'Tweak Info.plist',
506 'action': ['<(tweak_info_plist_path)',
512 # Make sure there isn't any Objective-C in the helper app's
514 'postbuild_name': 'Verify No Objective-C',
516 '../build/mac/verify_no_objc.sh',
521 ['mac_breakpad==1', {
523 # A real .dSYM is needed for dump_syms to operate on.
527 # With mac_real_dsym set, strip_from_xcode won't be used.
528 # Specify CHROMIUM_STRIP_SAVE_FILE directly to Xcode.
529 'STRIPFLAGS': '-s $(CHROMIUM_STRIP_SAVE_FILE)',
534 # Override the outer definition of CHROMIUM_STRIP_SAVE_FILE.
535 'CHROMIUM_STRIP_SAVE_FILE': 'app/app_asan.saves',
538 ['component=="shared_library"', {
540 'LD_RUNPATH_SEARCH_PATHS': [
541 # Get back from Chromium.app/Contents/Versions/V/
542 # Helper.app/Contents/MacOS
543 '@loader_path/../../../../../../..',
548 }, # target helper_app
550 # A library containing the actual code for the app mode app, shared
552 'target_name': 'app_mode_app_support',
553 'type': 'static_library',
554 'variables': { 'enable_wexit_time_destructors': 1, },
555 'product_name': 'app_mode_app_support',
557 '../base/base.gyp:base',
558 'common_constants.gyp:common_constants',
561 'common/mac/app_mode_chrome_locator.h',
562 'common/mac/app_mode_chrome_locator.mm',
563 'common/mac/app_mode_common.h',
564 'common/mac/app_mode_common.mm',
569 }, # target app_mode_app_support
571 # This produces the template for app mode loader bundles. It's a
572 # template in the sense that parts of it need to be "filled in" by
573 # Chrome before it can be executed.
574 'target_name': 'app_mode_app',
575 'type': 'executable',
577 'variables': { 'enable_wexit_time_destructors': 1, },
578 'product_name': 'app_mode_loader',
580 'app_mode_app_support',
581 'infoplist_strings_tool',
584 'app/app_mode_loader_mac.mm',
585 'app/app_mode-Info.plist',
592 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
593 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
596 'mac_bundle_resources!': [
597 'app/app_mode-Info.plist',
599 'mac_bundle_resources/': [
603 'INFOPLIST_FILE': 'app/app_mode-Info.plist',
604 'APP_MODE_APP_BUNDLE_ID': '<(mac_bundle_id).app.@APP_MODE_SHORTCUT_ID@',
608 # Modify the Info.plist as needed. The script explains why this
609 # is needed. This is also done in the chrome and chrome_dll
610 # targets. In this case, --breakpad=0, --keystone=0, and --scm=0
611 # are used because Breakpad, Keystone, and SCM keys are
612 # never placed into the app mode loader.
613 'postbuild_name': 'Tweak Info.plist',
614 'action': ['<(tweak_info_plist_path)',
620 }, # target app_mode_app
622 # Convenience target to build a disk image.
623 'target_name': 'build_app_dmg',
624 # Don't place this in the 'all' list; most won't want it.
625 # In GYP, booleans are 0/1, not True/False.
626 'suppress_wildcard': 1,
632 'build_app_dmg_script_path': 'tools/build/mac/build_app_dmg',
633 'pkg_dmg_script_path': 'installer/mac/pkg-dmg',
636 # This duplicates the output path from build_app_dmg.
637 ['branding=="Chrome"', {
638 'dmg_name': 'GoogleChrome.dmg',
639 }, { # else: branding!="Chrome"
640 'dmg_name': 'Chromium.dmg',
647 '<(build_app_dmg_script_path)',
648 '<(pkg_dmg_script_path)',
649 '<(PRODUCT_DIR)/<(mac_product_name).app',
652 '<(PRODUCT_DIR)/<(dmg_name)',
654 'action_name': 'build_app_dmg',
655 'action': ['<(build_app_dmg_script_path)', '<@(branding)'],
660 # Dummy target to allow chrome to require plugin_carbon_interpose to
661 # build without actually linking to the resulting library.
662 'target_name': 'interpose_dependency_shim',
663 'type': 'executable',
664 'variables': { 'enable_wexit_time_destructors': 1, },
666 'plugin_carbon_interpose',
668 # In release, we end up with a strip step that is unhappy if there is
669 # no binary. Rather than check in a new file for this temporary hack,
670 # just generate a source file on the fly.
673 'action_name': 'generate_stub_main',
674 'process_outputs_as_sources': 1,
676 'outputs': [ '<(INTERMEDIATE_DIR)/dummy_main.c' ],
679 'echo "int main() { return 0; }" > <(INTERMEDIATE_DIR)/dummy_main.c'
685 # dylib for interposing Carbon calls in the plugin process.
686 'target_name': 'plugin_carbon_interpose',
687 'type': 'shared_library',
688 'variables': { 'enable_wexit_time_destructors': 1, },
689 # This target must not depend on static libraries, else the code in
690 # those libraries would appear twice in plugin processes: Once from
691 # Chromium Framework, and once from this dylib.
696 ['component=="shared_library"', {
698 '../webkit/support/webkit_support.gyp:glue',
699 '../content/content.gyp:content_plugin',
702 'LD_RUNPATH_SEARCH_PATHS': [
703 # Get back from Chromium.app/Contents/Versions/V
704 '@loader_path/../../../..',
710 '../content/plugin/plugin_carbon_interpose_mac.cc',
717 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
721 'DYLIB_COMPATIBILITY_VERSION': '<(version_mac_dylib)',
722 'DYLIB_CURRENT_VERSION': '<(version_mac_dylib)',
723 'DYLIB_INSTALL_NAME_BASE': '@executable_path/../../..',
727 # The framework (chrome_dll) defines its load-time path
728 # (DYLIB_INSTALL_NAME_BASE) relative to the main executable
729 # (chrome). A different relative path needs to be used in
730 # plugin_carbon_interpose, which runs in the helper_app.
731 'postbuild_name': 'Fix Framework Link',
735 '@executable_path/../Versions/<(version_full)/<(mac_product_name) Framework.framework/<(mac_product_name) Framework',
736 '@executable_path/../../../<(mac_product_name) Framework.framework/<(mac_product_name) Framework',
737 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
743 'target_name': 'infoplist_strings_tool',
744 'type': 'executable',
745 'variables': { 'enable_wexit_time_destructors': 1, },
747 'chrome_resources.gyp:chrome_strings',
748 '../base/base.gyp:base',
755 'tools/mac_helpers/infoplist_strings_util.mm',
760 ['OS!="mac" and OS!="ios"', {
763 'target_name': 'convert_dict',
764 'type': 'executable',
765 'variables': { 'enable_wexit_time_destructors': 1, },
767 '../base/base.gyp:base',
768 '../base/base.gyp:base_i18n',
770 '../third_party/hunspell/hunspell.gyp:hunspell',
773 'tools/convert_dict/convert_dict.cc',
777 'target_name': 'convert_dict_lib',
778 'product_name': 'convert_dict',
779 'type': 'static_library',
780 'variables': { 'enable_wexit_time_destructors': 1, },
785 '../base/base.gyp:base',
788 'tools/convert_dict/aff_reader.cc',
789 'tools/convert_dict/aff_reader.h',
790 'tools/convert_dict/dic_reader.cc',
791 'tools/convert_dict/dic_reader.h',
792 'tools/convert_dict/hunspell_reader.cc',
793 'tools/convert_dict/hunspell_reader.h',
797 'target_name': 'flush_cache',
798 'type': 'executable',
800 '../base/base.gyp:base',
801 '../base/base.gyp:test_support_base',
804 'tools/perf/flush_cache/flush_cache.cc',
808 }], # OS!="mac" and OS!="ios"
812 'target_name': 'linux_symbols',
815 ['linux_dump_symbols==1', {
818 'action_name': 'dump_symbols',
820 '<(DEPTH)/build/linux/dump_app_syms',
821 '<(PRODUCT_DIR)/dump_syms',
822 '<(PRODUCT_DIR)/chrome',
825 '<(PRODUCT_DIR)/chrome.breakpad.<(target_arch)',
827 'action': ['<(DEPTH)/build/linux/dump_app_syms',
828 '<(PRODUCT_DIR)/dump_syms',
829 '<(linux_strip_binary)',
830 '<(PRODUCT_DIR)/chrome',
832 'message': 'Dumping breakpad symbols to <(_outputs)',
833 'process_outputs_as_sources': 1,
838 '../breakpad/breakpad.gyp:dump_syms',
841 ['linux_strip_reliability_tests==1', {
844 'action_name': 'strip_reliability_tests',
846 '<(PRODUCT_DIR)/automated_ui_tests',
847 '<(PRODUCT_DIR)/reliability_tests',
848 '<(PRODUCT_DIR)/_pyautolib.so',
851 '<(PRODUCT_DIR)/strip_reliability_tests.stamp',
856 'message': 'Stripping reliability tests',
860 'automated_ui_tests',
867 'target_name': 'ipcfuzz',
868 'type': 'loadable_module',
873 'test_support_common',
874 '../skia/skia.gyp:skia',
877 'tools/ipclist/ipcfuzz.cc',
885 # For historical reasons, chrome/chrome.sln has been the entry point
886 # for new Chrome developers. To assist development, include several
887 # core unittests that are otherwise only accessible side-by-side with
888 # chrome via all/all.sln.
889 'target_name': 'test_targets',
892 '../base/base.gyp:base_unittests',
893 '../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
894 '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests',
895 '../content/content.gyp:content_browsertests',
896 '../content/content.gyp:content_shell',
897 '../content/content.gyp:content_unittests',
898 '../net/net.gyp:net_unittests',
899 '../ui/ui.gyp:ui_unittests',
902 ['use_aura==1 or target_arch=="x64"', {
904 '../chrome_frame/chrome_frame.gyp:chrome_frame_tests',
905 '../chrome_frame/chrome_frame.gyp:chrome_frame_net_tests',
911 'target_name': 'chrome_version_resources',
914 ['branding == "Chrome"', {
916 'branding_path': 'app/theme/google_chrome/BRANDING',
918 }, { # else branding!="Chrome"
920 'branding_path': 'app/theme/chromium/BRANDING',
925 'output_dir': 'chrome_version',
926 'template_input_path': 'app/chrome_version.rc.version',
928 'direct_dependent_settings': {
930 '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)',
934 'app/app_host_exe.ver',
935 'app/chrome_exe.ver',
936 'app/chrome_dll.ver',
937 'app/nacl64_exe.ver',
941 'version_resource_rules.gypi',
945 'target_name': 'chrome_version_header',
947 'hard_dependency': 1,
950 'action_name': 'version_header',
953 '<(DEPTH)/build/util/LASTCHANGE',
956 ['branding == "Chrome"', {
958 'branding_path': 'app/theme/google_chrome/BRANDING',
960 }, { # else branding!="Chrome"
962 'branding_path': 'app/theme/chromium/BRANDING',
969 '<(lastchange_path)',
973 '<(SHARED_INTERMEDIATE_DIR)/version.h',
977 '<(version_py_path)',
978 '-f', '<(version_path)',
979 '-f', '<(branding_path)',
980 '-f', '<(lastchange_path)',
984 'message': 'Generating version header file: <@(_outputs)',
989 'target_name': 'automation',
990 'type': 'static_library',
992 'chrome_resources.gyp:theme_resources',
993 '../skia/skia.gyp:skia',
999 'test/automation/automation_handle_tracker.cc',
1000 'test/automation/automation_handle_tracker.h',
1001 'test/automation/automation_json_requests.cc',
1002 'test/automation/automation_json_requests.h',
1003 'test/automation/automation_proxy.cc',
1004 'test/automation/automation_proxy.h',
1005 'test/automation/browser_proxy.cc',
1006 'test/automation/browser_proxy.h',
1007 'test/automation/tab_proxy.cc',
1008 'test/automation/tab_proxy.h',
1009 'test/automation/value_conversion_traits.cc',
1010 'test/automation/value_conversion_traits.h',
1011 'test/automation/value_conversion_util.h',
1012 'test/automation/window_proxy.cc',
1013 'test/automation/window_proxy.h',
1017 'target_name': 'crash_service',
1018 'type': 'executable',
1021 '../base/base.gyp:base',
1022 '../breakpad/breakpad.gyp:breakpad_handler',
1023 '../breakpad/breakpad.gyp:breakpad_sender',
1024 '../chrome/common_constants.gyp:common_constants',
1030 'tools/crash_service/crash_service.cc',
1031 'tools/crash_service/crash_service.h',
1032 'tools/crash_service/main.cc',
1036 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
1041 'target_name': 'sb_sigutil',
1042 'type': 'executable',
1044 '../base/base.gyp:base',
1045 'safe_browsing_proto',
1048 'browser/safe_browsing/signature_util.h',
1049 'browser/safe_browsing/signature_util_win.cc',
1050 'tools/safe_browsing/sb_sigutil.cc',
1055 'chrome_process_finder.gypi',
1059 ['OS=="win" and target_arch=="ia32"',
1062 'target_name': 'chrome_user32_delay_imports',
1065 'lib_dir': '<(INTERMEDIATE_DIR)',
1068 'chrome.user32.delay.imports'
1071 '../build/win/importlibs/create_import_lib.gypi',
1073 'direct_dependent_settings': {
1076 'AdditionalLibraryDirectories': ['<(lib_dir)', ],
1077 'AdditionalDependencies': ['chrome.user32.delay.lib', ],
1083 'target_name': 'crash_service_win64',
1084 'type': 'executable',
1085 'product_name': 'crash_service64',
1087 'installer_util_nacl_win64',
1088 '../base/base.gyp:base_static_win64',
1089 '../breakpad/breakpad.gyp:breakpad_handler_win64',
1090 '../breakpad/breakpad.gyp:breakpad_sender_win64',
1091 '../chrome/common_constants.gyp:common_constants_win64',
1097 'tools/crash_service/crash_service.cc',
1098 'tools/crash_service/crash_service.h',
1099 'tools/crash_service/main.cc',
1100 '../content/public/common/content_switches.cc',
1103 'COMPILE_CONTENT_STATICALLY',
1107 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
1112 'msvs_target_platform': 'x64',
1117 ], # OS=="win" and target_arch=="ia32"
1119 'includes': [ 'chrome_browser_chromeos.gypi' ],
1125 'target_name': 'chrome_java',
1128 'chrome_resources.gyp:chrome_strings',
1129 'profile_sync_service_model_type_selection_java',
1131 'toolbar_model_security_levels_java',
1132 '../base/base.gyp:base',
1133 '../components/components.gyp:autofill_java',
1134 '../components/components.gyp:navigation_interception_java',
1135 '../components/components.gyp:sessions',
1136 '../components/components.gyp:web_contents_delegate_android_java',
1137 '../content/content.gyp:content_java',
1138 '../sync/sync.gyp:sync_java',
1139 '../third_party/guava/guava.gyp:guava_javalib',
1140 '../ui/ui.gyp:ui_java',
1143 'java_in_dir': '../chrome/android/java',
1144 'has_java_resources': 1,
1145 'R_package': 'org.chromium.chrome',
1146 'R_package_relpath': 'org/chromium/chrome',
1147 'java_strings_grd': 'android_chrome_strings.grd',
1148 # Include xml string files generated from generated_resources.grd
1149 'res_extra_dirs': ['<(SHARED_INTERMEDIATE_DIR)/chrome/java/res'],
1150 'res_extra_files': ['<!@pymod_do_main(grit_info <@(grit_defines) --outputs "<(SHARED_INTERMEDIATE_DIR)/chrome" app/generated_resources.grd)'],
1153 '../build/java.gypi',
1158 'chrome_android.gypi',
1161 ['configuration_policy==1 and OS!="android"', {
1162 'includes': [ 'policy.gypi', ],