summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Enable the .pak files on mac builds also.thomasvl@chromium.org2009-02-261-2/+3
| | | | | | Review URL: http://codereview.chromium.org/27153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10446 0039d316-1c4b-4281-b951-d872f2087c98
* Allow grit to run in parallel with scons by forking child processestc@google.com2009-02-251-4/+11
| | | | | | | | | for each grit builder. This speeds up the build a bit. Review URL: http://codereview.chromium.org/27118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10401 0039d316-1c4b-4281-b951-d872f2087c98
* fix call to os.makedirstc@google.com2009-02-251-1/+1
| | | | | | | | | | | it's in the os module, not os.path. tbr=deanm Review URL: http://codereview.chromium.org/27114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10312 0039d316-1c4b-4281-b951-d872f2087c98
* Final step in converting all grit includes to have grit in the path.tc@google.com2009-02-242-22/+5
| | | | | | | | | | | | Fixes some linux/mac issues that were pending and fix up the scons build to expect the file in the grit subdir. BUG=7537 Review URL: http://codereview.chromium.org/28035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10306 0039d316-1c4b-4281-b951-d872f2087c98
* Update include paths for grit files. Go ahead and resorttc@google.com2009-02-222-2/+2
| | | | | | | | the headers too. Review URL: http://codereview.chromium.org/21472 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10167 0039d316-1c4b-4281-b951-d872f2087c98
* Add diagnostic information to help track down why the Purify layout testspam@chromium.org2009-02-221-0/+9
| | | | | | | | | | | | are occasionally hanging and can't be killed. TBR=erikkay BUG=7834 TEST=none Review URL: http://codereview.chromium.org/27039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10156 0039d316-1c4b-4281-b951-d872f2087c98
* Include a better sample JSON dataset in traceline.deanm@chromium.org2009-02-205-112931/+206
| | | | | | | | | | | | | | The previous startup-off2.json didn't have stack traces. It was also quite large, it was unfiltered and contained every single system call event. Include a program to filter a JSON data set to only include events that took a worthwhile amount of time. This greatly reduces the size of the JSON data. A new filtered JSON dataset startup-release.json is included, much smaller and with stack traces. Added an ignore for checkdeps on traceline/. Review URL: http://codereview.chromium.org/20535 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10094 0039d316-1c4b-4281-b951-d872f2087c98
* Import traceline, a Windows performance trace event logger.deanm@chromium.org2009-02-2029-0/+121593
| | | | | | | | This imports both the hook / event logger (traceline), and the SVG based UI for displaying trace results as a timeline (svgui). Review URL: http://codereview.chromium.org/20494 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10091 0039d316-1c4b-4281-b951-d872f2087c98
* step 1 on getting strings in linux: create a locale_settings.grdtc@google.com2009-02-182-5/+14
| | | | | | | | | | | | | | | | | | based on locale_settings_en-US.rc. We don't use this anywhere yet, just putting things in place. - Fix preprocessor defines in grit vcproj files (needs to be defined everywhere) and update grit_localized_resources.rules to pass the preprocessor define to grit. - Add generated .h files to chrome_strings.vcproj so people can ctrl+alt+a open them. - Update GRIT so it knows how to substitute [GRITLANGCODE] in strings to the locale value. Review URL: http://codereview.chromium.org/20440 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9922 0039d316-1c4b-4281-b951-d872f2087c98
* Another pass at fixing grit includesjoshia@google.com2009-02-171-1/+1
| | | | | | | | TBR=tony@chromium.org Review URL: http://codereview.chromium.org/20428 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9891 0039d316-1c4b-4281-b951-d872f2087c98
* Add relative include path for grit includesjoshia@google.com2009-02-171-1/+1
| | | | | | | | TBR=tony@chromium.org Review URL: http://codereview.chromium.org/20422 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9880 0039d316-1c4b-4281-b951-d872f2087c98
* Fix scons build for non-official builds.tc@google.com2009-02-121-0/+2
| | | | | | | | | | We were trying to include all resources, even those hidden behind an preprocessor #if. Review URL: http://codereview.chromium.org/20311 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9680 0039d316-1c4b-4281-b951-d872f2087c98
* Second try of landing chrome_resources project. Changes from last time:tc@google.com2009-02-124-2/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | - fix scons dependencies by adding a target for grit/theme_resources.h - fix mac build by adding grit to unittest include path - fix check deps by adding rules for /grit dir. Create a chrome_resources.vcproj that holds grd files that hold non-string resources. Put browser_resources.grd into this vcproj. Port theme_resources.rc/theme_resources.h to theme_resources.grd and put it in the vcproj too. I did a find/replace on the theme_resources include line. Modify grit so header files go in grit_generated_resources/grit/ so the include path can be cleaner. I'll migrate the others in follow up patches. theme_resources.rc had a conditional include of distribution_resources.rc so I had to add support for preprocessor defines to visual studio. Review URL: http://codereview.chromium.org/24011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9664 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Create a chrome_resources.vcproj that holds grd files that hold"tc@google.com2009-02-123-38/+2
| | | | | | | | | | This reverts commit r9631. TBR=deanm Review URL: http://codereview.chromium.org/23023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9634 0039d316-1c4b-4281-b951-d872f2087c98
* Create a chrome_resources.vcproj that holds grd files that holdtc@google.com2009-02-123-2/+38
| | | | | | | | | | | | | | | | | | | | | non-string resources. Put browser_resources.grd into this vcproj. Port theme_resources.rc/theme_resources.h to theme_resources.grd and put it in the vcproj too. I did a find/replace on the theme_resources include line. Modify grit so header files go in grit_generated_resources/grit/ so the include path can be cleaner. I'll migrate the others in follow up patches. theme_resources.rc had a conditional include of distribution_resources.rc so I had to add support for preprocessor defines to visual studio. Review URL: http://codereview.chromium.org/20247 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9631 0039d316-1c4b-4281-b951-d872f2087c98
* In addition to printing to stdout, also log bug report and summary data to a ↵erikkay@google.com2009-02-112-36/+65
| | | | | | | | file in the report dir. Review URL: http://codereview.chromium.org/20166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9590 0039d316-1c4b-4281-b951-d872f2087c98
* Fix purify scripts to output data into the correct directory when running ↵erikkay@google.com2009-02-111-13/+20
| | | | | | | | | | | layout tests. Change layout tests to mark builder as orange on failure (BUG=7516). Review URL: http://codereview.chromium.org/21161 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9589 0039d316-1c4b-4281-b951-d872f2087c98
* Periodically log while waiting for subprocess to complete so that the bot ↵erikkay@google.com2009-02-111-26/+37
| | | | | | | | | | doesn't kill us when we're taking a long time. Also clean up the subprocess wait loop. BUG=7514 Review URL: http://codereview.chromium.org/20165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9588 0039d316-1c4b-4281-b951-d872f2087c98
* Only run one grit builder at a time under scons.tc@google.com2009-02-102-14/+4
| | | | | | | | | | | GRIT is not thread safe, we shouldn't be running multiple copies at one time. This is causing the header files to have duplicates when it shouldn't. I also removed some code in build.py which tried to prevent an identical regenerated header file from being used (so stuff doesn't rebuild unnecessarily). This code isn't necessary for our build since VS/xcode/scons handles the dependency for us (i.e., this isn't a blanket prebuild step). Review URL: http://codereview.chromium.org/21191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9488 0039d316-1c4b-4281-b951-d872f2087c98
* Move browser_resources.rc into a a grd file. While I'm at it,tc@google.com2009-02-093-4/+133
| | | | | | | | | | | | I removed the flatten_html visual studio rule and just rolled the functionality directly into GRIT. The sln change is to have browser depend on browser_resources (now needed for browser_resources.h). Review URL: http://codereview.chromium.org/21148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9418 0039d316-1c4b-4281-b951-d872f2087c98
* With the latest purify patch, an existing filter (for a benign bzip2 UMR) ↵erikkay@google.com2009-02-091-0/+0
| | | | | | | | | | that had a filename match of blocksort.c stopped working. To get it to work I had to change it to *\blocksort.c. TBR=none Review URL: http://codereview.chromium.org/20167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9377 0039d316-1c4b-4281-b951-d872f2087c98
* Add a Repack tool to scons. This is used to compile linux resourcestc@google.com2009-02-062-1/+55
| | | | | | | | | | | | together (kind of like the windows RES builder). I also moved the GRIT builder into the chromium site_scons since we import it in lots of places. This seems cleaner. Review URL: http://codereview.chromium.org/21115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9331 0039d316-1c4b-4281-b951-d872f2087c98
* Allow purify scripts to take a --report_dir argument which specifies where ↵erikkay@google.com2009-02-063-28/+76
| | | | | | | | | the output data is written to. Also, add a --buildbot flag which will default the report_dir to a specific directory on chrome-web. Review URL: http://codereview.chromium.org/20097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9286 0039d316-1c4b-4281-b951-d872f2087c98
* fix webkit hammer buildtc@google.com2009-02-051-1/+3
| | | | | | | | | TBR=evan Review URL: http://codereview.chromium.org/21108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9275 0039d316-1c4b-4281-b951-d872f2087c98
* Some cleanup on the GRIT scons builder.tc@google.com2009-02-052-25/+41
| | | | | | | | | | | | | | - Cause the builder to have nicer output by removing a stray print in rc_header.py and adding a custom print function to the build action. - Fix the source scanner by hooking it up directly to the Builder, scanning for include dependencies and adding dependencies on the grit python source. Review URL: http://codereview.chromium.org/21102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9271 0039d316-1c4b-4281-b951-d872f2087c98
* Make xcodebodge even more friendly by making list_native_targetsphajdan.jr@chromium.org2009-02-051-21/+23
| | | | | | | | default command and printing hints about likely next commands. Review URL: http://codereview.chromium.org/20080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9230 0039d316-1c4b-4281-b951-d872f2087c98
* A few minor tweaks to Purify options that should allow us to enable a few ↵erikkay@google.com2009-02-052-3/+16
| | | | | | | | tests that were previously disabled as well as dealing with a few occasional hangs and crashes. Review URL: http://codereview.chromium.org/23006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9228 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the dependency checker tool. Rules for a directory did modify their ↵stoyan@chromium.org2009-02-051-8/+10
| | | | | | | | | | directory parent rules. Using copy.copy() solves the problem.Additional fix when "allow-current-directory" rules was not applied if DEPS file is missing. Updated few DEPS file with reasonable rules. To prevent tree closing other dependencies are added. These need to be either legitimated or dependency removed. Review URL: http://codereview.chromium.org/21025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9221 0039d316-1c4b-4281-b951-d872f2087c98
* Convert webkit_glue::GetLocalizedString to return a string16tc@google.com2009-02-051-2/+4
| | | | | | | | | | instead of a wstring. Convert the linux data pack files to pack message strings as utf16 instead of utf8. Review URL: http://codereview.chromium.org/20060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9193 0039d316-1c4b-4281-b951-d872f2087c98
* Use Vars for the webkit repo and revision number. This wayojan@google.com2009-02-031-5/+17
| | | | | | | | | | we can override the via custom_vars in .gclient on the bots and official builds updates the merge script appropriately. Also updates checkdeps to be Var-aware. Review URL: http://codereview.chromium.org/19508 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9098 0039d316-1c4b-4281-b951-d872f2087c98
* Sort file refs and build refs by UUID so Xcode doesn't resort them onaharper@chromium.org2009-01-261-0/+6
| | | | | | | | the next modification. Review URL: http://codereview.chromium.org/18719 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8645 0039d316-1c4b-4281-b951-d872f2087c98
* Include webkit strings in test shell data pack.tc@google.com2009-01-223-5/+18
| | | | | | | | | | This adds <message> node to the types of GRIT nodes that we can stuff into a data package file and removes a test shell hack. Review URL: http://codereview.chromium.org/18478 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8431 0039d316-1c4b-4281-b951-d872f2087c98
* fix build on windowstc@google.com2009-01-161-0/+1
| | | | | | | | | | we don't actually want to run this code on windows. TBR=evanm Review URL: http://codereview.chromium.org/18171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8223 0039d316-1c4b-4281-b951-d872f2087c98
* Have net_resources.grd generate a .pak file too. Since the tldtc@google.com2009-01-163-3/+20
| | | | | | | | | | | data is generated and included in the .pak file, we need to add a dependency in the SCons build. Making the corresponding changes to mac/win is harder, so punting for now. Review URL: http://codereview.chromium.org/18127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8220 0039d316-1c4b-4281-b951-d872f2087c98
* On Win32, keep all source relative paths on the drive with the project file.aharper@chromium.org2009-01-161-0/+5
| | | | | | Review URL: http://codereview.chromium.org/18103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8160 0039d316-1c4b-4281-b951-d872f2087c98
* The ubuntu version of valgrind doesn't have "--track-origins".erg@google.com2009-01-161-1/+3
| | | | | | | Review URL: http://codereview.chromium.org/18295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8152 0039d316-1c4b-4281-b951-d872f2087c98
* Add data pack file format to the grit output type and enable it for ↵tc@google.com2009-01-166-3/+120
| | | | | | | | | | | | | | | | | | webkit_resources.grd. This only adds support for <include> nodes. <message> nodes are forthcoming. The design doc describing the format is here: http://dev.chromium.org/developers/design-documents/linuxresourcesandlocalizedstrings I hooked into the <release> tag because we need to generate an index at the beginning of the file. The index contains the position of all the resources, so we walk the file at that point. This currently only handles <include> tags, but will be extended to handle <message> as well. Review URL: http://codereview.chromium.org/18215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8147 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor layout test bug report summary to add support for UI tests.erikkay@google.com2009-01-151-14/+31
| | | | | | Review URL: http://codereview.chromium.org/18293 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8137 0039d316-1c4b-4281-b951-d872f2087c98
* Fix current working directory problem in chrome_tests.sh.erg@google.com2009-01-151-1/+1
| | | | | | | Review URL: http://codereview.chromium.org/18292 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8133 0039d316-1c4b-4281-b951-d872f2087c98
* Add a sleep timeout argument to the ui_test scripts. This willpaulg@google.com2009-01-151-1/+2
| | | | | | | | allow tests that use inline calls to Sleep() to not delay too long when running under Purify. Review URL: http://codereview.chromium.org/18260 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8107 0039d316-1c4b-4281-b951-d872f2087c98
* Fix path handling under cygwin Python when invoked from Win32 shell.aharper@chromium.org2009-01-151-3/+35
| | | | | | | | Handle relative paths in source files from parents of SOURCE_ROOT. Review URL: http://codereview.chromium.org/18064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8064 0039d316-1c4b-4281-b951-d872f2087c98
* add a repack utility for combining .pak files generatedtc@google.com2009-01-152-6/+72
| | | | | | | | | by grit into a single .pak file. Review URL: http://codereview.chromium.org/18254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8063 0039d316-1c4b-4281-b951-d872f2087c98
* accidentally passed a bogus arg to run_webkit_testserikkay@google.com2009-01-141-1/+0
| | | | | | | TBR=paulg Review URL: http://codereview.chromium.org/18033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7991 0039d316-1c4b-4281-b951-d872f2087c98
* Remove grit hack and inline a 30x30 red square for atc@google.com2009-01-132-4/+0
| | | | | | | | | data resource that we were loading from disk. This should get compiled out in chrome. Rebaseline one test. Review URL: http://codereview.chromium.org/18008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7966 0039d316-1c4b-4281-b951-d872f2087c98
* A simple one-at-a-time test runner that can be driven by chrome_tests.py.erikkay@google.com2009-01-132-2/+64
| | | | | | | | | This allows memory errors to be isolated to a particular test and a crash in one test to affect the tests of others. Review URL: http://codereview.chromium.org/17634 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7938 0039d316-1c4b-4281-b951-d872f2087c98
* Move webkit_resources.rc to webkit_resources.grd. Addtc@google.com2009-01-132-0/+4
| | | | | | | | | | | | | | | | | webkit_resources.vcproj which creates the .rc files and have webkit glue depend on it. I had to add a flag to grit that allows a resource to be in the header, but not in the .rc file. We do this for a test_shell only resource that is not compiled in. SCons build also works on windows. I still need to update the other .sln files and mac build. Review URL: http://codereview.chromium.org/17466 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7910 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore "_ignore.txt" files when counting errors we want to fix sometime.pamg@google.com2009-01-101-0/+1
| | | | | | | | | BUG=5469 TEST=make sure errors in _ignore files in, say, base/data/purify/ don't show up in the buildbot's count of errors we need to fix Review URL: http://codereview.chromium.org/17457 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7844 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for per-module suppression files.erg@google.com2009-01-093-22/+37
| | | | | | | | | Also fixes a typo in logging. Review URL: http://codereview.chromium.org/17321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7837 0039d316-1c4b-4281-b951-d872f2087c98
* Update Purify filters to filter out some sqlite UMRs.mpcomplete@google.com2009-01-091-0/+0
| | | | | | | BUG=1573607 Review URL: http://codereview.chromium.org/17449 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7821 0039d316-1c4b-4281-b951-d872f2087c98
* Report the total number of fixable and fixable-but-flakey messages listed inpamg@google.com2009-01-091-0/+27
| | | | | | | | | | | the data files for the executable under test, to give it better visibility. BUG=5469 TEST=look for 'Fixable errors' and 'Flakey errors' lines in output on buildbot; verify counts from the lines output just before them Review URL: http://codereview.chromium.org/17304 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7814 0039d316-1c4b-4281-b951-d872f2087c98