summaryrefslogtreecommitdiffstats
path: root/third_party/eyesfree/eyesfree.gyp
blob: a9b28532c5a334442d10b18a475f0706c5cad8e4 (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
# Copyright (c) 2012 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.
{
  'conditions': [
    ['OS == "android" and android_build_type == 0', {
      'targets': [
        {
          'target_name': 'eyesfree_java',
          'type': 'none',
          'dependencies': [
            'eyesfree_aidl',
          ],
          'variables': {
            'package_name': 'eyesfree',
            'java_in_dir': 'src/android/java',
          },
          'includes': [ '../../build/java.gypi' ],
        },
        {
          'target_name': 'eyesfree_aidl',
          'type': 'none',
          'variables': {
            'package_name': 'eyesfree',
            'aidl_interface_file': '<(android_sdk)/framework.aidl',
            'aidl_import_include': 'src/android/java/src',
          },
          'sources': [
            'src/android/java/src/com/googlecode/eyesfree/braille/display/IBrailleService.aidl',
            'src/android/java/src/com/googlecode/eyesfree/braille/display/IBrailleServiceCallback.aidl',
            'src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.aidl',
            'src/android/java/src/com/googlecode/eyesfree/braille/translate/ITranslatorService.aidl',
            'src/android/java/src/com/googlecode/eyesfree/braille/translate/ITranslatorServiceCallback.aidl',
          ],
          'includes': [ '../../build/java_aidl.gypi' ],
        },
      ],
    }],
  ],
}