forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.gn
62 lines (55 loc) · 1.53 KB
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//mojo/public/mojo_application.gni")
source_set("gpu") {
sources = [
"gl_context.cc",
"gl_context.h",
"gl_context_owner.cc",
"gl_context_owner.h",
"gl_texture.cc",
"gl_texture.h",
"texture_cache.cc",
"texture_cache.h",
"texture_uploader.cc",
"texture_uploader.h",
]
deps = [
"//base",
"//mojo/environment:chromium",
"//mojo/public/c/gpu",
"//mojo/public/c/gpu:gpu_onscreen",
"//mojo/public/c/system",
"//mojo/public/cpp/application",
"//mojo/public/cpp/bindings",
"//mojo/public/cpp/environment",
"//mojo/public/cpp/system",
"//mojo/public/cpp/utility",
"//mojo/public/interfaces/application",
"//mojo/services/geometry/cpp",
"//mojo/services/geometry/interfaces",
"//mojo/services/gpu/interfaces",
"//mojo/services/surfaces/cpp",
"//mojo/services/surfaces/interfaces",
"//mojo/services/surfaces/interfaces:surface_id",
]
}
mojo_native_application("apptests") {
output_name = "texture_apptests"
testonly = true
sources = [
"texture_cache_unittest.cc",
"texture_uploader_unittest.cc",
]
deps = [
":gpu",
"//base",
"//mojo/application",
"//mojo/application:test_support",
"//mojo/public/cpp/bindings:callback",
"//mojo/services/geometry/interfaces",
"//mojo/services/surfaces/interfaces:surface_id",
"//testing/gtest",
]
}