Brian Salomon | 0e56e23 | 2020-12-10 15:36:02 -0500 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2020 Google LLC |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #ifndef GrRenderTargetContext_DEFINED |
| 9 | #define GrRenderTargetContext_DEFINED |
| 10 | |
| 11 | #include "include/core/SkTypes.h" |
| 12 | |
| 13 | #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK |
| 14 | |
| 15 | #include "src/gpu/GrSurfaceDrawContext.h" |
| 16 | |
| 17 | // Android Framework is relying on this header existing and the old name |
| 18 | // of GrSurfaceDrawContext. |
| 19 | |
| 20 | using GrRenderTargetContext = GrSurfaceDrawContext; |
| 21 | |
| 22 | #endif |
| 23 | |
| 24 | #endif |