[Android] Move testing/android/ to testing/android/native_test/
[chromium-blink-merge.git] / testing / android / native_test / BUILD.gn
blobe0288f64f3a7e96d41a10c4f4199b15b324f0bb2
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_native_code
8 source_set("native_test_native_code") {
9   testonly = true
10   sources = [
11     "native_test_jni_onload.cc",
12     "native_test_launcher.cc",
13     "native_test_launcher.h",
14   ]
15   libs = [ "log" ]
16   deps = [
17     ":native_test_jni_headers",
18     ":native_test_util",
19     "//base",
20     "//base/test:test_support",
21     "//base/third_party/dynamic_annotations",
22     "//testing/gtest",
23   ]
26 # GYP: //testing/android/native_test.gyp:native_test_jni_headers
27 generate_jni("native_test_jni_headers") {
28   sources = [
29     "java/src/org/chromium/native_test/ChromeNativeTestActivity.java",
30   ]
31   jni_package = "testing"
34 # GYP: //testing/android/native_test.gyp:native_test_util
35 source_set("native_test_util") {
36   sources = [
37     "native_test_util.cc",
38     "native_test_util.h",
39   ]
40   deps = [
41     "//base",
42   ]