Change the name of SkFlags to SkCommandLineFlags.
This name is more specific to what it actually does.
Also move the code into tools/flags, to (slightly) better organize
the massive tools folder.
Update the programs that use it to use the new names.
No functionality changes.
BUG=https://code.google.com/p/skia/issues/detail?id=1173
Review URL: https://codereview.chromium.org/12440067
git-svn-id: http://skia.googlecode.com/svn/trunk@8304 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/render_pictures_main.cpp b/tools/render_pictures_main.cpp
index 5e0ac99..81fb96c 100644
--- a/tools/render_pictures_main.cpp
+++ b/tools/render_pictures_main.cpp
@@ -8,7 +8,7 @@
#include "CopyTilesRenderer.h"
#include "SkBitmap.h"
#include "SkDevice.h"
-#include "SkFlags.h"
+#include "SkCommandLineFlags.h"
#include "SkGraphics.h"
#include "SkImageDecoder.h"
#include "SkImageEncoder.h"
@@ -274,8 +274,8 @@
int tool_main(int argc, char** argv);
int tool_main(int argc, char** argv) {
- SkFlags::SetUsage("Render .skp files.");
- SkFlags::ParseCommandLine(argc, argv);
+ SkCommandLineFlags::SetUsage("Render .skp files.");
+ SkCommandLineFlags::Parse(argc, argv);
if (FLAGS_r.isEmpty()) {
SkDebugf(".skp files or directories are required.\n");