OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 { | 4 { |
5 'targets': [ | 5 'conditions': [ |
6 { | 6 ['OS == "android"', { |
7 'target_name': 'eyesfree_java', | 7 'targets': [ |
8 'type': 'none', | 8 { |
9 'dependencies': [ | 9 'target_name': 'eyesfree_java', |
10 'eyesfree_aidl', | 10 'type': 'none', |
| 11 'dependencies': [ |
| 12 'eyesfree_aidl', |
| 13 ], |
| 14 'variables': { |
| 15 'package_name': 'eyesfree', |
| 16 'java_in_dir': 'src/android/java', |
| 17 }, |
| 18 'includes': [ '../../build/java.gypi' ], |
| 19 }, |
| 20 { |
| 21 'target_name': 'eyesfree_aidl', |
| 22 'type': 'none', |
| 23 'variables': { |
| 24 'package_name': 'eyesfree', |
| 25 'aidl_interface_file': '<(android_sdk)/framework.aidl', |
| 26 'aidl_import_include': 'src/android/java/src', |
| 27 }, |
| 28 'sources': [ |
| 29 'src/android/java/src/com/googlecode/eyesfree/braille/display/Braill
eDisplayProperties.aidl', |
| 30 'src/android/java/src/com/googlecode/eyesfree/braille/display/Braill
eInputEvent.aidl', |
| 31 'src/android/java/src/com/googlecode/eyesfree/braille/display/IBrail
leService.aidl', |
| 32 'src/android/java/src/com/googlecode/eyesfree/braille/display/IBrail
leServiceCallback.aidl', |
| 33 'src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/IS
elfBrailleService.aidl', |
| 34 'src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/Wr
iteData.aidl', |
| 35 'src/android/java/src/com/googlecode/eyesfree/braille/translate/ITra
nslatorService.aidl', |
| 36 'src/android/java/src/com/googlecode/eyesfree/braille/translate/ITra
nslatorServiceCallback.aidl', |
| 37 ], |
| 38 'includes': [ '../../build/java_aidl.gypi' ], |
| 39 }, |
11 ], | 40 ], |
12 'variables': { | 41 }], |
13 'package_name': 'eyesfree', | |
14 'java_in_dir': 'src/android/java', | |
15 }, | |
16 'includes': [ '../../build/java.gypi' ], | |
17 }, | |
18 { | |
19 'target_name': 'eyesfree_aidl', | |
20 'type': 'none', | |
21 'variables': { | |
22 'package_name': 'eyesfree', | |
23 'aidl_interface_file': '<(android_sdk)/framework.aidl', | |
24 'aidl_import_include': 'android/java/src', | |
25 }, | |
26 'sources': [ | |
27 'src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/ISelfB
railleService.aidl', | |
28 'src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/WriteD
ata.aidl', | |
29 ], | |
30 'includes': [ '../../build/java_aidl.gypi' ], | |
31 }, | |
32 ], | 42 ], |
33 } | 43 } |
OLD | NEW |