| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
comments on:
http://codereview.chromium.org/5730003/
Also automated handling of long and unsigned long as suggested in review comments for that CL.
BUG=None
TEST=Reran generate_ppapi_size_checks.py; produced the same output.
Review URL: http://codereview.chromium.org/6014007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69950 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://codereview.chromium.org/5730003/
Previously r69187
Check-in was almost clean, but checkdeps.py flagged it as having invalid includes (because the Clang plugins aren't meant to be built as part of Chrome). This adds the magic incantation (a DEPS file... who knew?) to make checkdeps.py ignore it. Tested by running checkdeps.py in my gclient before and after.
BUG=61004,62983
TEST=compile asserts and ppapi/tests/test_struct_sizes.c
Review URL: http://codereview.chromium.org/5927004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69483 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
due to unrecognized Clang includes.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/5703008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69191 0039d316-1c4b-4281-b951-d872f2087c98
|
|
PrintNamesAndSizes
-Find top-level type definitions. Print their kind (struct, enum, etc), typename, size, and location.
FindAffectedInterfaces
-Given some typenames, find other types which are affected if that type changes. This is specifically for determining which interfaces are affected by changing a struct or structs.
Also add a Makefile to build the plugins and a README describing how to run them.
Also add a python script that runs PrintNamesAndSizes with several different targets and generates compile-time checks in to the PPAPI source code to enforce that sizes are consistent, or if they change, we find out quickly.
This was broken off from a bigger CL:
http://codereview.chromium.org/5340003/
BUG=61004,92983
TEST=None
See this CL for an example of what these plugins helped me do:
http://codereview.chromium.org/5674004
Review URL: http://codereview.chromium.org/5730003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69187 0039d316-1c4b-4281-b951-d872f2087c98
|