aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/user/quick
Commit message (Collapse)AuthorAge
* Start updating iOS docs.Gravatar Mike Klein2017-02-06
| | | | | | | | | | | | This removes the docs for the old GYP-based local development and replaces them with ones for GN-based development. I have not yet updated the docs for iOS on the bots... still in flux. Change-Id: I1f9c5c1a3331ae192dc08c614ef7da26924f808e Reviewed-on: https://skia-review.googlesource.com/8002 Reviewed-by: Stephan Altmueller <stephana@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
* bin/sync : call tools/git-sync-deps nowGravatar Hal Canary2017-01-27
| | | | | | | | | | Also, update some docs. NOTRY=true Change-Id: I7ad3375fc1cbf8f71ed42a460ecfe29ef6c1d85e Reviewed-on: https://skia-review.googlesource.com/7657 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* Add indexfile to obsolute quickstart sectionGravatar stephana2016-11-05
| | | | | | | | | BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2477153002 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=2477153002 Review-Url: https://codereview.chromium.org/2477153002
* Trim down quick start docs for a GN world.Gravatar Mike Klein2016-11-04
| | | | | | | | | | | | | BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4431 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=4431 Change-Id: I2a10494158e7415ae655baf212a951afd87dcbde Reviewed-on: https://skia-review.googlesource.com/4431 Reviewed-by: Heather Miller <hcm@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
* Add a Windows Android NDK asset.Gravatar Mike Klein2016-11-02
| | | | | | | | | | | | | | | We can build for Android from Windows now. I intend to add a bot to keep it that way, just like Build-Mac-Clang-arm64-Debug-GN_Android does for Mac. The Windows Android builder will need this NDK. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4280 DOCS_PREVIEW= https://skia.org/?cl=4280 Change-Id: Ifaeeb9b81822a410bdf79b39c7e66d0765f78e0b Reviewed-on: https://skia-review.googlesource.com/4280 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
* Allow most third_party targets to use system libraries if asked.Gravatar Mike Klein2016-11-01
| | | | | | | | | | | | | | | | | This extends the pattern in freetype2 to expat, icu, libjpeg-turbo, libpng, libwebp, and zlib, and gives all these an arg to control which to use. Homebrew doesn't have dng_sdk, piex, or sftnly, or I'd have done the same for them too. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4260 DOCS_PREVIEW= https://skia.org/?cl=4260 Change-Id: I82e780502bf2217336e791787f172a6fc8f55460 Reviewed-on: https://skia-review.googlesource.com/4260 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Hal Canary <halcanary@google.com>
* Mac GN doc.Gravatar Mike Klein2016-10-25
| | | | | | | | | | | | | BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3906 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=3906 Change-Id: I1ad13dd5b7df3d76f99f11e02f04169c5b37ce95 Reviewed-on: https://skia-review.googlesource.com/3906 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
* update GN docsGravatar Mike Klein2016-10-15
| | | | | | | | | | | GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3425 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=3425 Change-Id: Iafd5a7b9feca6855d595f9ecbc05292a924e00e4 Reviewed-on: https://skia-review.googlesource.com/3425 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
* GN: compiler_prefix -> cc_wrapperGravatar mtklein2016-09-20
| | | | | | | | | | | | | | | | I was a bit mixed up thinking Chrome called this feature compiler_prefix. They actually call it cc_wrapper. So let's switch to their name before we get too used to this. No bots are affected. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2355003002 DOCS_PREVIEW= https://skia.org/?cl=2355003002 NOTREECHECKS=true Review-Url: https://codereview.chromium.org/2355003002
* Flesh out GN/Android run docs.Gravatar mtklein2016-09-16
| | | | | | | | | | | The process is simple enough that it's clearer to see all the steps laid out. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2343263002 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=2343263002 Review-Url: https://codereview.chromium.org/2343263002
* Update GN docs to mention is_official_build and ndk_api.Gravatar mtklein2016-09-16
| | | | | | | | | | | | | is_official_build is the closest approximation to what we'd recommend people ship, and we'll keep tweaking it further toward that goal. I want it to be the first choices people see reading the doc to nudge them to defaulting into that if they don't know better. The familiar old Debug and Release for developers come later. It'd be a fine choice, for instance, for fiddle to build against. I dropped Stripped because that's something is_official_build now does more naturally. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2342333002 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=2342333002 Review-Url: https://codereview.chromium.org/2342333002
* GN: add a helper script for running Android buildsGravatar mtklein2016-09-08
| | | | | | | | | | | | Think of this as the spiritual equivalent of platform_tools/android/bin/android_run_skia, but for GN and easier to type. Cutting down the debug symbols makes Android builds about 1/4 the size. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2323833002 DOCS_PREVIEW= https://skia.org/user/quick/gn?cl=2323833002 Review-Url: https://codereview.chromium.org/2323833002
* Add docs for GN/AndroidGravatar mtklein2016-08-29
| | | | | | | | | | | While I'm at it, add a few more examples of other types of builds you can do. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2289883002 NOTRY=true DOCS_PREVIEW= https://skia.org/user/quick/gn?cl=2289883002 Review-Url: https://codereview.chromium.org/2289883002
* GN: gpu support in toolsGravatar mtklein2016-08-03
| | | | | | | | | | | | | | | | | | If you want to try this out, the DOCS_PREVIEW link is a quickstart. Are the GrGLCreateNativeInteface_* meant to be part of Skia-the-library or just used by testing tools? I've got it written here as tool-only, but we could easily move it to libskia if it's a thing we want to ship. I'm honestly not sure I understand how this linked before without a definition of GrGLCreateNativeInterface(). Or are there two, one real and one no-op default with some sort of weak linking setup? dlopen()? BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2201233003 DOCS_PREVIEW= https://skia.org/user/quick/gn?cl=2201233003 Review-Url: https://codereview.chromium.org/2201233003
* Docs: ooops, debug is the default in GN.Gravatar mtklein2016-07-30
| | | | | | | | | | | BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2195173002 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=2195173002 TBR=jcgregorio@google.com Review-Url: https://codereview.chromium.org/2195173002
* GN: quick docGravatar mtklein2016-07-29
| | | | | | | | | BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2192203002 NOTRY=true DOCS_PREVIEW= https://skia.org/user/quick/gn?cl=2192203002 Review-Url: https://codereview.chromium.org/2192203002
* Fix option name typoGravatar liyuqian2016-07-12
| | | | | | | | | | BUG=skia: TBR=jvanverth@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2143093002 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=2143093002 Review-Url: https://codereview.chromium.org/2143093002
* Update documents/scripts for SampleApp removalGravatar liyuqian2016-07-12
| | | | | | | | BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2140663002 DOCS_PREVIEW= https://skia.org/?cl=2140663002 Review-Url: https://codereview.chromium.org/2140663002
* Update dev docs to reference the new skia debugger (skiaserve)Gravatar pdr2016-07-06
| | | | | | | | | | | | | | | | This patch adds a new markdown file describing the new debugger along with instructions on running it locally and a sweet screenshot. The screenshot has been sized to not be clipped when viewed in production. The old documentation for the qt-based debugger has been marked as deprecated and all docs referencing the old debugger have been updated. BUG=skia:5493 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2121673002 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=2121673002 Review-Url: https://codereview.chromium.org/2121673002
* Remove check for cmake in android make script.Gravatar stani2016-06-21
| | | | | | | | | | Update docs explaining how to setup Android SDK. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2084763003 DOCS_PREVIEW= https://skia.org/?cl=2084763003 Review-Url: https://codereview.chromium.org/2084763003
* Update VC++ version in Windows quick start.Gravatar bungeman2016-05-27
| | | | | | | NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=2019093002 Review-Url: https://codereview.chromium.org/2019093002
* Update android docs for how to sync source codeGravatar djsollen2016-04-26
| | | | | | | | GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1921023002 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1921023002 Review URL: https://codereview.chromium.org/1921023002
* Improve Android Quick Start GuideGravatar liyuqian2016-04-25
| | | | | | | | | BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1919973002 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1919973002 Review URL: https://codereview.chromium.org/1919973002
* update site dox - windows prefer msvs-ninja and add vulkanGravatar bsalomon2016-03-10
| | | | | | | | | | GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1785743003 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1785743003 NOTREECHECKS=true NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1785743003
* Fix SampleApp instructions in the Windows quick-startGravatar brianosman2016-02-02
| | | | | | | | | BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1661553002 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1661553002 Review URL: https://codereview.chromium.org/1661553002
* Fix 'debugging on Android' android_gdb_app script.Gravatar aam2015-12-10
| | | | | | | | | | | | 1) com.skia -> com.skia.sample_app 2) pass arguments to android_gdb_app to android_setup.sh so you can build gdbserver binaries for your actual device(rather than default arm64). This allows you to run it like this for example: ./platform_tools/android/bin/android_gdb_app -d nexus_6 BUG=skia: DOCS_PREVIEW= https://skia.org/?cl=1509853006 Review URL: https://codereview.chromium.org/1509853006
* Make building with clang documentation a bit easier to findGravatar kjlubick2015-12-03
| | | | | | | | BUG=skia: NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1495913002 Review URL: https://codereview.chromium.org/1495913002
* Documentation: Further cleanupGravatar halcanary2015-11-16
| | | | | | | | | | | | | | | * /user/download: remove instruction to compile and run skia tests - moved to /user/quick/${OS} * /user/quick/desktop: move Gyp options to a section in the FAQ (distracts from quick start narritive). * /user/tips: reformat, rewrite. NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1443653002 Review URL: https://codereview.chromium.org/1443653002
* Documentation: clean upGravatar halcanary2015-11-13
| | | | | | | | | | | | | | | | | | | | | - /user/quick/desktop to bring together all common information for using Skia on desktop OSes. Remove duplication. - Replace all instances of call ing gyp_skia directly with calling `python bin/sync-and-gyp`. This is more correct on Windows - Remove outdated linux prerequisite packages - Formatting, formatting, formatting. - Note command-line syntax differences in Windows - SampleApp.app is no longer a bundle on MacOS NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1439493003 Review URL: https://codereview.chromium.org/1439493003
* GYP: remove stale skia_scalar gyp variableGravatar Hal Canary2015-11-10
| | | | | | DOCS_PREVIEW= https://skia.org/?cl=1417703013 Review URL: https://codereview.chromium.org/1417703013 .
* Update iOS docsGravatar jvanverth2015-10-15
| | | | | | | | BUG=skia: NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1399533005 Review URL: https://codereview.chromium.org/1399533005
* DOC: Mention install_dependencies in Android quickstartGravatar tomhudson2015-09-17
| | | | | | | | | | Embeds #prerequisites anchor in Linux so we don't duplicate the details. TBR=hcm,jcgregorio NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1342263004 Review URL: https://codereview.chromium.org/1342263004
* Rephrase Windows gyp instructionsGravatar mtklein2015-08-05
| | | | | | | | | | The existing instructions seem misleading. BUG=skia: NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1275753002 Review URL: https://codereview.chromium.org/1275753002
* Remove skia_arch_width, fold into skia_arch_type.Gravatar Brian Salomon2015-07-27
| | | | | | | | | DOCS_PREVIEW= https://skia.org/?cl=1228553010 BUG=skia:4042 R=borenet@google.com, mtklein@google.com Review URL: https://codereview.chromium.org/1228553010
* Update Android Apps to use gradleGravatar djsollen2015-07-24
| | | | | | | | | | | This CL replaces ant with gradle for the task of building APKs. The primary driver of this change is that it now allow us to develop and test our apps using Android Studio. DOCS_PREVIEW= https://skia.org/?cl=1215023017 Committed: https://skia.googlesource.com/skia/+/425535f1626932e4e22f61a2571f9c3c2b1c5977 Review URL: https://codereview.chromium.org/1215023017
* Revert "Update Android Apps to use gradle"Gravatar joshualitt2015-07-23
| | | | | | | | | | | | This reverts commit 425535f1626932e4e22f61a2571f9c3c2b1c5977. NOTRY=true NOTREECHECKS=true TBR=djsollen@google.com BUG=skia: DOCS_PREVIEW= https://skia.org/?cl=1250233002 Review URL: https://codereview.chromium.org/1250233002
* Update Android Apps to use gradleGravatar djsollen2015-07-22
| | | | | | | | | This CL replaces ant with gradle for the task of building APKs. The primary driver of this change is that it now allow us to develop and test our apps using Android Studio. DOCS_PREVIEW= https://skia.org/?cl=1215023017 Review URL: https://codereview.chromium.org/1215023017
* Reenable yasm for Android x86 and x86-64 on Linux hostGravatar msarett2015-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that gyp (kind of) has support for cross compiling with a different host and target. We simply need to specify CC_host and CC_target instead of CC. Making this change allows us to compile yasm on a Linux host for Android. We run into problems on Mac because the linker on a Mac host requires different command line arguments than the linker on the Android target. In looking through the code for gyp itself and speaking to Ben, it doesn't appear to me that gyp supports passing different arguments to host and target linkers. I would imagine that we would have similar problems on Windows. Below is a link to a CL that would fix this issue in gyp. It looks like it has been dropped for a long time. Thanks to Ben for this link! https://chromiumcodereview.appspot.com/10795044/ Also I'm adding a link to the build instructions for Chrome (thanks again Ben). It looks like they only support building for Android from Linux. https://code.google.com/p/chromium/wiki/AndroidBuildInstructions My next steps are: 1) Getting in touch with Torne or someone else with gyp to see if people are aware of this issue or interested in fixing it. 2) Deciding if skia should care about this issue. 3) Deciding if skia should work around this issue. It'd be really great to hear your thoughts on (2) and (3). My first thought is that we shouldn't care because, as long as we always compile the production copy of skia for Android on Linux, we will get the fast code. Is this a valid conclusion? Is there a way to write Android apps on Mac that accidentally use the slower code? If we do care, there are workarounds: For Mac, we can check in a yasm binary - it's a little smaller than the one I am deleting in this CL :-/ For Windows, we *might* be able to use the yasm.exe binary already in externals (we get this from DEPS because this is how chromium uses yasm on Windows). Are there other platforms that we care about? Let me know what you think! BUG=skia:4028 DOCS_PREVIEW= https://skia.org/?cl=1239333002 Review URL: https://codereview.chromium.org/1239333002
* Add android_launch_app script to allow command line options to be passed to ↵Gravatar Derek Sollenberger2015-05-11
| | | | | | | | | | the sampleApp when starting. BUG=skia:3815 DOCS_PREVIEW= https://skia.org/?cl=1136753003 R=bungeman@google.com, tomhudson@google.com Review URL: https://codereview.chromium.org/1136753003
* doc: add quickstart to linux and macosGravatar halcanary2015-04-28
| | | | | | | | | also, better install_deps NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1112663002 Review URL: https://codereview.chromium.org/1112663002
* Remove all code related to NaClGravatar borenet2015-04-02
| | | | | | | BUG=skia:3600 DOCS_PREVIEW= https://skia.org/?cl=1036283002 Review URL: https://codereview.chromium.org/1036283002
* Clean up poppler code.Gravatar mtklein2015-03-11
| | | | | | | | | We're not actually using it. BUG=skia:3362 DOCS_PREVIEW= https://skia.org/?cl=1002493002 Review URL: https://codereview.chromium.org/1002493002
* Doc: user/quick/linux mentions 32-bit compilingGravatar halcanary2015-02-25
| | | | | | NOTRY=true Review URL: https://codereview.chromium.org/952193002
* Update docs with instructions for debugging Android SampleApp.Gravatar djsollen2015-02-10
| | | | Review URL: https://codereview.chromium.org/910173002
* Cleanup the android scripts.Gravatar djsollen2015-02-03
| | | | | | | Rename a few files to make their function clearer. Update other files to remove dead code or improve function. Review URL: https://codereview.chromium.org/865943007
* Fix references to https://sites.google.com/site/skiadocs/.Gravatar Thiago Farina2015-02-03
| | | | | | | | | | Point them to their equivalent in https://skia.org. BUG=None R=hcm@google.com, jcgregorio@google.com NOTRY=true Review URL: https://codereview.chromium.org/856353004
* Add resourcePath to running dm on Android doc.Gravatar bungeman2015-02-02
| | | | | | | | Without specifying the resource path a number of tests and gms do not work properly. The example given in the docs should specify the resource path so that the example run is exemplary. Review URL: https://codereview.chromium.org/898453003
* Add Linux quick start docsGravatar jcgregorio2015-01-08
| | | | | | | | Preview: http://skiadocs.com:8000/user/quick/linux?cl=846523002 BUG=skia: Review URL: https://codereview.chromium.org/846523002
* Adding user doc section and core files for new siteGravatar hcm2015-01-08
- Updated QSGs with relative links to download page, removed outdated and googler-only iOS instructions. - Will add "contributing" page and update project roles link in next batch with developer section Preview link: http://skiadocs.com:8000/user/quick/android?cl=834353003 BUG=skia: Review URL: https://codereview.chromium.org/834353003