Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Side by Side Diff: testing/android/native_test/BUILD.gn

Issue 1143903002: [Android] Refactor the native test wrappers. (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « testing/android/native_test.gyp ('k') | testing/android/native_test/java/AndroidManifest.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 6
7 # GYP: //testing/android/native_test.gyp:native_test_native_code 7 # GYP: //testing/android/native_test.gyp:native_test_support
8 source_set("native_test_native_code") { 8 source_set("native_test_support") {
9 testonly = true 9 testonly = true
10 sources = [ 10 sources = [
11 "native_test_jni_onload.cc",
12 "native_test_launcher.cc", 11 "native_test_launcher.cc",
13 "native_test_launcher.h", 12 "native_test_launcher.h",
13 "native_test_util.cc",
14 "native_test_util.h",
14 ] 15 ]
15 libs = [ "log" ]
16 deps = [ 16 deps = [
17 ":native_test_jni_headers", 17 ":native_test_jni_headers",
18 ":native_test_util",
19 "//base", 18 "//base",
20 "//base/test:test_support", 19 "//base/test:test_support",
21 "//base/third_party/dynamic_annotations", 20 "//base/third_party/dynamic_annotations",
22 "//testing/gtest", 21 "//testing/gtest",
23 ] 22 ]
24 } 23 }
25 24
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 ]
36 }
37
26 # GYP: //testing/android/native_test.gyp:native_test_jni_headers 38 # GYP: //testing/android/native_test.gyp:native_test_jni_headers
27 generate_jni("native_test_jni_headers") { 39 generate_jni("native_test_jni_headers") {
28 sources = [ 40 sources = [
29 "java/src/org/chromium/native_test/NativeTestActivity.java", 41 "java/src/org/chromium/native_test/NativeTestActivity.java",
30 ] 42 ]
31 jni_package = "testing" 43 jni_package = "testing"
32 } 44 }
33
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 ]
43 }
OLDNEW
« no previous file with comments | « testing/android/native_test.gyp ('k') | testing/android/native_test/java/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698