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 'target_name': 'native_test_native_code', | 11 'target_name': 'native_test_native_code', |
11 'message': 'building native pieces of native test package', | 12 'message': 'building native pieces of native test package', |
12 'type': 'static_library', | 13 'type': 'static_library', |
13 'sources': [ | 14 'sources': [ |
14 'native_test_launcher.cc', | 15 'native_test_launcher.cc', |
15 ], | 16 ], |
16 'direct_dependent_settings': { | 17 'direct_dependent_settings': { |
17 'ldflags!': [ | 18 'ldflags!': [ |
18 # JNI_OnLoad is implemented in a .a and we need to | 19 # JNI_OnLoad is implemented in a .a and we need to |
19 # re-export in the .so. | 20 # re-export in the .so. |
20 '-Wl,--exclude-libs=ALL', | 21 '-Wl,--exclude-libs=ALL', |
21 ], | 22 ], |
22 }, | 23 }, |
23 'dependencies': [ | 24 'dependencies': [ |
24 '../../base/base.gyp:base', | 25 '../../base/base.gyp:base', |
25 '../../base/base.gyp:test_support_base', | 26 '../../base/base.gyp:test_support_base', |
26 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:
dynamic_annotations', | 27 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:
dynamic_annotations', |
27 '../gtest.gyp:gtest', | 28 '../gtest.gyp:gtest', |
28 'native_test_jni_headers', | 29 'native_test_jni_headers', |
29 'native_test_util', | 30 'native_test_util', |
30 ], | 31 ], |
31 }, | 32 }, |
32 { | 33 { |
| 34 # GN: //testing/android:native_test_jni_headers |
33 'target_name': 'native_test_jni_headers', | 35 'target_name': 'native_test_jni_headers', |
34 'type': 'none', | 36 'type': 'none', |
35 'sources': [ | 37 'sources': [ |
36 'java/src/org/chromium/native_test/ChromeNativeTestActivity.java' | 38 'java/src/org/chromium/native_test/ChromeNativeTestActivity.java' |
37 ], | 39 ], |
38 'variables': { | 40 'variables': { |
39 'jni_gen_package': 'testing', | 41 'jni_gen_package': 'testing', |
40 }, | 42 }, |
41 'includes': [ '../../build/jni_generator.gypi' ], | 43 'includes': [ '../../build/jni_generator.gypi' ], |
42 }, | 44 }, |
43 { | 45 { |
| 46 # GN: //testing/android:native_test_util |
44 'target_name': 'native_test_util', | 47 'target_name': 'native_test_util', |
45 'type': 'static_library', | 48 'type': 'static_library', |
46 'sources': [ | 49 'sources': [ |
47 'native_test_util.cc', | 50 'native_test_util.cc', |
48 'native_test_util.h', | 51 'native_test_util.h', |
49 ], | 52 ], |
50 'dependencies': [ | 53 'dependencies': [ |
51 '../../base/base.gyp:base', | 54 '../../base/base.gyp:base', |
52 ], | 55 ], |
53 }, | 56 }, |
54 ], | 57 ], |
55 }] | 58 }] |
56 ], | 59 ], |
57 } | 60 } |
OLD | NEW |