summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler/cpp_util_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Initial commit of the Dart Chrome Extension APIs generatorssashab@chromium.org2013-02-061-0/+14
| | | | | | | | | | | Modified json_schema_compiler to allow a -l option to specify the language. Also allowed for a -H option to specify a hooks file, which is currently only supported for Dart. Review URL: https://chromiumcodereview.appspot.com/12041098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180845 0039d316-1c4b-4281-b951-d872f2087c98
* Run json_schema_compiler unit tests via a PRESUBMIT check.asargent@chromium.org2012-03-281-0/+1
| | | | | | | | | | | As I noted in the bug, these unit tests had gotten broken by some recent changes because they weren't being run automatically. BUG=120308 TEST=(this is adding a presubmit test) Review URL: https://chromiumcodereview.appspot.com/9865009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129484 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for the "choices" and "any" types to json_schema_compiler, as wellcalamity@chromium.org2012-02-151-4/+4
| | | | | | | | | | | | | | | as miscellaneous improvements to get at least 3 more schema files compiling: windows, tabs, and the in-progress experimental.declarative. For description of the generator, see http://codereview.chromium.org/9114036/ BUG= TEST= Review URL: http://codereview.chromium.org/9309044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122082 0039d316-1c4b-4281-b951-d872f2087c98
* Code generation for extensions apicalamity@chromium.org2012-01-271-0/+16
This is a preliminary code review for a code generator. The tool's purpose is to generate the tedious serialization code that needs to be written when defining a new extensions api. It generates from the json files in chrome/common/extensions/api. As an example usage, chrome/browser/extensions/extension_permissions_api.cc has been changed to use a class generated from permissions.json. The tool has been integrated into the build system and generates compiling and working code (for permissions.json at least) BUG= TEST= Review URL: http://codereview.chromium.org/9114036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119405 0039d316-1c4b-4281-b951-d872f2087c98