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_native_code |
11 'target_name': 'native_test_native_code', | 11 'target_name': 'native_test_native_code', |
12 'message': 'building native pieces of native test package', | 12 'message': 'building native pieces of native test package', |
13 'type': 'static_library', | 13 'type': 'static_library', |
14 'sources': [ | 14 'sources': [ |
15 'native_test_jni_onload.cc', | 15 'native_test/native_test_jni_onload.cc', |
16 'native_test_launcher.cc', | 16 'native_test/native_test_launcher.cc', |
17 'native_test_launcher.h', | 17 'native_test/native_test_launcher.h', |
18 ], | 18 ], |
19 'dependencies': [ | 19 'dependencies': [ |
20 '../../base/base.gyp:base', | 20 '../../base/base.gyp:base', |
21 '../../base/base.gyp:test_support_base', | 21 '../../base/base.gyp:test_support_base', |
22 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:
dynamic_annotations', | 22 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:
dynamic_annotations', |
23 '../gtest.gyp:gtest', | 23 '../gtest.gyp:gtest', |
24 'native_test_jni_headers', | 24 'native_test_jni_headers', |
25 'native_test_util', | 25 'native_test_util', |
26 ], | 26 ], |
27 }, | 27 }, |
28 { | 28 { |
29 # GN: //testing/android:native_test_jni_headers | 29 # GN: //testing/android:native_test_jni_headers |
30 'target_name': 'native_test_jni_headers', | 30 'target_name': 'native_test_jni_headers', |
31 'type': 'none', | 31 'type': 'none', |
32 'sources': [ | 32 'sources': [ |
33 'java/src/org/chromium/native_test/ChromeNativeTestActivity.java' | 33 'native_test/java/src/org/chromium/native_test/ChromeNativeTestActiv
ity.java' |
34 ], | 34 ], |
35 'variables': { | 35 'variables': { |
36 'jni_gen_package': 'testing', | 36 'jni_gen_package': 'testing', |
37 }, | 37 }, |
38 'includes': [ '../../build/jni_generator.gypi' ], | 38 'includes': [ '../../build/jni_generator.gypi' ], |
39 }, | 39 }, |
40 { | 40 { |
41 # GN: //testing/android:native_test_util | 41 # GN: //testing/android:native_test_util |
42 'target_name': 'native_test_util', | 42 'target_name': 'native_test_util', |
43 'type': 'static_library', | 43 'type': 'static_library', |
44 'sources': [ | 44 'sources': [ |
45 'native_test_util.cc', | 45 'native_test/native_test_util.cc', |
46 'native_test_util.h', | 46 'native_test/native_test_util.h', |
47 ], | 47 ], |
48 'dependencies': [ | 48 'dependencies': [ |
49 '../../base/base.gyp:base', | 49 '../../base/base.gyp:base', |
50 ], | 50 ], |
51 }, | 51 }, |
52 ], | 52 ], |
53 }] | 53 }] |
54 ], | 54 ], |
55 } | 55 } |
OLD | NEW |