From f29a0c771545d9158f10475690c755a4c00aef0c Mon Sep 17 00:00:00 2001 From: halcanary Date: Tue, 1 Sep 2015 13:44:22 -0700 Subject: Experimental: fix document NOTRY=true TBR= Review URL: https://codereview.chromium.org/1324043002 --- experimental/c-api-example/c.md | 36 ------------------------------------ 1 file changed, 36 deletions(-) (limited to 'experimental/c-api-example') diff --git a/experimental/c-api-example/c.md b/experimental/c-api-example/c.md index 4566b94a4c..89ad577bb4 100644 --- a/experimental/c-api-example/c.md +++ b/experimental/c-api-example/c.md @@ -103,42 +103,6 @@ Here is an example program that uses the C api. To try it out, get the file - - - git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git' - export PATH="$PWD/depot_tools:$PATH" - git clone 'https://skia.googlesource.com/skia' - skia/tools/install_dependencies.sh - SKIA_DIR="$PWD/skia" - -2. Compile Skia as a shared library: - - - - GYP_DEFINES=skia_shared_lib=1 "$SKIA_DIR"/bin/sync-and-gyp - ninja -C "$SKIA_DIR/out/Release" skia_lib - -3. Compile, link, and run the example program: - - - - cd [Wherever you want the example] - cp "$SKIA_DIR/experimental/c-api-example/skia-c-example.c" . - cc -c -I "$SKIA_DIR/include/c" skia-c-example.c -o skia-c-example.o - cc skia-c-example.o -L "$SKIA_DIR/out/Release/lib" -lskia -o skia-c-example - LD_LIBRARY_PATH="$SKIA_DIR/out/Release/lib" ./skia-c-example - xdg-open skia-c-example.png ---> - Cmake example ------------- -- cgit v1.2.3