Home | History | Annotate | Download | only in gn
      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 
      6 import("core.gni")
      7 import("effects.gni")
      8 import("gpu.gni")
      9 import("opts.gni")
     10 import("pdf.gni")
     11 import("sksl.gni")
     12 import("utils.gni")
     13 import("xps.gni")
     14 
     15 skia_opts = {
     16   none_sources = none
     17   armv7_sources = armv7
     18   neon_sources = neon
     19   arm64_sources = arm64
     20   crc32_sources = crc32
     21   mips_dsp_sources = none  # Chrome's src/skia/BUILD.gn uses this.
     22   sse2_sources = sse2
     23   ssse3_sources = ssse3
     24   sse41_sources = sse41
     25   sse42_sources = sse42
     26   avx_sources = avx
     27   hsw_sources = []  # remove after we update Chrome
     28 }
     29 
     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" ]
     33