aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/shared_sources.gni
blob: 648d3ee7a9f0da2fa3155450051d0c664fee4a8f (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
32
33
# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("core.gni")
import("effects.gni")
import("effects_imagefilters.gni")
import("gpu.gni")
import("opts.gni")
import("pdf.gni")
import("sksl.gni")
import("utils.gni")
import("xps.gni")

skia_opts = {
  none_sources = none
  armv7_sources = armv7
  neon_sources = neon
  arm64_sources = arm64
  crc32_sources = crc32
  mips_dsp_sources = none  # Chrome's src/skia/BUILD.gn uses this.
  sse2_sources = sse2
  ssse3_sources = ssse3
  sse41_sources = sse41
  sse42_sources = sse42
  avx_sources = avx
  hsw_sources = hsw
}

# Skia Chromium defines. These flags will be defined in chromium If these
# become 'permanent', they should be moved into Chrome's skia build file.
skia_for_chromium_defines = [ "SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS" ]