/*
 * Copyright 2017 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkUserConfigManual_DEFINED
#define SkUserConfigManual_DEFINED
  #define GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"
  #define GR_TEST_UTILS 1
  #define SKIA_DLL
  #define SK_BUILD_FOR_ANDROID_FRAMEWORK
  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)
  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)
  #define SK_USE_FREETYPE_EMBOLDEN

  // Legacy flags
  #define SK_IGNORE_GPU_DITHER
  #define SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS
  #define SK_LEGACY_SWEEP_GRADIENT
  #define SK_SUPPORT_DEPRECATED_CLIPOPS
  #define SK_SUPPORT_LEGACY_BILERP_IGNORING_HACK
  // Needed until we fix https://bug.skia.org/2440
  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG
  #define SK_SUPPORT_LEGACY_DRAWFILTER
  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER
  #define SK_SUPPORT_LEGACY_GRADIENT_DITHERING
  #define SK_SUPPORT_LEGACY_SHADER_ISABITMAP
  #define SK_SUPPORT_LEGACY_TILED_BITMAPS
#endif // SkUserConfigManual_DEFINED


Add file to replace android_framework_defines.gni
Add file to replace android_framework_defines.gni

SkUserConfig.h will continue to be generated by gn_to_bp.py, and it
will include all the #defines that were pulled from our GN files. But it
will also include this new file, SkUserConfigManual.h, which contains
all the #defines that were previously stored in gn_to_bp.py and
android_framework_defines.gni. This allows us

Does not actually change anything until
https://skia-review.googlesource.com/c/22072/ lands. (It still should
not change the build in practice, since this file contains the defines
that are no longer added to SkUserConfig.h.)

Test: No test necessary.
Bug: 63429612
Change-Id: I9f6e85ad6d714c3763136303faf7564c3a9cc933
