-
Notifications
You must be signed in to change notification settings - Fork 30.3k
Expand file tree
/
Copy pathBUILD.gn
More file actions
59 lines (44 loc) · 1.08 KB
/
BUILD.gn
File metadata and controls
59 lines (44 loc) · 1.08 KB
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
# 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.
import("//flutter/common/config.gni")
import("//flutter/testing/testing.gni")
source_set("jni") {
sources = [
"platform_view_android_jni.cc",
"platform_view_android_jni.h",
]
public_configs = [ "//flutter:config" ]
deps = [
"//flutter/flow",
"//flutter/fml",
"//flutter/lib/ui",
"//flutter/shell/platform/android/surface:native_window",
"//flutter/skia",
]
}
source_set("jni_mock") {
testonly = true
sources = [ "jni_mock.h" ]
public_configs = [ "//flutter:config" ]
deps = [ ":jni" ]
}
source_set("mock_jni_env") {
testonly = true
sources = [ "mock_jni_env.h" ]
public_configs = [ "//flutter:config" ]
}
test_fixtures("jni_fixtures") {
fixtures = []
}
executable("jni_unittests") {
testonly = true
sources = [ "jni_mock_unittest.cc" ]
deps = [
":jni_fixtures",
":jni_mock",
"//flutter/testing",
"//flutter/testing:dart",
"//flutter/testing:skia",
]
}