Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Unified Diff: third_party/eyesfree/eyesfree.gyp

Issue 11365055: Initial braille support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up gyp, add android OS condition Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/android/java/src/org/chromium/content/common/CommandLine.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/eyesfree/eyesfree.gyp
diff --git a/third_party/eyesfree/eyesfree.gyp b/third_party/eyesfree/eyesfree.gyp
index a98b55fe834fda8eeee9d0f656a44b5096f6d2dd..956737db1ed7630f84868c5f62ff14f1cd835248 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' ],
- },
+ }],
],
}
« no previous file with comments | « content/public/android/java/src/org/chromium/content/common/CommandLine.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698