diff options
author | dtrainor@chromium.org <dtrainor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-14 05:58:11 +0000 |
---|---|---|
committer | dtrainor@chromium.org <dtrainor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-14 05:58:11 +0000 |
commit | 4ab5ddbccf7ddcf09526cc9e6ef71efc5b3e7b99 (patch) | |
tree | b279d3c865030a9d23ca1ff6f970673c71a88656 /third_party/eyesfree/eyesfree.gyp | |
parent | 49fbf0cfadc0e7adcb4081a0e3878a6ff07640be (diff) | |
download | chromium_src-4ab5ddbccf7ddcf09526cc9e6ef71efc5b3e7b99.zip chromium_src-4ab5ddbccf7ddcf09526cc9e6ef71efc5b3e7b99.tar.gz chromium_src-4ab5ddbccf7ddcf09526cc9e6ef71efc5b3e7b99.tar.bz2 |
Initial braille support
Connect third_party/eyesfree code to Chrome, allowing accessibility to interact
with a braille keyboard.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11365055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173099 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/eyesfree/eyesfree.gyp')
-rw-r--r-- | third_party/eyesfree/eyesfree.gyp | 62 |
1 files changed, 36 insertions, 26 deletions
diff --git a/third_party/eyesfree/eyesfree.gyp b/third_party/eyesfree/eyesfree.gyp index a98b55f..956737d 100644 --- a/third_party/eyesfree/eyesfree.gyp +++ b/third_party/eyesfree/eyesfree.gyp @@ -2,32 +2,42 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { - 'targets': [ - { - 'target_name': 'eyesfree_java', - 'type': 'none', - 'dependencies': [ - 'eyesfree_aidl', + 'conditions': [ + ['OS == "android"', { + '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/BrailleDisplayProperties.aidl', + 'src/android/java/src/com/googlecode/eyesfree/braille/display/BrailleInputEvent.aidl', + '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/selfbraille/WriteData.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' ], + }, ], - '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': 'android/java/src', - }, - 'sources': [ - 'src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.aidl', - 'src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/WriteData.aidl', - ], - 'includes': [ '../../build/java_aidl.gypi' ], - }, + }], ], } |