Home | History | Annotate | Download | only in gyp
      1 # Copyright 2015 Google Inc.
      2 #
      3 # Use of this source code is governed by a BSD-style license that can be
      4 # found in the LICENSE file.
      5 # This GYP file stores the dependencies necessary to build Skia on the Android
      6 # platform. The OS doesn't provide many stable libraries as part of the
      7 # distribution so we have to build a few of them ourselves.
      8 #
      9 # We tried adding this gyp file to the android directory at the root of
     10 # the Skia repo, but that resulted in the generated makefiles being created
     11 # outside of the intended output directory. So to avoid this we created a simple
     12 # shim here that includes the android_system.gypi file.  The actual dependencies
     13 # are defined and maintained in that gypi file.
     14 #
     15 # Also this assumes that the android directory is a sibling to the directory
     16 # that contains your primary Skia checkout. If it is not then you must manually
     17 # edit the includes below to specify the actual location of the android.gypi.
     18 # This is due to the fact that we cannot use variables in an includes as the
     19 # variable expansion step for gyp happens after the includes are processed.
     20 {
     21   'includes': [
     22     '../platform_tools/android/gyp/skia_android.gypi',
     23   ],
     24 }
     25