aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools
diff options
context:
space:
mode:
authorGravatar djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-03 14:51:14 +0000
committerGravatar djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-03 14:51:14 +0000
commitecde97ef4890920b6e618ba42b76daf87708785d (patch)
treebe6f2e743c015f7579a705203090d17ed69b6740 /platform_tools
parent2897931e8714dee0d69670d15a7560c5038c33b5 (diff)
yet another build fix for skia_launcher
R=borenet@google.com Review URL: https://codereview.chromium.org/15969009 git-svn-id: http://skia.googlecode.com/svn/trunk@9402 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'platform_tools')
-rw-r--r--platform_tools/android/launcher/skia_launcher.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform_tools/android/launcher/skia_launcher.cpp b/platform_tools/android/launcher/skia_launcher.cpp
index 16f4b3d7a8..b2996f84ca 100644
--- a/platform_tools/android/launcher/skia_launcher.cpp
+++ b/platform_tools/android/launcher/skia_launcher.cpp
@@ -34,7 +34,7 @@ void* load_library(const char* appLocation, const char* libraryName)
char libraryLocation[100];
sprintf(libraryLocation, "%s/lib/lib%s.so", appLocation, libraryName);
if (!file_exists(libraryLocation)) {
- printf("ERROR: Unable to find the appropriate library in the Skia App.\n");
+ printf("ERROR: Unable to find the '%s' library in the Skia App.\n", libraryName);
printf("ERROR: Did you provide the correct program_name?\n");
usage();
return NULL;
@@ -68,7 +68,7 @@ int main(int argc, const char** argv) {
}
// load the local skia shared library
- void* skiaLibrary = load_library(appLocation, "libskia_android.so");
+ void* skiaLibrary = load_library(appLocation, "skia_android");
if (NULL == skiaLibrary)
{
return -1;
@@ -92,7 +92,7 @@ int main(int argc, const char** argv) {
// find the address of the SkPrintToConsole function
void (*app_SkDebugToStdOut)(bool);
- *(void **) (&app_SkDebugToStdOut) = dlsym(appLibrary, "AndroidSkDebugToStdOut");
+ *(void **) (&app_SkDebugToStdOut) = dlsym(skiaLibrary, "AndroidSkDebugToStdOut");
if (app_SkDebugToStdOut) {
(*app_SkDebugToStdOut)(true);