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