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