| Index: build/linux/system.gyp
|
| diff --git a/build/linux/system.gyp b/build/linux/system.gyp
|
| index 1db278f2841263367ef895f3fc9f92259621e07e..5f5ba797e3bb8f1a074344ed8a1044b244b5f49f 100644
|
| --- a/build/linux/system.gyp
|
| +++ b/build/linux/system.gyp
|
| @@ -15,6 +15,7 @@
|
| 'linux_link_libgps%': 0,
|
| 'linux_link_libpci%': 0,
|
| 'linux_link_libspeechd%': 0,
|
| + 'linux_link_libbrlapi%': 0,
|
| },
|
| 'conditions': [
|
| [ 'os_posix==1 and OS!="mac"', {
|
| @@ -539,6 +540,69 @@
|
| ],
|
| },
|
| {
|
| + 'target_name': 'libbrlapi',
|
| + 'type': 'static_library',
|
| + 'dependencies': [
|
| + '../../base/base.gyp:base',
|
| + ],
|
| + 'direct_dependent_settings': {
|
| + 'include_dirs': [
|
| + '<(SHARED_INTERMEDIATE_DIR)',
|
| + ],
|
| + 'conditions': [
|
| + ['linux_link_libbrlapi==1', {
|
| + 'link_settings': {
|
| + 'libraries': [
|
| + '-lbrlapi',
|
| + ],
|
| + }
|
| + }],
|
| + ],
|
| + },
|
| + 'hard_dependency': 1,
|
| + 'actions': [
|
| + {
|
| + 'variables': {
|
| + 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libbrlapi.h',
|
| + 'output_cc': '<(INTERMEDIATE_DIR)/libbrlapi_loader.cc',
|
| + 'generator': '../../tools/generate_library_loader/generate_library_loader.py',
|
| + },
|
| + 'action_name': 'generate_brlapi_loader',
|
| + 'inputs': [
|
| + '<(generator)',
|
| + ],
|
| + 'outputs': [
|
| + '<(output_h)',
|
| + '<(output_cc)',
|
| + ],
|
| + 'action': ['python',
|
| + '<(generator)',
|
| + '--name', 'LibBrlApiLoader',
|
| + '--output-h', '<(output_h)',
|
| + '--output-cc', '<(output_cc)',
|
| + '--header', '<brlapi.h>',
|
| + '--link-directly=<(linux_link_libbrlapi)',
|
| + 'brlapi_getHandleSize',
|
| + 'brlapi_error_location',
|
| + 'brlapi_expandKeyCode',
|
| + 'brlapi_strerror',
|
| + 'brlapi__acceptKeys',
|
| + 'brlapi__openConnection',
|
| + 'brlapi__closeConnection',
|
| + 'brlapi__getDisplaySize',
|
| + 'brlapi__enterTtyModeWithPath',
|
| + 'brlapi__leaveTtyMode',
|
| + # TODO: 'brlapi__writeWText',
|
| + 'brlapi__writeDots',
|
| + 'brlapi__writeText',
|
| + 'brlapi__readKey',
|
| + ],
|
| + 'message': 'Generating libbrlapi library loader.',
|
| + 'process_outputs_as_sources': 1,
|
| + },
|
| + ],
|
| + },
|
| + {
|
| 'target_name': 'x11',
|
| 'type': 'none',
|
| 'toolsets': ['host', 'target'],
|
|
|