diff options
author | djsollen <djsollen@google.com> | 2016-04-27 13:37:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-27 13:37:23 -0700 |
commit | 48d6f88479e72efaf9b9d8f9c0769acb1ba773db (patch) | |
tree | f18ff1170d5b1ded3c666cd550f58b9a803f026a /site/dev | |
parent | 2f1c42e8448bbbadeb3df1c626faa90aa33f8907 (diff) |
Repurpose Release_Developer BUILDTYPE and remove SK_DEVELOPER.
The Release_Developer build type is now used to build Skia with
release level optimizations but still enable SK_DEBUG. This in turn
means that SkASSERTS and SkRTConf are available in this mode.
Further we can then remove SK_DEVELOPER as a define as it is true
iff SK_DEBUG is true.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1927583002
DOCS_PREVIEW= https://skia.org/?cl=1927583002
Review-Url: https://codereview.chromium.org/1927583002
Diffstat (limited to 'site/dev')
-rw-r--r-- | site/dev/runtime/index.md | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/site/dev/runtime/index.md b/site/dev/runtime/index.md index b7e656b29f..7c8246d23f 100644 --- a/site/dev/runtime/index.md +++ b/site/dev/runtime/index.md @@ -152,11 +152,10 @@ options. ## Are these things enabled all the time? -In `Debug` builds, yes. `Release` builds disable runtime configuration by -default, but it is still useful to be able to tweak certain algorithm parameters -at runtime to do scripted performance studies. Therefore, a third build type, -`Release_Developer` has been added. This build type has exactly the same build -flags as `Release`, except it re-enables all runtime configuration behavior. +No, they are only enabled in builds where SK_DEBUG is defined. This includes both +`Debug` and `Release_Developer` gyp BUILDTYPES. The `Release_Developer` build type +has exactly the same build flags as `Release`, except it re-enables SK_DEBUG, which +in turn enables runtime configuration behavior. Specifically: <!--?prettify?--> @@ -180,7 +179,3 @@ Runtime configuration variables of type `char \* ` cannot currently have spaces in them. Runtime variables are only fully supported for `int`, `unsigned int`, `float`, `double`, `bool`, and `char \*`. - -## Questions? Bugs? Improvements? - -Feel free to send feedback on this system to Greg Humphreys \(humper@google\.com\) |