| Index: build/linux/system.gyp
 | 
| diff --git a/build/linux/system.gyp b/build/linux/system.gyp
 | 
| index c81bc353b9f3bad6350b2a026183086d9eb43be2..68e4d36e28a42d63dce74dd860f1215cd1354a71 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"', {
 | 
| @@ -538,6 +539,70 @@
 | 
|        ],
 | 
|      },
 | 
|      {
 | 
| +      'target_name': 'libbrlapi',
 | 
| +      'type': 'static_library',
 | 
| +      'dependencies': [
 | 
| +        '../../base/base.gyp:base',
 | 
| +      ],
 | 
| +      'all_dependent_settings': {
 | 
| +        'include_dirs': [
 | 
| +          '<(SHARED_INTERMEDIATE_DIR)',
 | 
| +        ],
 | 
| +        'defines': [
 | 
| +          'USE_BRLAPI',
 | 
| +        ],
 | 
| +        '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',
 | 
| +                     'brlapi__writeDots',
 | 
| +                     'brlapi__readKey',
 | 
| +          ],
 | 
| +          'message': 'Generating libbrlapi library loader.',
 | 
| +          'process_outputs_as_sources': 1,
 | 
| +        },
 | 
| +      ],
 | 
| +    },
 | 
| +    {
 | 
|        'target_name': 'x11',
 | 
|        'type': 'none',
 | 
|        'toolsets': ['host', 'target'],
 | 
| 
 |