OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN: //testing/android/junit:junit_test_support | 8 # GN: //testing/android/junit:junit_test_support |
9 'target_name': 'junit_test_support', | 9 'target_name': 'junit_test_support', |
10 'type': 'none', | 10 'type': 'none', |
11 'dependencies': [ | 11 'dependencies': [ |
12 '../../../third_party/junit/junit.gyp:junit_jar', | 12 '../../../third_party/junit/junit.gyp:junit_jar', |
13 '../../../third_party/mockito/mockito.gyp:mockito_jar', | 13 '../../../third_party/mockito/mockito.gyp:mockito_jar', |
14 '../../../third_party/robolectric/robolectric.gyp:robolectric_jar', | |
mikecase (-- gone --)
2015/03/11 18:44:27
Just to clarify. I need to add this as a dependenc
| |
14 ], | 15 ], |
15 'variables': { | 16 'variables': { |
16 'src_paths': [ | 17 'src_paths': [ |
17 'java/src', | 18 'java/src', |
18 ], | 19 ], |
19 }, | 20 }, |
20 'includes': [ | 21 'includes': [ |
21 '../../../build/host_jar.gypi', | 22 '../../../build/host_jar.gypi', |
22 ], | 23 ], |
23 }, | 24 }, |
24 { | 25 { |
25 # GN: //testing/android/junit:junit_unittests | 26 # GN: //testing/android/junit:junit_unittests |
26 'target_name': 'junit_unit_tests', | 27 'target_name': 'junit_unit_tests', |
27 'type': 'none', | 28 'type': 'none', |
28 'dependencies': [ | 29 'dependencies': [ |
29 'junit_test_support', | 30 'junit_test_support', |
30 ], | 31 ], |
31 'variables': { | 32 'variables': { |
32 'main_class': 'org.chromium.testing.local.JunitTestMain', | 33 'main_class': 'org.chromium.testing.local.JunitTestMain', |
33 'src_paths': [ | 34 'src_paths': [ |
34 'javatests/src', | 35 'javatests/src', |
35 ], | 36 ], |
36 }, | 37 }, |
37 'includes': [ | 38 'includes': [ |
38 '../../../build/host_jar.gypi', | 39 '../../../build/host_jar.gypi', |
39 ], | 40 ], |
40 }, | 41 }, |
41 ], | 42 ], |
42 } | 43 } |
OLD | NEW |