OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 import("//build/config/android/rules.gni") |
| 6 |
| 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_launcher.cc" |
| 12 ] |
| 13 deps = [ |
| 14 ":native_test_jni_headers", |
| 15 ":native_test_util", |
| 16 "//base", |
| 17 "//base/test:test_support", |
| 18 "//base/third_party/dynamic_annotations", |
| 19 "//testing/gtest", |
| 20 ] |
| 21 } |
| 22 |
| 23 # GYP: //testing/android/native_test.gyp:native_test_jni_headers |
| 24 generate_jni("native_test_jni_headers") { |
| 25 sources = [ |
| 26 "java/src/org/chromium/native_test/ChromeNativeTestActivity.java", |
| 27 ] |
| 28 jni_package = "testing" |
| 29 } |
| 30 |
| 31 # GYP: //testing/android/native_test.gyp:native_test_util |
| 32 source_set("native_test_util") { |
| 33 sources = [ |
| 34 "native_test_util.cc", |
| 35 "native_test_util.h", |
| 36 ] |
| 37 deps = [ |
| 38 "//base" |
| 39 ] |
| 40 } |
OLD | NEW |