blob: 6df999921aa187c32618f98f96594cfc62ad1ebb [file] [log] [blame]
brettwb9447282016-09-01 14:24:39 -07001# Copyright 2016 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
Mike Kleincfc4f442016-10-26 17:19:03 -04006import("core.gni")
7import("effects.gni")
Mike Klein9034b132016-10-26 17:54:36 -04008import("gpu.gni")
Mike Kleineb94e562016-10-26 18:37:24 -04009import("opts.gni")
Mike Klein552cd132016-10-26 13:32:07 -040010import("pdf.gni")
Mike Kleina5fb6152016-10-26 14:17:04 -040011import("sksl.gni")
12import("utils.gni")
Hal Canary6ad3d2f2016-12-20 16:15:56 -050013import("xps.gni")
brettwb9447282016-09-01 14:24:39 -070014
Mike Kleineb94e562016-10-26 18:37:24 -040015skia_opts = {
16 none_sources = none
17 armv7_sources = armv7
18 neon_sources = neon
19 arm64_sources = arm64
20 crc32_sources = crc32
Mike Klein40a82bd2016-12-20 17:34:29 -050021 mips_dsp_sources = none # Chrome's src/skia/BUILD.gn uses this.
Mike Kleineb94e562016-10-26 18:37:24 -040022 sse2_sources = sse2
23 ssse3_sources = ssse3
24 sse41_sources = sse41
25 sse42_sources = sse42
26 avx_sources = avx
Mike Klein1b9b7d52018-02-27 10:37:40 -050027 hsw_sources = hsw
Mike Kleineb94e562016-10-26 18:37:24 -040028}
29
brettwb9447282016-09-01 14:24:39 -070030# Skia Chromium defines. These flags will be defined in chromium If these
31# become 'permanent', they should be moved into Chrome's skia build file.
32skia_for_chromium_defines = [ "SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS" ]