summaryrefslogtreecommitdiff
path: root/chromium/testing/android/junit/junit_test.gyp
blob: 6b9ab7a6eb7572e6bec46f778c1ddce5e311c9d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      # GN: //testing/android/junit:junit_test_support
      'target_name': 'junit_test_support',
      'type': 'none',
      'dependencies': [
        '../../../third_party/junit/junit.gyp:junit_jar',
        '../../../third_party/mockito/mockito.gyp:mockito_jar',
        '../../../third_party/robolectric/robolectric.gyp:robolectric_jar'
      ],
      'variables': {
        'src_paths': [
          'java/src',
        ],
      },
      'includes': [
        '../../../build/host_jar.gypi',
      ],
    },
    {
      # GN: //testing/android/junit:junit_unittests
      'target_name': 'junit_unit_tests',
      'type': 'none',
      'dependencies': [
        'junit_test_support',
      ],
      'variables': {
        'main_class': 'org.chromium.testing.local.JunitTestMain',
        'src_paths': [
          'javatests/src',
        ],
        'wrapper_script_name': 'helper/<(_target_name)',
      },
      'includes': [
        '../../../build/host_jar.gypi',
      ],
    },
  ],
}