| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2012 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 { | |
| 6 'conditions': [ | |
| 7 ['OS=="android"', { | |
| 8 'targets': [ | |
| 9 { | |
| 10 # GN: //testing/android:native_test_jni_headers | |
| 11 'target_name': 'native_test_jni_headers', | |
| 12 'type': 'none', | |
| 13 'sources': [ | |
| 14 'native_test/java/src/org/chromium/native_test/NativeTest.java' | |
| 15 ], | |
| 16 'variables': { | |
| 17 'jni_gen_package': 'testing', | |
| 18 }, | |
| 19 'includes': [ '../../build/jni_generator.gypi' ], | |
| 20 }, | |
| 21 { | |
| 22 # GN: //testing/android:native_test_support | |
| 23 'target_name': 'native_test_support', | |
| 24 'message': 'building native pieces of native test package', | |
| 25 'type': 'static_library', | |
| 26 'sources': [ | |
| 27 'native_test/native_test_launcher.cc', | |
| 28 'native_test/native_test_launcher.h', | |
| 29 'native_test/native_test_util.cc', | |
| 30 'native_test/native_test_util.h', | |
| 31 ], | |
| 32 'dependencies': [ | |
| 33 '../../base/base.gyp:base', | |
| 34 '../../base/base.gyp:test_support_base', | |
| 35 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:
dynamic_annotations', | |
| 36 '../gtest.gyp:gtest', | |
| 37 'native_test_jni_headers', | |
| 38 ], | |
| 39 }, | |
| 40 { | |
| 41 # GN: //testing/android/native_test:native_test_native_code | |
| 42 'target_name': 'native_test_native_code', | |
| 43 'message': 'building JNI onload for native test package', | |
| 44 'type': 'static_library', | |
| 45 'sources': [ | |
| 46 'native_test/native_test_jni_onload.cc', | |
| 47 ], | |
| 48 'dependencies': [ | |
| 49 'native_test_support', | |
| 50 '../../base/base.gyp:base', | |
| 51 ], | |
| 52 }, | |
| 53 { | |
| 54 # GN: //testing/android/native_test:native_test_java | |
| 55 'target_name': 'native_test_java', | |
| 56 'type': 'none', | |
| 57 'dependencies': [ | |
| 58 'appurify_support.gyp:appurify_support_java', | |
| 59 'on_device_instrumentation.gyp:reporter_java', | |
| 60 '../../base/base.gyp:base_native_libraries_gen', | |
| 61 '../../base/base.gyp:base_java', | |
| 62 '../../base/base.gyp:base_java_test_support', | |
| 63 ], | |
| 64 'variables': { | |
| 65 'chromium_code': '1', | |
| 66 'jar_excluded_classes': [ '*/NativeLibraries.class' ], | |
| 67 'java_in_dir': 'native_test/java', | |
| 68 }, | |
| 69 'includes': [ '../../build/java.gypi' ], | |
| 70 }, | |
| 71 ], | |
| 72 }] | |
| 73 ], | |
| 74 } | |
| OLD | NEW |