| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 # Define the common dependencies that contain all the actual | 8 # Define the common dependencies that contain all the actual |
| 9 # Chromium functionality. This list gets pulled in below by | 9 # Chromium functionality. This list gets pulled in below by |
| 10 # the link of the actual chrome (or chromium) executable on | 10 # the link of the actual chrome (or chromium) executable on |
| (...skipping 2698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2709 'app/chrome_exe_main.cc', | 2709 'app/chrome_exe_main.cc', |
| 2710 'app/chrome_exe_main.mm', | 2710 'app/chrome_exe_main.mm', |
| 2711 'app/chrome_exe_main_gtk.cc', | 2711 'app/chrome_exe_main_gtk.cc', |
| 2712 'app/chrome_exe_resource.h', | 2712 'app/chrome_exe_resource.h', |
| 2713 'app/client_util.cc', | 2713 'app/client_util.cc', |
| 2714 'app/client_util.h', | 2714 'app/client_util.h', |
| 2715 'app/google_update_client.cc', | 2715 'app/google_update_client.cc', |
| 2716 'app/google_update_client.h', | 2716 'app/google_update_client.h', |
| 2717 'app/hard_error_handler_win.cc', | 2717 'app/hard_error_handler_win.cc', |
| 2718 'app/hard_error_handler_win.h', | 2718 'app/hard_error_handler_win.h', |
| 2719 'app/keystone_glue.h', | |
| 2720 'app/keystone_glue.m', | |
| 2721 'app/scoped_ole_initializer.h', | 2719 'app/scoped_ole_initializer.h', |
| 2722 ], | 2720 ], |
| 2723 'dependencies': [ | 2721 'dependencies': [ |
| 2724 '../build/util/support/support.gyp:*', | 2722 '../build/util/support/support.gyp:*', |
| 2725 ], | 2723 ], |
| 2726 'mac_bundle_resources': [ | 2724 'mac_bundle_resources': [ |
| 2727 # put any pdfs down in the sources block below so pdfsqueeze runs on | 2725 # put any pdfs down in the sources block below so pdfsqueeze runs on |
| 2728 # them. | 2726 # them. |
| 2729 'app/nibs/About.xib', | 2727 'app/nibs/About.xib', |
| 2730 'app/nibs/BookmarkBar.xib', | 2728 'app/nibs/BookmarkBar.xib', |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2843 '<(PRODUCT_DIR)/chrome.breakpad', | 2841 '<(PRODUCT_DIR)/chrome.breakpad', |
| 2844 ], | 2842 ], |
| 2845 'action': ['<(DEPTH)/build/linux/dump_app_syms', | 2843 'action': ['<(DEPTH)/build/linux/dump_app_syms', |
| 2846 '<(PRODUCT_DIR)/dump_syms', | 2844 '<(PRODUCT_DIR)/dump_syms', |
| 2847 '<(PRODUCT_DIR)/chrome', '<@(_outputs)'], | 2845 '<(PRODUCT_DIR)/chrome', '<@(_outputs)'], |
| 2848 }, | 2846 }, |
| 2849 ], | 2847 ], |
| 2850 }], | 2848 }], |
| 2851 ], | 2849 ], |
| 2852 'dependencies': [ | 2850 'dependencies': [ |
| 2851 # On Linux, link the dependencies (libraries) that make up actual |
| 2852 # Chromium functionality directly into the executable. |
| 2853 '<@(chromium_dependencies)', |
| 2853 # Needed for chrome_dll_main.cc #include of gtk/gtk.h | 2854 # Needed for chrome_dll_main.cc #include of gtk/gtk.h |
| 2854 '../build/linux/system.gyp:gtk', | 2855 '../build/linux/system.gyp:gtk', |
| 2855 # Needed for chrome_dll_main.cc use of g_thread_init | 2856 # Needed for chrome_dll_main.cc use of g_thread_init |
| 2856 '../build/linux/system.gyp:gthread', | 2857 '../build/linux/system.gyp:gthread', |
| 2857 ], | 2858 ], |
| 2859 'sources': [ |
| 2860 'app/chrome_dll_main.cc', |
| 2861 'app/chrome_dll_resource.h', |
| 2862 ], |
| 2858 'copies': [ | 2863 'copies': [ |
| 2859 { | 2864 { |
| 2860 'destination': '<(PRODUCT_DIR)', | 2865 'destination': '<(PRODUCT_DIR)', |
| 2861 'files': ['<(INTERMEDIATE_DIR)/repack/chrome.pak', | 2866 'files': ['<(INTERMEDIATE_DIR)/repack/chrome.pak', |
| 2862 'tools/build/linux/chrome-wrapper', | 2867 'tools/build/linux/chrome-wrapper', |
| 2863 '../third_party/xdg-utils/scripts/xdg-settings', | 2868 '../third_party/xdg-utils/scripts/xdg-settings', |
| 2864 ], | 2869 ], |
| 2865 # The wrapper script above may need to generate a .desktop file, | 2870 # The wrapper script above may need to generate a .desktop file, |
| 2866 # which requires an icon. So, copy one next to the script. | 2871 # which requires an icon. So, copy one next to the script. |
| 2867 'conditions': [ | 2872 'conditions': [ |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2920 '../third_party/ffmpeg/binaries/chromium/libavformat
.52.dylib', | 2925 '../third_party/ffmpeg/binaries/chromium/libavformat
.52.dylib', |
| 2921 '../third_party/ffmpeg/binaries/chromium/libavutil.5
0.dylib'], | 2926 '../third_party/ffmpeg/binaries/chromium/libavutil.5
0.dylib'], |
| 2922 }, | 2927 }, |
| 2923 ], | 2928 ], |
| 2924 }], | 2929 }], |
| 2925 ['mac_breakpad==1', { | 2930 ['mac_breakpad==1', { |
| 2926 'variables': { | 2931 'variables': { |
| 2927 # A real .dSYM is needed for dump_syms to operate on. | 2932 # A real .dSYM is needed for dump_syms to operate on. |
| 2928 'mac_real_dsym': 1, | 2933 'mac_real_dsym': 1, |
| 2929 }, | 2934 }, |
| 2930 'sources': [ | |
| 2931 'app/breakpad_mac.mm', | |
| 2932 'app/breakpad_mac.h', | |
| 2933 ], | |
| 2934 'dependencies': [ | 2935 'dependencies': [ |
| 2935 '../breakpad/breakpad.gyp:breakpad', | |
| 2936 '../breakpad/breakpad.gyp:dump_syms', | 2936 '../breakpad/breakpad.gyp:dump_syms', |
| 2937 '../breakpad/breakpad.gyp:symupload', | 2937 '../breakpad/breakpad.gyp:symupload', |
| 2938 ], | 2938 ], |
| 2939 'copies': [ | 2939 'copies': [ |
| 2940 { | 2940 { |
| 2941 'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Content
s/Resources/', | 2941 'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Content
s/Resources/', |
| 2942 'files': ['<(PRODUCT_DIR)/crash_inspector', '<(PRODUCT_DIR)/cr
ash_report_sender.app'], | 2942 'files': ['<(PRODUCT_DIR)/crash_inspector', '<(PRODUCT_DIR)/cr
ash_report_sender.app'], |
| 2943 }, | 2943 }, |
| 2944 ], | 2944 ], |
| 2945 'postbuilds': [ | 2945 'postbuilds': [ |
| 2946 { | 2946 { |
| 2947 'postbuild_name': 'Dump Symbols', | 2947 'postbuild_name': 'Dump Symbols', |
| 2948 'action': ['<(DEPTH)/build/mac/dump_app_syms', | 2948 'action': ['<(DEPTH)/build/mac/dump_app_syms', |
| 2949 '<(branding)'], | 2949 '<(branding)'], |
| 2950 }, | 2950 }, |
| 2951 ], | 2951 ], |
| 2952 }, { | |
| 2953 # no breakpad, put in the stubs | |
| 2954 'sources': [ | |
| 2955 'app/breakpad_mac_stubs.mm', | |
| 2956 'app/breakpad_mac.h', | |
| 2957 ], | |
| 2958 }], # mac_breakpad | 2952 }], # mac_breakpad |
| 2959 ['mac_keystone==1', { | 2953 ['mac_keystone==1', { |
| 2960 'copies': [ | 2954 'copies': [ |
| 2961 { | 2955 { |
| 2962 'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Content
s/Frameworks/', | 2956 'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Content
s/Frameworks/', |
| 2963 'files': ['../third_party/googlemac/Releases/Keystone/Keystone
Registration.framework'], | 2957 'files': ['../third_party/googlemac/Releases/Keystone/Keystone
Registration.framework'], |
| 2964 }, | 2958 }, |
| 2965 ], | 2959 ], |
| 2966 }], # mac_keystone | 2960 }], # mac_keystone |
| 2967 ], | 2961 ], |
| (...skipping 18 matching lines...) Expand all Loading... |
| 2986 'inputs': [ | 2980 'inputs': [ |
| 2987 '<(PRODUCT_DIR)/pdfsqueeze', | 2981 '<(PRODUCT_DIR)/pdfsqueeze', |
| 2988 ], | 2982 ], |
| 2989 'outputs': [ | 2983 'outputs': [ |
| 2990 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', | 2984 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', |
| 2991 ], | 2985 ], |
| 2992 'action': ['<(PRODUCT_DIR)/pdfsqueeze', '<(RULE_INPUT_PATH)', '<@(
_outputs)'], | 2986 'action': ['<(PRODUCT_DIR)/pdfsqueeze', '<(RULE_INPUT_PATH)', '<@(
_outputs)'], |
| 2993 'message': 'Running pdfsqueeze on <(RULE_INPUT_PATH)', | 2987 'message': 'Running pdfsqueeze on <(RULE_INPUT_PATH)', |
| 2994 }, | 2988 }, |
| 2995 ], | 2989 ], |
| 2990 'copies': [ |
| 2991 { |
| 2992 'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Contents/Fr
ameworks', |
| 2993 'files': ['<(PRODUCT_DIR)/<(mac_product_name) Framework.framework'
], |
| 2994 }, |
| 2995 ], |
| 2996 }, { # else: OS != "mac" | 2996 }, { # else: OS != "mac" |
| 2997 'conditions': [ | 2997 'conditions': [ |
| 2998 ['branding=="Chrome"', { | 2998 ['branding=="Chrome"', { |
| 2999 'product_name': 'chrome' | 2999 'product_name': 'chrome' |
| 3000 }, { # else: Branding!="Chrome" | 3000 }, { # else: Branding!="Chrome" |
| 3001 # TODO: change to: | 3001 # TODO: change to: |
| 3002 # 'product_name': 'chromium' | 3002 # 'product_name': 'chromium' |
| 3003 # whenever we convert the rest of the infrastructure | 3003 # whenever we convert the rest of the infrastructure |
| 3004 # (buildbots etc.) to use "gyp -Dbranding=Chrome". | 3004 # (buildbots etc.) to use "gyp -Dbranding=Chrome". |
| 3005 # NOTE: chrome/app/theme/chromium/BRANDING and | 3005 # NOTE: chrome/app/theme/chromium/BRANDING and |
| 3006 # chrome/app/theme/google_chrome/BRANDING have the short names, | 3006 # chrome/app/theme/google_chrome/BRANDING have the short names, |
| 3007 # etc.; should we try to extract from there instead? | 3007 # etc.; should we try to extract from there instead? |
| 3008 'product_name': 'chrome' | 3008 'product_name': 'chrome' |
| 3009 }], | 3009 }], |
| 3010 ], | 3010 ], |
| 3011 }], | 3011 }], |
| 3012 ['OS=="mac"', { | 3012 ['OS=="mac"', { |
| 3013 'actions': [ | 3013 'actions': [ |
| 3014 { | 3014 { |
| 3015 # Mac addes an action to modify the Info.plist to meet our needs | 3015 # Mac adds an action to modify the Info.plist to meet our needs |
| 3016 # (see the script for why this is done). | 3016 # (see the script for why this is done). |
| 3017 'action_name': 'tweak_app_infoplist', | 3017 'action_name': 'tweak_app_infoplist', |
| 3018 # We don't list any inputs or outputs because we always want | 3018 # We don't list any inputs or outputs because we always want |
| 3019 # the script to run. Why? Because it does thinks like record | 3019 # the script to run. Why? Because it does thinks like record |
| 3020 # the svn revision into the info.plist, so there is no file to | 3020 # the svn revision into the info.plist, so there is no file to |
| 3021 # depend on that will change when ever that changes. | 3021 # depend on that will change when ever that changes. |
| 3022 'inputs': [], | 3022 'inputs': [], |
| 3023 'outputs': [], | 3023 'outputs': [], |
| 3024 'action': ['<(DEPTH)/build/mac/tweak_app_infoplist', | 3024 'action': ['<(DEPTH)/build/mac/tweak_app_infoplist', |
| 3025 '-b<(mac_breakpad)', | 3025 '-b<(mac_breakpad)', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 3039 }], | 3039 }], |
| 3040 ['OS=="linux"', { | 3040 ['OS=="linux"', { |
| 3041 'conditions': [ | 3041 'conditions': [ |
| 3042 ['branding=="Chrome"', { | 3042 ['branding=="Chrome"', { |
| 3043 'dependencies': [ | 3043 'dependencies': [ |
| 3044 'installer/installer.gyp:installer_util', | 3044 'installer/installer.gyp:installer_util', |
| 3045 ], | 3045 ], |
| 3046 }], | 3046 }], |
| 3047 ], | 3047 ], |
| 3048 }], | 3048 }], |
| 3049 ['OS=="mac" or OS=="win"', { |
| 3050 'dependencies': [ |
| 3051 # On Windows and Mac, make sure we've built chrome_dll, which |
| 3052 # contains all of the library code with Chromium functionality. |
| 3053 'chrome_dll', |
| 3054 ], |
| 3055 }], |
| 3049 ['OS=="win"', { | 3056 ['OS=="win"', { |
| 3050 'dependencies': [ | 3057 'dependencies': [ |
| 3051 # On Windows, make sure we've built chrome.dll, which | |
| 3052 # contains all of the library code with Chromium | |
| 3053 # functionality. | |
| 3054 'chrome_dll', | |
| 3055 'installer/installer.gyp:installer_util', | 3058 'installer/installer.gyp:installer_util', |
| 3056 'installer/installer.gyp:installer_util_strings', | 3059 'installer/installer.gyp:installer_util_strings', |
| 3057 '../breakpad/breakpad.gyp:breakpad_handler', | 3060 '../breakpad/breakpad.gyp:breakpad_handler', |
| 3058 '../breakpad/breakpad.gyp:breakpad_sender', | 3061 '../breakpad/breakpad.gyp:breakpad_sender', |
| 3059 '../sandbox/sandbox.gyp:sandbox', | 3062 '../sandbox/sandbox.gyp:sandbox', |
| 3060 '../views/views.gyp:views', | 3063 '../views/views.gyp:views', |
| 3061 'worker', | 3064 'worker', |
| 3062 'app/locales/locales.gyp:*', | 3065 'app/locales/locales.gyp:*', |
| 3063 ], | 3066 ], |
| 3064 'sources': [ | 3067 'sources': [ |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3129 'inputs': [ | 3132 'inputs': [ |
| 3130 'app/FirstRun', | 3133 'app/FirstRun', |
| 3131 ], | 3134 ], |
| 3132 'outputs': [ | 3135 'outputs': [ |
| 3133 '<(PRODUCT_DIR)/First Run', | 3136 '<(PRODUCT_DIR)/First Run', |
| 3134 ], | 3137 ], |
| 3135 'action': ['cp', '-f', '<@(_inputs)', '<@(_outputs)'], | 3138 'action': ['cp', '-f', '<@(_inputs)', '<@(_outputs)'], |
| 3136 'message': 'Copy first run complete sentinel file', | 3139 'message': 'Copy first run complete sentinel file', |
| 3137 }, | 3140 }, |
| 3138 ], | 3141 ], |
| 3139 },{ # 'OS!="win" | 3142 }, { # 'OS!="win" |
| 3140 'dependencies': [ | |
| 3141 # On Linux and Mac, link the dependencies (libraries) | |
| 3142 # that make up actual Chromium functionality directly | |
| 3143 # into the executable. | |
| 3144 '<@(chromium_dependencies)', | |
| 3145 ], | |
| 3146 'sources': [ | |
| 3147 'app/chrome_dll_main.cc', | |
| 3148 'app/chrome_dll_resource.h', | |
| 3149 ], | |
| 3150 'variables': { | 3143 'variables': { |
| 3151 'repack_path': '../tools/data_pack/repack.py', | 3144 'repack_path': '../tools/data_pack/repack.py', |
| 3152 }, | 3145 }, |
| 3153 'actions': [ | 3146 'actions': [ |
| 3154 { | 3147 { |
| 3155 'action_name': 'repack_chrome', | 3148 'action_name': 'repack_chrome', |
| 3156 'variables': { | 3149 'variables': { |
| 3157 'pak_inputs': [ | 3150 'pak_inputs': [ |
| 3158 '<(grit_out_dir)/browser_resources.pak', | 3151 '<(grit_out_dir)/browser_resources.pak', |
| 3159 '<(grit_out_dir)/common_resources.pak', | 3152 '<(grit_out_dir)/common_resources.pak', |
| (...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4264 'Debug': { | 4257 'Debug': { |
| 4265 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', | 4258 'msvs_precompiled_header': 'tools/build/win/precompiled_wtl.h', |
| 4266 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', | 4259 'msvs_precompiled_source': 'tools/build/win/precompiled_wtl.cc', |
| 4267 }, | 4260 }, |
| 4268 }, | 4261 }, |
| 4269 }], # OS="win" | 4262 }], # OS="win" |
| 4270 ], # conditions | 4263 ], # conditions |
| 4271 }, | 4264 }, |
| 4272 ], | 4265 ], |
| 4273 'conditions': [ | 4266 'conditions': [ |
| 4274 ['OS=="mac"', { | 4267 ['OS=="mac" or OS=="win"', { |
| 4275 'conditions': [ | 4268 'targets': [ |
| 4276 # We need the Mac app name on disk, so we stick this into a variable so | 4269 { |
| 4277 # the different places that need it can use the common variable. | 4270 'target_name': 'chrome_dll', |
| 4278 # NOTE: chrome/app/theme/chromium/BRANDING and | 4271 'type': 'shared_library', |
| 4279 # chrome/app/theme/google_chrome/BRANDING have the short names, etc.; | 4272 'dependencies': [ |
| 4280 # but extracting from there still means xcodeproject are out of date unt
il | 4273 '<@(chromium_dependencies)', |
| 4281 # the next project regeneration. | 4274 ], |
| 4282 ['branding=="Chrome"', { | 4275 'conditions': [ |
| 4283 'variables': { | 4276 ['OS=="win"', { |
| 4284 'mac_product_name%': 'Google Chrome', | 4277 'product_name': 'chrome', |
| 4285 } | 4278 'msvs_guid': 'C0A7EE2C-2A6D-45BE-BA78-6D006FDF52D9', |
| 4286 }, { | 4279 'include_dirs': [ |
| 4287 'variables': { | 4280 'third_party/wtl/include', |
| 4288 'mac_product_name%': 'Chromium', | 4281 ], |
| 4289 } | 4282 'dependencies': [ |
| 4290 }], | 4283 # On Windows, link the dependencies (libraries) that make |
| 4291 # We set feature variables so the different parts of the gyp file use | 4284 # up actual Chromium functionality into this .dll. |
| 4292 # these vars in conditions instead of repeating the check of branding | 4285 'chrome_dll_version', |
| 4293 # and buildtype. | 4286 'chrome_resources', |
| 4294 ['branding=="Chrome" and buildtype=="Official"', { | 4287 'installer/installer.gyp:installer_util_strings', |
| 4295 'variables': { | 4288 'theme_dll', |
| 4296 'mac_breakpad%': 1, | 4289 'worker', |
| 4297 'mac_keystone%': 1, | 4290 '../printing/printing.gyp:printing', |
| 4298 } | 4291 '../net/net.gyp:net_resources', |
| 4299 }, { | 4292 '../build/util/support/support.gyp:*', |
| 4300 'variables': { | 4293 '../third_party/cld/cld.gyp:cld', |
| 4301 'mac_breakpad%': 0, | 4294 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| 4302 'mac_keystone%': 0, | 4295 '../views/views.gyp:views', |
| 4303 } | 4296 '../webkit/webkit.gyp:webkit_resources', |
| 4304 }], | 4297 '../gears/gears.gyp:gears', |
| 4305 ], | 4298 ], |
| 4306 }], | 4299 'defines': [ |
| 4300 'CHROME_DLL', |
| 4301 'BROWSER_DLL', |
| 4302 'RENDERER_DLL', |
| 4303 'PLUGIN_DLL', |
| 4304 ], |
| 4305 'sources': [ |
| 4306 'app/chrome_dll.rc', |
| 4307 'app/chrome_dll_main.cc', |
| 4308 'app/chrome_dll_resource.h', |
| 4309 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_versio
n.rc', |
| 4310 |
| 4311 '../webkit/glue/resources/aliasb.cur', |
| 4312 '../webkit/glue/resources/cell.cur', |
| 4313 '../webkit/glue/resources/col_resize.cur', |
| 4314 '../webkit/glue/resources/copy.cur', |
| 4315 '../webkit/glue/resources/row_resize.cur', |
| 4316 '../webkit/glue/resources/vertical_text.cur', |
| 4317 '../webkit/glue/resources/zoom_in.cur', |
| 4318 '../webkit/glue/resources/zoom_out.cur', |
| 4319 |
| 4320 # TODO: It would be nice to have these pulled in |
| 4321 # automatically from direct_dependent_settings in |
| 4322 # their various targets (net.gyp:net_resources, etc.), |
| 4323 # but that causes errors in other targets when |
| 4324 # resulting .res files get referenced multiple times. |
| 4325 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', |
| 4326 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
| 4327 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', |
| 4328 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', |
| 4329 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', |
| 4330 |
| 4331 # TODO(sgk): left-over from pre-gyp build, figure out |
| 4332 # if we still need them and/or how to update to gyp. |
| 4333 #'app/check_dependents.bat', |
| 4334 #'app/chrome.dll.deps', |
| 4335 ], |
| 4336 'msvs_settings': { |
| 4337 'VCLinkerTool': { |
| 4338 'BaseAddress': '0x01c30000', |
| 4339 'DelayLoadDLLs': [ |
| 4340 'crypt32.dll', |
| 4341 'cryptui.dll', |
| 4342 'winhttp.dll', |
| 4343 'wininet.dll', |
| 4344 'wsock32.dll', |
| 4345 'ws2_32.dll', |
| 4346 'winspool.drv', |
| 4347 'comdlg32.dll', |
| 4348 'imagehlp.dll', |
| 4349 'psapi.dll', |
| 4350 'urlmon.dll', |
| 4351 'imm32.dll', |
| 4352 ], |
| 4353 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', |
| 4354 'ProgramDatabaseFile': '$(OutDir)\\chrome_dll.pdb', |
| 4355 # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency). |
| 4356 'SubSystem': '2', |
| 4357 }, |
| 4358 'VCManifestTool': { |
| 4359 'AdditionalManifestFiles': '$(ProjectDir)\\app\\chrome.dll.man
ifest', |
| 4360 }, |
| 4361 }, |
| 4362 'configurations': { |
| 4363 'Debug': { |
| 4364 'msvs_settings': { |
| 4365 'VCLinkerTool': { |
| 4366 'LinkIncremental': '1', # /INCREMENTAL:NO |
| 4367 }, |
| 4368 }, |
| 4369 }, |
| 4370 }, |
| 4371 }], # OS=="win" |
| 4372 ['OS=="mac"', { |
| 4373 # The main browser executable's name is <(mac_product_name). |
| 4374 # Certain things will get confused if two modules in the |
| 4375 # executable share the same name, so append " Framework" to the |
| 4376 # product_name used for the framework. This will result in |
| 4377 # a name like "Chromium Framework.framework". |
| 4378 'product_name': '<(mac_product_name) Framework', |
| 4379 'mac_bundle': 1, |
| 4380 'xcode_settings': { |
| 4381 'DYLIB_INSTALL_NAME_BASE': '@executable_path/../Frameworks', |
| 4382 }, |
| 4383 'sources': [ |
| 4384 'app/chrome_dll_main.cc', |
| 4385 'app/chrome_dll_resource.h', |
| 4386 'app/chrome_exe_main.mm', |
| 4387 'app/keystone_glue.h', |
| 4388 'app/keystone_glue.m', |
| 4389 ], |
| 4390 'dependencies': [ |
| 4391 '../build/util/support/support.gyp:*', |
| 4392 ], |
| 4393 |
| 4394 # For now, don't put any resources into the framework. Exclude |
| 4395 # them all and push them into the bundle resources of the sole |
| 4396 # app bundle, the only dependent of this target. |
| 4397 # TODO(mark): Fix. |
| 4398 'mac_bundle_resources/': [ |
| 4399 ['exclude', ''], |
| 4400 ], |
| 4401 'direct_dependent_settings': { |
| 4402 'mac_bundle_resources': [ |
| 4403 '../third_party/WebKit/WebCore/Resources/aliasCursor.png', |
| 4404 '../third_party/WebKit/WebCore/Resources/cellCursor.png', |
| 4405 '../third_party/WebKit/WebCore/Resources/contextMenuCursor.png
', |
| 4406 '../third_party/WebKit/WebCore/Resources/copyCursor.png', |
| 4407 '../third_party/WebKit/WebCore/Resources/crossHairCursor.png', |
| 4408 '../third_party/WebKit/WebCore/Resources/eastResizeCursor.png'
, |
| 4409 '../third_party/WebKit/WebCore/Resources/eastWestResizeCursor.
png', |
| 4410 '../third_party/WebKit/WebCore/Resources/helpCursor.png', |
| 4411 '../third_party/WebKit/WebCore/Resources/linkCursor.png', |
| 4412 '../third_party/WebKit/WebCore/Resources/missingImage.png', |
| 4413 '../third_party/WebKit/WebCore/Resources/moveCursor.png', |
| 4414 '../third_party/WebKit/WebCore/Resources/noDropCursor.png', |
| 4415 '../third_party/WebKit/WebCore/Resources/noneCursor.png', |
| 4416 '../third_party/WebKit/WebCore/Resources/northEastResizeCursor
.png', |
| 4417 '../third_party/WebKit/WebCore/Resources/northEastSouthWestRes
izeCursor.png', |
| 4418 '../third_party/WebKit/WebCore/Resources/northResizeCursor.png
', |
| 4419 '../third_party/WebKit/WebCore/Resources/northWestResizeCursor
.png', |
| 4420 '../third_party/WebKit/WebCore/Resources/northWestSouthEastRes
izeCursor.png', |
| 4421 '../third_party/WebKit/WebCore/Resources/notAllowedCursor.png'
, |
| 4422 '../third_party/WebKit/WebCore/Resources/progressCursor.png', |
| 4423 '../third_party/WebKit/WebCore/Resources/southEastResizeCursor
.png', |
| 4424 '../third_party/WebKit/WebCore/Resources/southResizeCursor.png
', |
| 4425 '../third_party/WebKit/WebCore/Resources/southWestResizeCursor
.png', |
| 4426 '../third_party/WebKit/WebCore/Resources/verticalTextCursor.pn
g', |
| 4427 '../third_party/WebKit/WebCore/Resources/waitCursor.png', |
| 4428 '../third_party/WebKit/WebCore/Resources/westResizeCursor.png'
, |
| 4429 '../third_party/WebKit/WebCore/Resources/zoomInCursor.png', |
| 4430 '../third_party/WebKit/WebCore/Resources/zoomOutCursor.png', |
| 4431 'renderer/renderer.sb', |
| 4432 ], |
| 4433 }, |
| 4434 |
| 4435 'conditions': [ |
| 4436 ['mac_breakpad==1', { |
| 4437 'variables': { |
| 4438 # A real .dSYM is needed for dump_syms to operate on. |
| 4439 'mac_real_dsym': 1, |
| 4440 }, |
| 4441 'sources': [ |
| 4442 'app/breakpad_mac.mm', |
| 4443 'app/breakpad_mac.h', |
| 4444 ], |
| 4445 'dependencies': [ |
| 4446 '../breakpad/breakpad.gyp:breakpad', |
| 4447 ], |
| 4448 }, { # else: mac_breakpad!=1 |
| 4449 # No Breakpad, put in the stubs. |
| 4450 'sources': [ |
| 4451 'app/breakpad_mac_stubs.mm', |
| 4452 'app/breakpad_mac.h', |
| 4453 ], |
| 4454 }], # mac_breakpad |
| 4455 ], # conditions |
| 4456 }], # OS=="mac" |
| 4457 ], # conditions |
| 4458 }, # target chrome_dll |
| 4459 ], # targets |
| 4460 }], # OS=="mac" or OS=="win" |
| 4307 ['OS=="linux"', { | 4461 ['OS=="linux"', { |
| 4308 'conditions': [ | 4462 'conditions': [ |
| 4309 # Only Chrome builds get breakpad since crash processing is internal. | 4463 # Only Chrome builds get breakpad since crash processing is internal. |
| 4310 ['branding=="Chrome"', { | 4464 ['branding=="Chrome"', { |
| 4311 'variables': { | 4465 'variables': { |
| 4312 'linux_breakpad%': 1, | 4466 'linux_breakpad%': 1, |
| 4313 }, | 4467 }, |
| 4314 }, { | 4468 }, { |
| 4315 'variables': { | 4469 'variables': { |
| 4316 'linux_breakpad%': 0, | 4470 'linux_breakpad%': 0, |
| 4317 }, | 4471 }, |
| 4318 }], | 4472 }], |
| 4319 ], | 4473 ], |
| 4320 }], | 4474 }], |
| 4321 ['OS=="mac"', | 4475 ['OS=="mac"', |
| 4322 # On Mac only, add a project target called "build_app_dmg" that only | |
| 4323 # builds a DMG out of the App (eventually will completely replace | |
| 4324 # "package_app"). | |
| 4325 { 'targets': [ | 4476 { 'targets': [ |
| 4326 { | 4477 { |
| 4478 # Convenience target to build a disk image. |
| 4327 'target_name': 'build_app_dmg', | 4479 'target_name': 'build_app_dmg', |
| 4328 # do NOT place this in the 'all' list; most won't want it. | 4480 # Don't place this in the 'all' list; most won't want it. |
| 4329 # In gyp, booleans are 0/1 not True/False. | 4481 # In GYP, booleans are 0/1, not True/False. |
| 4330 'suppress_wildcard': 1, | 4482 'suppress_wildcard': 1, |
| 4331 'type': 'none', | 4483 'type': 'none', |
| 4332 'dependencies': [ | 4484 'dependencies': [ |
| 4333 'chrome', | 4485 'chrome', |
| 4334 ], | 4486 ], |
| 4335 'variables': { | 4487 'variables': { |
| 4336 'build_app_dmg_script_path': '<(DEPTH)/build/mac/build_app_dmg', | 4488 'build_app_dmg_script_path': '<(DEPTH)/build/mac/build_app_dmg', |
| 4337 }, | 4489 }, |
| 4338 'actions': [ | 4490 'actions': [ |
| 4339 { | 4491 { |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4571 '../gears/gears.gyp:*', | 4723 '../gears/gears.gyp:*', |
| 4572 '../rlz/rlz.gyp:*', | 4724 '../rlz/rlz.gyp:*', |
| 4573 '../sandbox/sandbox.gyp:*', | 4725 '../sandbox/sandbox.gyp:*', |
| 4574 '../tools/memory_watcher/memory_watcher.gyp:*', | 4726 '../tools/memory_watcher/memory_watcher.gyp:*', |
| 4575 '../webkit/activex_shim/activex_shim.gyp:*', | 4727 '../webkit/activex_shim/activex_shim.gyp:*', |
| 4576 '../webkit/activex_shim_dll/activex_shim_dll.gyp:*', | 4728 '../webkit/activex_shim_dll/activex_shim_dll.gyp:*', |
| 4577 '../v8/tools/gyp/v8.gyp:v8_shell', | 4729 '../v8/tools/gyp/v8.gyp:v8_shell', |
| 4578 ], | 4730 ], |
| 4579 }, | 4731 }, |
| 4580 { | 4732 { |
| 4581 'target_name': 'chrome_dll', | |
| 4582 'type': 'shared_library', | |
| 4583 'product_name': 'chrome', | |
| 4584 'msvs_guid': 'C0A7EE2C-2A6D-45BE-BA78-6D006FDF52D9', | |
| 4585 'include_dirs': [ | |
| 4586 'third_party/wtl/include', | |
| 4587 ], | |
| 4588 'dependencies': [ | |
| 4589 # On Windows, link the dependencies (libraries) that make | |
| 4590 # up actual Chromium functionality into this .dll. | |
| 4591 '<@(chromium_dependencies)', | |
| 4592 'chrome_dll_version', | |
| 4593 'chrome_resources', | |
| 4594 'installer/installer.gyp:installer_util_strings', | |
| 4595 'theme_dll', | |
| 4596 'worker', | |
| 4597 '../printing/printing.gyp:printing', | |
| 4598 '../net/net.gyp:net_resources', | |
| 4599 '../build/util/support/support.gyp:*', | |
| 4600 '../third_party/cld/cld.gyp:cld', | |
| 4601 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', | |
| 4602 '../views/views.gyp:views', | |
| 4603 '../webkit/webkit.gyp:webkit_resources', | |
| 4604 '../gears/gears.gyp:gears', | |
| 4605 ], | |
| 4606 'defines': [ | |
| 4607 'CHROME_DLL', | |
| 4608 'BROWSER_DLL', | |
| 4609 'RENDERER_DLL', | |
| 4610 'PLUGIN_DLL', | |
| 4611 ], | |
| 4612 'sources': [ | |
| 4613 'app/chrome_dll.rc', | |
| 4614 'app/chrome_dll_main.cc', | |
| 4615 'app/chrome_dll_resource.h', | |
| 4616 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc
', | |
| 4617 | |
| 4618 '../webkit/glue/resources/aliasb.cur', | |
| 4619 '../webkit/glue/resources/cell.cur', | |
| 4620 '../webkit/glue/resources/col_resize.cur', | |
| 4621 '../webkit/glue/resources/copy.cur', | |
| 4622 '../webkit/glue/resources/row_resize.cur', | |
| 4623 '../webkit/glue/resources/vertical_text.cur', | |
| 4624 '../webkit/glue/resources/zoom_in.cur', | |
| 4625 '../webkit/glue/resources/zoom_out.cur', | |
| 4626 | |
| 4627 # TODO: It would be nice to have these pulled in | |
| 4628 # automatically from direct_dependent_settings in | |
| 4629 # their various targets (net.gyp:net_resources, etc.), | |
| 4630 # but that causes errors in other targets when | |
| 4631 # resulting .res files get referenced multiple times. | |
| 4632 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', | |
| 4633 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', | |
| 4634 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', | |
| 4635 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', | |
| 4636 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', | |
| 4637 | |
| 4638 # TODO(sgk): left-over from pre-gyp build, figure out | |
| 4639 # if we still need them and/or how to update to gyp. | |
| 4640 #'app/check_dependents.bat', | |
| 4641 #'app/chrome.dll.deps', | |
| 4642 ], | |
| 4643 'msvs_settings': { | |
| 4644 'VCLinkerTool': { | |
| 4645 'BaseAddress': '0x01c30000', | |
| 4646 'DelayLoadDLLs': [ | |
| 4647 'crypt32.dll', | |
| 4648 'cryptui.dll', | |
| 4649 'winhttp.dll', | |
| 4650 'wininet.dll', | |
| 4651 'wsock32.dll', | |
| 4652 'ws2_32.dll', | |
| 4653 'winspool.drv', | |
| 4654 'comdlg32.dll', | |
| 4655 'imagehlp.dll', | |
| 4656 'psapi.dll', | |
| 4657 'urlmon.dll', | |
| 4658 'imm32.dll', | |
| 4659 ], | |
| 4660 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', | |
| 4661 'ProgramDatabaseFile': '$(OutDir)\\chrome_dll.pdb', | |
| 4662 # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency). | |
| 4663 'SubSystem': '2', | |
| 4664 }, | |
| 4665 'VCManifestTool': { | |
| 4666 'AdditionalManifestFiles': '$(ProjectDir)\\app\\chrome.dll.manifes
t', | |
| 4667 }, | |
| 4668 }, | |
| 4669 'configurations': { | |
| 4670 'Debug': { | |
| 4671 'msvs_settings': { | |
| 4672 'VCLinkerTool': { | |
| 4673 'LinkIncremental': '1', # /INCREMENTAL:NO | |
| 4674 }, | |
| 4675 }, | |
| 4676 }, | |
| 4677 }, | |
| 4678 }, | |
| 4679 { | |
| 4680 'target_name': 'chrome_dll_version', | 4733 'target_name': 'chrome_dll_version', |
| 4681 'type': 'none', | 4734 'type': 'none', |
| 4682 #'msvs_guid': '414D4D24-5D65-498B-A33F-3A29AD3CDEDC', | 4735 #'msvs_guid': '414D4D24-5D65-498B-A33F-3A29AD3CDEDC', |
| 4683 'dependencies': [ | 4736 'dependencies': [ |
| 4684 '../build/util/build_util.gyp:lastchange', | 4737 '../build/util/build_util.gyp:lastchange', |
| 4685 ], | 4738 ], |
| 4686 'direct_dependent_settings': { | 4739 'direct_dependent_settings': { |
| 4687 'include_dirs': [ | 4740 'include_dirs': [ |
| 4688 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version', | 4741 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version', |
| 4689 ], | 4742 ], |
| (...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5215 # Use outputs of this action as inputs for the main target build. | 5268 # Use outputs of this action as inputs for the main target build. |
| 5216 # Seems as a misnomer but makes this happy on Linux (scons). | 5269 # Seems as a misnomer but makes this happy on Linux (scons). |
| 5217 'process_outputs_as_sources': 1, | 5270 'process_outputs_as_sources': 1, |
| 5218 }, | 5271 }, |
| 5219 ], # 'actions' | 5272 ], # 'actions' |
| 5220 }, | 5273 }, |
| 5221 ] | 5274 ] |
| 5222 }], | 5275 }], |
| 5223 ], # 'conditions' | 5276 ], # 'conditions' |
| 5224 } | 5277 } |
| OLD | NEW |