Fix DependencyManager bug.
[chromium-blink-merge.git] / testing / android / native_test / BUILD.gn
blob0e8ffcb581b7f55d904baa0697845278eca51d67
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/android/rules.gni")
7 # GYP: //testing/android/native_test.gyp:native_test_support
8 source_set("native_test_support") {
9   testonly = true
10   sources = [
11     "native_test_launcher.cc",
12     "native_test_launcher.h",
13     "native_test_util.cc",
14     "native_test_util.h",
15   ]
16   deps = [
17     ":native_test_jni_headers",
18     "//base",
19     "//base/test:test_support",
20     "//base/third_party/dynamic_annotations",
21     "//testing/gtest",
22   ]
25 # GYP: //testing/android/native_test.gyp:native_test_native_code
26 source_set("native_test_native_code") {
27   testonly = true
28   sources = [
29     "native_test_jni_onload.cc",
30   ]
31   libs = [ "log" ]
32   deps = [
33     ":native_test_support",
34     "//base",
35   ]
38 # GYP: //testing/android/native_test.gyp:native_test_jni_headers
39 generate_jni("native_test_jni_headers") {
40   sources = [
41     "java/src/org/chromium/native_test/NativeTestActivity.java",
42   ]
43   jni_package = "testing"