summaryrefslogtreecommitdiff
path: root/chromium/skia/skia_system.gypi
blob: a26bdc0615acaa5c67df913bb6ca206e3488b7d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.


# This gypi file contains the shim header generation and other settings to use
# the system version of skia on Android.
{
  'direct_dependent_settings': {
    # This makes the Android build system set the include path appropriately.
    'libraries': [ '-lskia' ],
    # Some Chrome code uses non-public header files (http://crbug.com/274425),
    # so we need to add this include path for now to make it build. The system
    # version of skia is already required to be the same as the chromium version
    # so using the bundled headers shouldn't break anything.
    'include_dirs': [
      '../third_party/skia/src/core',
    ],
  },
  'link_settings': {
    # This actually causes the final binary to be linked against skia.
    'libraries': [ '-lskia' ],
  },
  'variables': {
    'headers_root_path': '../third_party/skia/include',
  },
  'includes': [
    '../third_party/skia/gyp/public_headers.gypi',
    '../build/shim_headers.gypi',
  ],
}