2 * Copyright 2014 Google Inc.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
10 #include "SkCommandLineFlags.h"
13 DEFINE_string2(resourcePath, i, "resources", "Directory with test resources: images, fonts, etc.");
15 SkString GetResourcePath(const char* resource) {
16 return SkOSPath::Join(FLAGS_resourcePath[0], resource);
19 void SetResourcePath(const char* resource) {
20 FLAGS_resourcePath.set(0, resource);