Home | History | Annotate | Download | only in eyesfree
      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
      3 # found in the LICENSE file.
      4 {
      5   'conditions': [
      6     ['OS == "android" and android_webview_build == 0', {
      7       'targets': [
      8         {
      9           'target_name': 'eyesfree_java',
     10           'type': 'none',
     11           'dependencies': [
     12             'eyesfree_aidl',
     13           ],
     14           'variables': {
     15             'java_in_dir': 'src/android/java',
     16           },
     17           'includes': [ '../../build/java.gypi' ],
     18         },
     19         {
     20           'target_name': 'eyesfree_aidl',
     21           'type': 'none',
     22           'variables': {
     23             'aidl_interface_file': '<(android_sdk)/framework.aidl',
     24             'aidl_import_include': 'src/android/java/src',
     25           },
     26           'sources': [
     27             'src/android/java/src/com/googlecode/eyesfree/braille/display/IBrailleService.aidl',
     28             'src/android/java/src/com/googlecode/eyesfree/braille/display/IBrailleServiceCallback.aidl',
     29             'src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.aidl',
     30             'src/android/java/src/com/googlecode/eyesfree/braille/translate/ITranslatorService.aidl',
     31             'src/android/java/src/com/googlecode/eyesfree/braille/translate/ITranslatorServiceCallback.aidl',
     32           ],
     33           'includes': [ '../../build/java_aidl.gypi' ],
     34         },
     35       ],
     36     }],
     37   ],
     38 }
     39