Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3972)

Unified Diff: chrome/chrome_exe.gypi

Issue 7714018: Give plug-in processes an executable heap and disable PIE/ASLR for Native (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/common/chrome_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_exe.gypi
===================================================================
--- chrome/chrome_exe.gypi (revision 97969)
+++ chrome/chrome_exe.gypi (working copy)
@@ -273,6 +273,7 @@
'dependencies': [
'helper_app',
'infoplist_strings_tool',
+ 'interpose_dependency_shim',
'chrome_manifest_bundle',
],
'mac_bundle_resources': [
@@ -327,6 +328,7 @@
'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Contents/Versions/<(version_full)',
'files': [
'<(PRODUCT_DIR)/<(mac_product_name) Helper.app',
+ '<(PRODUCT_DIR)/libplugin_carbon_interpose.dylib',
],
},
],
@@ -366,6 +368,38 @@
'<(version_full)'
],
},
+ {
+ # This postbuid step is responsible for creating the following
+ # helpers:
+ #
+ # For unofficial Chromium branding, Chromium Helper EH.app and
+ # Chromium Helper NP.app are created from Chromium Helper.app.
+ # For official Google Chrome branding, Google Chrome Helper
+ # EH.app and Google Chrome Helper NP.app are created from
+ # Google Chrome Helper.app.
+ #
+ # The EH helper is marked for an executable heap. The NP helper
+ # is marked for no PIE (ASLR).
+ #
+ # Normally, applications shipping as part of offical builds with
+ # Google Chrome branding have dsymutil (dwarf-with-dsym,
+ # mac_real_dsym) and dump_syms (mac_breakpad) run on them to
+ # produce a .dSYM bundle and a Breakpad .sym file. This is
+ # unnecessary for the "More Helpers" because they're identical
+ # to the original helper except for the bits in their Mach-O
+ # headers that change to enable or disable special features.
+ # Each .dSYM and Breakpad symbol file is identified by UUID
+ # stored in a Mach-O file's LC_UUID load command. Because the
+ # "More Helpers" share a UUID with the original helper, there's
+ # no need to run dsymutil or dump_syms again. All helpers can
+ # share the same .dSYM and Breakpad symbol file.
+ 'postbuild_name': 'Make More Helpers',
+ 'action': [
+ 'tools/build/mac/make_more_helpers.sh',
+ '<(version_full)',
+ '<(mac_product_name)',
+ ],
+ },
], # postbuilds
}],
['OS=="linux"', {
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/common/chrome_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698