• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2013 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5
6# This gypi file contains the shim header generation and other settings to use
7# the system version of skia on Android.
8{
9  'direct_dependent_settings': {
10    # This makes the Android build system set the include path appropriately.
11    'libraries': [ '-lskia' ],
12    # Some Chrome code uses non-public header files (http://crbug.com/274425),
13    # so we need to add this include path for now to make it build. The system
14    # version of skia is already required to be the same as the chromium version
15    # so using the bundled headers shouldn't break anything.
16    'include_dirs': [
17      '../third_party/skia/src/core',
18    ],
19  },
20  'link_settings': {
21    # This actually causes the final binary to be linked against skia.
22    'libraries': [ '-lskia' ],
23  },
24  'variables': {
25    'headers_root_path': '../third_party/skia/include',
26  },
27  'includes': [
28    '../third_party/skia/gyp/public_headers.gypi',
29    '../build/shim_headers.gypi',
30  ],
31}
32