brettw | b944728 | 2016-09-01 14:24:39 -0700 | [diff] [blame] | 1 | # 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 Klein | cfc4f44 | 2016-10-26 17:19:03 -0400 | [diff] [blame] | 6 | import("core.gni") |
| 7 | import("effects.gni") |
Mike Klein | 9034b13 | 2016-10-26 17:54:36 -0400 | [diff] [blame] | 8 | import("gpu.gni") |
Mike Klein | eb94e56 | 2016-10-26 18:37:24 -0400 | [diff] [blame] | 9 | import("opts.gni") |
Mike Klein | 552cd13 | 2016-10-26 13:32:07 -0400 | [diff] [blame] | 10 | import("pdf.gni") |
Mike Klein | a5fb615 | 2016-10-26 14:17:04 -0400 | [diff] [blame] | 11 | import("sksl.gni") |
| 12 | import("utils.gni") |
Hal Canary | 6ad3d2f | 2016-12-20 16:15:56 -0500 | [diff] [blame] | 13 | import("xps.gni") |
brettw | b944728 | 2016-09-01 14:24:39 -0700 | [diff] [blame] | 14 | |
Mike Klein | eb94e56 | 2016-10-26 18:37:24 -0400 | [diff] [blame] | 15 | skia_opts = { |
| 16 | none_sources = none |
| 17 | armv7_sources = armv7 |
| 18 | neon_sources = neon |
| 19 | arm64_sources = arm64 |
| 20 | crc32_sources = crc32 |
Mike Klein | 40a82bd | 2016-12-20 17:34:29 -0500 | [diff] [blame] | 21 | mips_dsp_sources = none # Chrome's src/skia/BUILD.gn uses this. |
Mike Klein | eb94e56 | 2016-10-26 18:37:24 -0400 | [diff] [blame] | 22 | sse2_sources = sse2 |
| 23 | ssse3_sources = ssse3 |
| 24 | sse41_sources = sse41 |
| 25 | sse42_sources = sse42 |
| 26 | avx_sources = avx |
Mike Klein | 1b9b7d5 | 2018-02-27 10:37:40 -0500 | [diff] [blame] | 27 | hsw_sources = hsw |
Mike Klein | eb94e56 | 2016-10-26 18:37:24 -0400 | [diff] [blame] | 28 | } |
| 29 | |
brettw | b944728 | 2016-09-01 14:24:39 -0700 | [diff] [blame] | 30 | # 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. |
| 32 | skia_for_chromium_defines = [ "SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS" ] |