blob: 5df47fd2bd1f9ca7ebbb61806d51b9378769afe5 (
plain)
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
|
# 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("//build/config/android/rules.gni")
# GYP: //testing/android/native_test.gyp:native_test_native_code
source_set("native_test_native_code") {
testonly = true
sources = [
"native_test_jni_onload.cc",
"native_test_launcher.cc",
"native_test_launcher.h",
]
libs = [ "log" ]
deps = [
":native_test_jni_headers",
":native_test_util",
"//base",
"//base/test:test_support",
"//base/third_party/dynamic_annotations",
"//testing/gtest",
]
}
# GYP: //testing/android/native_test.gyp:native_test_jni_headers
generate_jni("native_test_jni_headers") {
sources = [
"java/src/org/chromium/native_test/NativeTestActivity.java",
]
jni_package = "testing"
}
# GYP: //testing/android/native_test.gyp:native_test_util
source_set("native_test_util") {
sources = [
"native_test_util.cc",
"native_test_util.h",
]
deps = [
"//base",
]
}
|