summaryrefslogtreecommitdiffstats
path: root/build/mac
Commit message (Collapse)AuthorAgeFilesLines
* Handle iOS gtest app bundles in copy_asan_runtime_dylib.shglider@chromium.org2013-07-021-6/+16
| | | | | | | | | | | Unlike Chromium.app, gtest binaries contain the executable right on the first level (e.g. base_unittests.app/base_unittests), so the ASan runtime can be put right into the bundle. R=stuartmorgan@chromium.org, thakis@chromium.org Review URL: https://codereview.chromium.org/18177011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209647 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup old TODO in tweak_info_plist.pyjeremy@chromium.org2013-06-111-2/+0
| | | | | | | | | | | | Remove an unneeded call now that m25 is released. BUG=None TEST=None TBR=thakis Review URL: https://chromiumcodereview.appspot.com/15897018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205606 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land https://codereview.chromium.org/11642018/: Add a postbuild action ↵glider@chromium.org2013-03-122-0/+85
| | | | | | | | | | | | | | | | for executables built with ASan on Mac OS. The action will copy the ASan dynamic runtime to the output dir and into every bundled executable being built. Unlike the previous change, this one does not touch build/all.gyp, since our target doesn't need to be built when building 'All'. BUG=170629 TBR=thakis,mark Review URL: https://codereview.chromium.org/12685006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187566 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 187297glider@chromium.org2013-03-112-85/+0
| | | | | | | | | | | | | | > Add a postbuild action for executables built with ASan on Mac OS. > The action will copy the ASan dynamic runtime to the same dir where > the executable is. > > BUG=170629 > Review URL: https://codereview.chromium.org/11642018 TBR=glider@chromium.org Review URL: https://codereview.chromium.org/12440020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187309 0039d316-1c4b-4281-b951-d872f2087c98
* Add a postbuild action for executables built with ASan on Mac OS.glider@chromium.org2013-03-112-0/+85
| | | | | | | | | | The action will copy the ASan dynamic runtime to the same dir where the executable is. BUG=170629 Review URL: https://codereview.chromium.org/11642018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187297 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Get revision information from LASTCHANGE like windows and linux dothakis@chromium.org2012-11-281-7/+11
| | | | | | | | | BUG=161488 TEST=Check that Chromium.app/Contents/Info.plist still gets the right SCMRevision after syncing and building. Review URL: https://codereview.chromium.org/11412230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170085 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Don't write SCMPath into Info.plistthakis@chromium.org2012-11-281-6/+4
| | | | | | | | | | | | The key isn't used by anything, the information is redudant with the version number, the other ports can get by without it, and this makes it easier to move mac to the LASTCHANGE file. BUG=161488 Review URL: https://codereview.chromium.org/11434007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170055 0039d316-1c4b-4281-b951-d872f2087c98
* Add an option to specify the versio to tweak_info_plist, and use it to set ↵jochen@chromium.org2012-11-051-15/+27
| | | | | | | | | | | | | the version of content_shell This breaks the dependency on chrome/VERSION to build content shell on mac BUG=156242 Review URL: https://chromiumcodereview.appspot.com/11367095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166044 0039d316-1c4b-4281-b951-d872f2087c98
* When doing an official build, don't bail out if Xcode doesn't know about themark@chromium.org2012-10-061-1/+4
| | | | | | | | | | | | | | SDK to verify when an SDK path is set. The SDK path supersedes whatever find_sdk is supposed to find. Also: Reorganize the SDK and deployment target variables to be scoped more appropriately. Add a mac_sdk_min variable to set the main argument to find_sdk. Review URL: https://chromiumcodereview.appspot.com/11068023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160536 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Move the lists of XIB files into a gypi file.rsesek@chromium.org2012-09-171-0/+17
| | | | | | | | | | | | | | This creates lists of XIB files that Chromium has. It also lays the groundwork for editing XIB files on Xcode 4.4 by creating a fake project for working in Xcode. BUG=149763 TEST=No changes in build output. TBR=mark@chromium.org Review URL: https://codereview.chromium.org/10918254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157199 0039d316-1c4b-4281-b951-d872f2087c98
* Make the Mac Info.plist SCM keys genericstuartmorgan@chromium.org2012-08-231-11/+11
| | | | | | | | | | | | | | This allows the file_version_info_mac code to make sense for any SCM (e.g., git). It also aligns the use of FetchVersionInfo to its documented behavior, which is to return a (branch, revision) tuple for "some appropriate revision control system". BUG=None Review URL: https://chromiumcodereview.appspot.com/10828228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153101 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Print an error when doing a branded build and the 10.6 sdk is not aroundthakis@chromium.org2012-08-221-3/+29
| | | | | | | | BUG=144045 Review URL: https://chromiumcodereview.appspot.com/10876003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152823 0039d316-1c4b-4281-b951-d872f2087c98
* Fix checkperms by chmod +xing a script with a shebang linethakis@chromium.org2012-07-271-0/+0
| | | | | | | | TBR=sergeyu Review URL: https://chromiumcodereview.appspot.com/10820061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148825 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Let mac_sdk default to the oldest available SDK that's at least 10.6thakis@chromium.org2012-07-271-0/+53
| | | | | | | | | | | | | | | | | | | Having to manually set mac_sdk was a FAQ when Xcode 4 was released. Now we're using the 10.6 SDK by default, but Xcode 4.4 ships only with the 10.7 and 10.8 SDKs, so it'll likely become a FAQ again. Automatically set mac_sdk to something sensible. (People who explicitly say "mac_sdk=10.6" will have to stop doing so when they switch to Xcode 4.4.) BUG=121162 TEST=Build without mac_sdk in GYP_DEFINES. Something useful happens with Xcode 3.2.6, Xcode 4, Xcode 4.4. Review URL: https://chromiumcodereview.appspot.com/10824055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148817 0039d316-1c4b-4281-b951-d872f2087c98
* Give copy_framework_unversioned an option to make a framework unversionedmark@chromium.org2012-06-061-21/+37
| | | | | | | | | | | | | | | without running install_name_tool on it. This is necessary now that KeystoneRegistration.framework is signed. install_name_tool would invalidate the signature. Since nothing is linked against KeystoneRegistration.framework, its LC_ID_DYLIB is irrelevant and it can be allowed to remain as-is. BUG=131081 TEST=none Review URL: https://chromiumcodereview.appspot.com/10535037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140818 0039d316-1c4b-4281-b951-d872f2087c98
* Make helper app, get closer to working content shell.avi@chromium.org2012-03-091-0/+91
| | | | | | | | | BUG=115784 TEST=none Review URL: https://chromiumcodereview.appspot.com/9656002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125921 0039d316-1c4b-4281-b951-d872f2087c98
* Fix tweak_info_plist.py to be explicit about arguments.avi@chromium.org2012-03-071-13/+20
| | | | | | | | | | BUG=115784 TEST=none Review URL: http://codereview.chromium.org/9617032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125349 0039d316-1c4b-4281-b951-d872f2087c98
* First pass at content shell for the Mac. Doesn't work yet.avi@chromium.org2012-03-063-0/+431
| | | | | | | | | BUG=115784 TEST=none Review URL: https://chromiumcodereview.appspot.com/9513006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125254 0039d316-1c4b-4281-b951-d872f2087c98
* Fix python scripts in src/build/maruel@chromium.org2011-11-231-72/+71
| | | | | | | | | | | | | | | | | | Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. TBR=michaelbai@chromium.org BUG=105108 TEST= Review URL: http://codereview.chromium.org/8667008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111385 0039d316-1c4b-4281-b951-d872f2087c98
* Don't print the strip command line being executed in strip_save_dsym.mark@chromium.org2011-09-081-3/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7850017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100150 0039d316-1c4b-4281-b951-d872f2087c98
* Turn off PIE when building for Valgrind.mark@chromium.org2011-08-241-0/+1
| | | | | | | | BUG=90221, 93551 TEST=Valgrind Review URL: http://codereview.chromium.org/7724002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98046 0039d316-1c4b-4281-b951-d872f2087c98
* Give plug-in processes an executable heap and disable PIE/ASLR for Nativemark@chromium.org2011-08-243-33/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Client loader processes. Some plug-ins depend on having an executable heap. They write code to data pages and attempt to execute it without calling mprotect to mark this code as executable. Native Client needs to allocate a contiguous 1GB of address space. ASLR may interfere with there being a "hole" this large in the address space by the time NaCl makes its request. Non-executable heaps are only available in 10.7 and later for 32-bit processes. PIE/ASLR was formerly disabled for all processes other than the browser process. This change reenables it for all processes other than the NaCl loader. PIE/ASLR is available on 10.5 and later, although the implementation is stronger in 10.7 than in earlier releases. This change results in two new helpers in addition to the existing Chromium Helper.app: Chromium Helper EH.app (for executable heaps) and Chromium Helper NP.app (for no PIE). libplugin_carbon_interpose.dylib moves out of the helper .app and directly into the versioned directory. The InfoPlist.strings have been removed from the helper app, but empty .lproj directories remain. BUG=90221, 93551 TEST=everything Review URL: http://codereview.chromium.org/7714018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97984 0039d316-1c4b-4281-b951-d872f2087c98
* Disable data page (heap) execution when running on Mac OS X 10.7 ("Lion").mark@chromium.org2011-08-112-0/+246
| | | | | | | | | BUG=91990 TEST=otool -h Whatever.app/Contents/MacOS/Whatever should show the 0x1000000 bit set in the |flags| column Review URL: http://codereview.chromium.org/7608027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96288 0039d316-1c4b-4281-b951-d872f2087c98
* Tom and I should OWN a couple more things.mark@chromium.org2011-04-281-0/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6901101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83367 0039d316-1c4b-4281-b951-d872f2087c98
* Update the strip wrapper for Xcode 3.2.6.thomasvl@chromium.org2011-03-111-1/+3
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6683001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77816 0039d316-1c4b-4281-b951-d872f2087c98
* Exclude ChromeOS directories and files from mac win linux.jrg@chromium.org2010-10-041-2/+7
| | | | | | | | | Extension of this change, applied more liberally: http://src.chromium.org/viewvc/chrome/trunk/src/build/linux/chrome_linux.croc?r1=44710&r2=46647 Review URL: http://codereview.chromium.org/3540002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61430 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Remove the nacl clobber hook, GYP seems to have all the deps handing ↵thomasvl@chromium.org2010-06-291-44/+0
| | | | | | | | | | setup right for Xcode (when expressed in the .gyp files). So this shouldn't be needed any more. BUG=none TEST=none Review URL: http://codereview.chromium.org/2848030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51119 0039d316-1c4b-4281-b951-d872f2087c98
* Add a missing [ that prevented strip_from_xcode from functioning properly withmark@chromium.org2010-06-011-1/+1
| | | | | | | | | | GYP loadable_module-type targets (Xcode mh_bundle-type targets). BUG=0 TEST=NULL Review URL: http://codereview.chromium.org/2434003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48655 0039d316-1c4b-4281-b951-d872f2087c98
* TTF: Don't include v8 in the coverage results. Also moves common rules to ↵jhawkins@chromium.org2010-05-121-21/+2
| | | | | | | | | | | common.croc. BUG=none TEST=none Review URL: http://codereview.chromium.org/2022007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47071 0039d316-1c4b-4281-b951-d872f2087c98
* [TFF] Coverage: Don't include any non-Linux platform directories in the ↵jhawkins@chromium.org2010-05-071-2/+2
| | | | | | | | | | | Linux code coverage analysis. BUG=none TEST=none Review URL: http://codereview.chromium.org/2046002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46647 0039d316-1c4b-4281-b951-d872f2087c98
* Measure coverage for NaCl codegregoryd@google.com2010-04-151-1/+1
| | | | | | Review URL: http://codereview.chromium.org/1618027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44710 0039d316-1c4b-4281-b951-d872f2087c98
* Don't strip main from the browser or helper app executables. This helpsmark@chromium.org2010-03-261-5/+25
| | | | | | | | | | | backtraces of stripped executables look more reasonable. BUG=39232 TEST=gdb backtrace in a stripped executable with no symbols loaded should show thread 0 beginning in main Review URL: http://codereview.chromium.org/1460001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42817 0039d316-1c4b-4281-b951-d872f2087c98
* Support Xcode 3.2.2 (prerelease) for release-mode builds.mark@chromium.org2010-03-101-18/+33
| | | | | | | | | | The UUID format displayed by otool has changed. BUG=35162 TEST=Build in release mode with Xcode 3.2.2 (prerelease) Review URL: http://codereview.chromium.org/833001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41200 0039d316-1c4b-4281-b951-d872f2087c98
* Move Mac build tool scripts only used by chrome.gyp from build/mac intomark@chromium.org2009-10-276-1802/+0
| | | | | | | | | | chrome/tools/build/mac. BUG=none TEST=none Review URL: http://codereview.chromium.org/334049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30222 0039d316-1c4b-4281-b951-d872f2087c98
* Official builds should be on the com.google.Chrome update product ID, notmark@chromium.org2009-10-141-182/+0
| | | | | | | | | | | | | | | com.google.Chrome.framework BUG=24836 TEST=After running Google Chrome.app, run ~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/MacOS/ksadmin -p. You should see, at the very least, tickets for com.google.Keystone and com.google.Chrome, and they should appear to have valid data. You should not see any tickets for com.google.Chrome.framework. If you run ksadmin -l, you should not get any error output. Review URL: http://codereview.chromium.org/273059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29033 0039d316-1c4b-4281-b951-d872f2087c98
* Updating Native Client (should fix the Linux x64 build)gregoryd@google.com2009-10-031-0/+44
| | | | | | | | | New script added to clobber generated headers on Mac. BUG= http://code.google.com/p/nativeclient/issues/detail?id=104 TEST=none Review URL: http://codereview.chromium.org/259019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27919 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use --owner or --group in tar -c, these options are not present inmark@chromium.org2009-09-111-1/+1
| | | | | | | Mac OS X 10.6 ("Snow Leopard")'s tar. Review URL: http://codereview.chromium.org/194078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25993 0039d316-1c4b-4281-b951-d872f2087c98
* Fix arg error check (was expecting too many).thomasvl@chromium.org2009-09-011-1/+1
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/175047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25060 0039d316-1c4b-4281-b951-d872f2087c98
* Put a proper info.plist into the framework so we can codesign it.thomasvl@chromium.org2009-09-011-5/+2
| | | | | | | | | | | Update the tweak info.plist script to work on frameworks as well as apps. Remove the bundle version since the script manages that. BUG=20503 TEST=The framework should now have an valid info.plist file in it's resources folder. Review URL: http://codereview.chromium.org/178055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25027 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak the comment in the lproj fixup script to explain why we need an "en" ↵thomasvl@chromium.org2009-08-241-14/+0
| | | | | | | | | | | | | | | | | | | | | | folder. Added a string for the products short name, this is current mac only, and is used for the application menu title via the infoplist.strings file. Added source for a tool to build InfoPlist.strings files based on the values within the GRD files. Run the InfoPlist.strings generation tool during the build. Added a script to take a string and list of locale and generate all the versions of the string. Wired up the string locale tool so GYP knows about all the inputs/outputs from the InfoPlist.strings generation tool. Stop setting some of the Info.plist keys that are now covered by the InfoPlist.strings files. Update the mac links script to stop creating a resources link. Add a shim to nuke the helper's resource link so it can get a real folder. Helper in in chrome_paths_mac to find the main app's bundle (that the helper lives in). At startup, if not the browser, set the main bundle to be the parent of this bundle. Fix up the breakpad init to use the mac_util helper for main bundle. TEST=when runnining in the supported languages, Finder Get Info should show a localized copyright. The process names in activity monitor should also be correct and show localized names once the TC work is done. BUG=19019 Review URL: http://codereview.chromium.org/171040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24104 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak indentationmark@chromium.org2009-08-121-4/+4
| | | | | | Review URL: http://codereview.chromium.org/165379 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23182 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build/mac/tweak_app_infoplist build script for git users. Patch by Robertmark@chromium.org2009-08-111-15/+23
| | | | | | | | Sesek <rsesek@gmail.com>. Review URL: http://codereview.chromium.org/165314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23075 0039d316-1c4b-4281-b951-d872f2087c98
* Save debugging symbols for plugin_carbon_interpose.dylib.mark@chromium.org2009-08-111-7/+12
| | | | | | | | | BUG=18997 TEST=Release build produces plugin_carbon_interpose.dylib-*-i386.breakpad, and Google Chrome.dsym.tar.bz2 contains plugin_carbon_interpose.dylib.dSYM Review URL: http://codereview.chromium.org/164325 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23043 0039d316-1c4b-4281-b951-d872f2087c98
* ObjC classes generated by the build and used in Xib files is already getting ↵thomasvl@chromium.org2009-08-111-83/+38
| | | | | | | | | | | | | | | | ugly, if they aren't built at build start, IB sometimes throws warnings about unknown things, so... - Use one class for the localizer and generate the table that drives it. - Update the generator script to process a list of xib files and generate one header. - Update the data within the GYP file to do this. - This might actually help overall size since it helps force one set of strings for each different window. - Switch to bsearch for table lookup since we have one, larger table now. TEST=none BUG=none Review URL: http://codereview.chromium.org/164260 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23017 0039d316-1c4b-4281-b951-d872f2087c98
* Re-commit r22981 after backout at r22992. Contains fixes to relocatemark@chromium.org2009-08-112-47/+99
| | | | | | | | | | | | | | | | plugin_carbon_interpose.dylib from the outer browser app bundle to the inner helper app bundle. Provide a separate app bundle for subprocesses like the renderer on the Mac. Remove LSUIElement and related hacks from the browser's app bundle. BUG=8044 TEST=Observe one Chromium and one or more Chromium Helper processes in Activity Monitor Review URL: http://codereview.chromium.org/164177 Review URL: http://codereview.chromium.org/164303 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23006 0039d316-1c4b-4281-b951-d872f2087c98
* Back out r22981, it may have caused Windows test failures.mark@chromium.org2009-08-112-99/+47
| | | | | | Review URL: http://codereview.chromium.org/164298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22992 0039d316-1c4b-4281-b951-d872f2087c98
* Provide a separate app bundle for subprocesses like the renderer on the Mac.mark@chromium.org2009-08-112-47/+99
| | | | | | | | | | | Remove LSUIElement and related hacks from the browser's app bundle. BUG=8044 TEST=Observe one Chromium and one or more Chromium Helper processes in Activity Monitor Review URL: http://codereview.chromium.org/164177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22981 0039d316-1c4b-4281-b951-d872f2087c98
* Bounce through a set so we uniq the string list to avoid having something ↵thomasvl@chromium.org2009-08-071-3/+3
| | | | | | | | | | listed twice (a sub menu ends up with the same title as the menu item it hangs off, so it's easy to get dups within a xib file). TEST=none BUG=none Review URL: http://codereview.chromium.org/165133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22734 0039d316-1c4b-4281-b951-d872f2087c98
* Move the entire application into a dylib (framework)mark@chromium.org2009-08-052-16/+42
| | | | | | Review URL: http://codereview.chromium.org/160538 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22506 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing parens for format string to work.thomasvl@chromium.org2009-08-051-1/+5
| | | | | | | When there are no strings to localize, but a stub value into the table to avoid a compile error from array_size. Review URL: http://codereview.chromium.org/160645 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22483 0039d316-1c4b-4281-b951-d872f2087c98