1. 24 Feb, 2014 1 commit
    • commit-bot@chromium.org's avatar
      Build Skia for a bare-bones embedded Linux system. · f84722e4
      commit-bot@chromium.org authored
      Motivation:
      
          I have downloaded a barebones Linux system built for 64-bit ARM
          from linaro.org and a ARMv8 Foundation Model from arm.com to run
          it on.  This will let us build and test Skia on ARM64 before we
          aquire hardware to allow that.  This CL introduces the changes to
          the build files necessary to build Skia on a barebones embedded
          Linux system.  I tested it with the aarch64 GCC compiler provided
          by linaro.org.
      
      Changes:
      
          Add a "barelinux" target_os for the DEPS file.  Add an optional
          git download of zlib.
      
          Changes to gyp files: these changes abstract out libpng, libz, and
          giflib so that images.gyp doesn't know whether they are static or
          dynamically linked.  I also add the variables skia_giflib_static,
          skia_libpng_static, skia_zlib_static, and skia_freetype_static,
          all of which default to false but when set to true will override
          the behavior of the giflib, libpng, zlib, and freetype build
          targets to require them to build statically.  Also, the
          skia_no_fontconfig variable turns off use of the fontconfig service.
      
      	Scripts in platform_tools/barelinux/bin:
      
          arm64_download - this script downloads the Linaro's ARMv8 Aarch64
      	toolchain and minimal embedded Linux system as well as ARM's
      	foundation model.  The required files are mirrored on Google
      	Cloud.  The script then starts a emulated Arm64 Linux system in
      	the background.  After the boot is complete, you can SSH into the
      	system at port 8022 via user@localhost.  The SSH key will be
      	downloaded into the working directery as well.
      
      	download_deps - Uses gclient to download Skia's dependencies for a
          bare Linux system (the normal dependecies plus giflib, libpng, and
          zlib.)
      
      	barelinux_make - this script builds a version of skia that does
          not depend on external libraries, perfect for putting in an
          embedded system running Linux.  Assumes you have run download_deps
          first.
      
      To test:
          To build a barelinux target, use the barelinux_make script.
      
          To build for a armv8 system: skia_arch_type=arm arm_neon=0 armv7=1
          armv8=1 arm_thumb=0 skia_arch_width=64 and set the CC and CXX
          variables to point at the cross-compiler downloaded by
          arm64_download.
      
      R=djsollen@google.com, scroggo@google.com, borenet@google.com
      
      Author: halcanary@google.com
      
      Review URL: https://codereview.chromium.org/152513007
      
      git-svn-id: http://skia.googlecode.com/svn/trunk@13570 2bbb7eff-a529-9590-31e7-b0007b416f81
      f84722e4
  2. 05 Feb, 2014 1 commit
  3. 04 Feb, 2014 2 commits
    • scroggo@google.com's avatar
      Gyp file changes for the android framework. · eb629504
      scroggo@google.com authored
      Split off from https://codereview.chromium.org/140503007/.
      
      The eventual goal is to create our Android.mk from gyp. This patch
      adds an option for skia_android_framework with the right settings.
      The follow-up (https://codereview.chromium.org/140503007/) will
      use scripts to create the final makefile.
      
      gyp/android_deps.gyp:
      Use different dependencies for the framework than for building Skia
      normally.
      
      gyp/android_framework_lib.gyp:
      Like skia_lib, specifies the minimum needed for building Skia, in this
      case for the framework.
      
      gyp/common_conditions.gypi:
      Add settings specific to skia_android_framework. In some cases this
      means turning off flags and defines.
      
      gyp/common.gypi
      Turn off SK_DEBUG and SK_DEVELOPER when building for the framework.
      This allows the framework to create a single makefile which can be
      modified to add SK_DEBUG and SK_DEVELOPER as desired.
      
      gyp/common_variables.gypi:
      Add skia_android_framework.
      
      gyp/core.gyp:
      Don't depend on cpufeatures, and add the cutils library for
      skia_android_framework.
      
      gyp/freetype.gyp:
      skia_android_framework-specific options:
      Don't include freetype_static as a dependency.
      Include the proper folders.
      Include the android library.
      
      gyp/images.gyp:
      Don't export libjpeg as a dependency for targets that include images
      for the framework.
      Also reorder image decoders to match the Android order, leaving our
      most commonly used ones last (and therefore first in the chain for
      trying them).
      
      gyp/libwebp.gyp:
      Use the system webp when building for the Android framework. Specify
      the correct settings for the framework.
      
      gyp/opts.gyp:
      Specify a default set of files to compile when there are no possible
      optimizations.
      
      gyp/pdf.gyp:
      Add dependencies for Android framework.
      
      gyp/zlib.gyp:
      Include the zlib folder, and undefine SK_ZLIB_INCLUDE.
      
      BUG=skia:1975
      R=djsollen@google.com
      
      Committed: https://code.google.com/p/skia/source/detail?r=13298
      
      Review URL: https://codereview.chromium.org/153093003
      
      git-svn-id: http://skia.googlecode.com/svn/trunk@13304 2bbb7eff-a529-9590-31e7-b0007b416f81
      eb629504
    • scroggo@google.com's avatar
      Gyp file changes for the android framework. · 1c9bd55e
      scroggo@google.com authored
      Split off from https://codereview.chromium.org/140503007/.
      
      The eventual goal is to create our Android.mk from gyp. This patch
      adds an option for skia_android_framework with the right settings.
      The follow-up (https://codereview.chromium.org/140503007/) will
      use scripts to create the final makefile.
      
      gyp/android_deps.gyp:
      Use different dependencies for the framework than for building Skia
      normally.
      
      gyp/android_framework_lib.gyp:
      Like skia_lib, specifies the minimum needed for building Skia, in this
      case for the framework.
      
      gyp/common_conditions.gypi:
      Add settings specific to skia_android_framework. In some cases this
      means turning off flags and defines.
      
      gyp/common.gypi
      Turn off SK_DEBUG and SK_DEVELOPER when building for the framework.
      This allows the framework to create a single makefile which can be
      modified to add SK_DEBUG and SK_DEVELOPER as desired.
      
      gyp/common_variables.gypi:
      Add skia_android_framework.
      
      gyp/core.gyp:
      Don't depend on cpufeatures, and add the cutils library for
      skia_android_framework.
      
      gyp/freetype.gyp:
      skia_android_framework-specific options:
      Don't include freetype_static as a dependency.
      Include the proper folders.
      Include the android library.
      
      gyp/images.gyp:
      Don't export libjpeg as a dependency for targets that include images
      for the framework.
      Also reorder image decoders to match the Android order, leaving our
      most commonly used ones last (and therefore first in the chain for
      trying them).
      
      gyp/libwebp.gyp:
      Use the system webp when building for the Android framework. Specify
      the correct settings for the framework.
      
      gyp/opts.gyp:
      Specify a default set of files to compile when there are no possible
      optimizations.
      
      gyp/pdf.gyp:
      Add dependencies for Android framework.
      
      gyp/zlib.gyp:
      Include the zlib folder, and undefine SK_ZLIB_INCLUDE.
      
      BUG=skia:1975
      R=djsollen@google.com
      
      Review URL: https://codereview.chromium.org/153093003
      
      git-svn-id: http://skia.googlecode.com/svn/trunk@13298 2bbb7eff-a529-9590-31e7-b0007b416f81
      1c9bd55e
  4. 21 Jan, 2014 1 commit
  5. 16 Jan, 2014 1 commit
  6. 02 Dec, 2013 1 commit
  7. 13 Nov, 2013 1 commit
  8. 20 Aug, 2013 3 commits
  9. 26 Jul, 2013 1 commit
  10. 23 Jul, 2013 2 commits
  11. 22 Jul, 2013 1 commit
  12. 23 May, 2013 1 commit
  13. 16 May, 2013 1 commit
  14. 22 Mar, 2013 1 commit
  15. 27 Feb, 2013 1 commit
  16. 14 Feb, 2013 1 commit
  17. 13 Feb, 2013 1 commit
  18. 19 Dec, 2012 1 commit
  19. 05 Dec, 2012 1 commit
  20. 01 Nov, 2012 1 commit
  21. 16 Mar, 2012 1 commit
  22. 06 Feb, 2012 1 commit
    • Derek Sollenberger's avatar
      Skia merge (revision 3022) · 1cab2921
      Derek Sollenberger authored
      This CL has companion changes to account for API updates in...
       (1) frameworks/base
       (2) external/webkit
      
      Change-Id: Ibb989e76e8bd24313849f9631dbef42cdef9eb7d
      1cab2921
  23. 10 Nov, 2011 1 commit