blob: 73cab0833c19219637a62f580a5dbeea56797da3 [file] [log] [blame]
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("surface") {
sources = [
"android_surface.cc",
"android_surface.h",
"snapshot_surface_producer.cc",
"snapshot_surface_producer.h",
]
public_configs = [ "//flutter:config" ]
deps = [
":native_window",
"//flutter/flow",
"//flutter/fml",
"//flutter/shell/common",
"//flutter/shell/platform/android/context",
"//flutter/shell/platform/android/jni",
"//third_party/skia",
]
}
source_set("native_window") {
sources = [
"android_native_window.cc",
"android_native_window.h",
]
public_configs = [ "//flutter:config" ]
deps = [
"//flutter/fml",
"//third_party/skia",
]
}
source_set("surface_mock") {
testonly = true
sources = [
"android_surface_mock.cc",
"android_surface_mock.h",
]
public_configs = [ "//flutter:config" ]
deps = [
":surface",
"//flutter/shell/gpu:gpu_surface_gl",
"//third_party/googletest:gmock",
"//third_party/googletest:gtest",
"//third_party/skia",
]
}