summaryrefslogtreecommitdiff
path: root/chromium/testing/android/junit/junit_test.gyp
blob: 8e726a9af37659ebf0f8d3c10874fcae0e415248 (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
# 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',
      ],
      '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',
        ],
      },
      'includes': [
        '../../../build/host_jar.gypi',
      ],
    },
  ],
}