| 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'conditions': [ | 7 'conditions': [ |
| 8 ['sysroot!=""', { | 8 ['sysroot!=""', { |
| 9 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"', | 9 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"', |
| 10 }, { | 10 }, { |
| 11 'pkg-config': 'pkg-config' | 11 'pkg-config': 'pkg-config' |
| 12 }], | 12 }], |
| 13 ], | 13 ], |
| 14 | 14 |
| 15 'linux_link_libgps%': 0, | 15 'linux_link_libgps%': 0, |
| 16 'linux_link_libpci%': 0, | 16 'linux_link_libpci%': 0, |
| 17 'linux_link_libspeechd%': 0, | 17 'linux_link_libspeechd%': 0, |
| 18 'linux_link_libbrlapi%': 0, |
| 18 }, | 19 }, |
| 19 'conditions': [ | 20 'conditions': [ |
| 20 [ 'os_posix==1 and OS!="mac"', { | 21 [ 'os_posix==1 and OS!="mac"', { |
| 21 'variables': { | 22 'variables': { |
| 22 # We use our own copy of libssl3, although we still need to link against | 23 # We use our own copy of libssl3, although we still need to link against |
| 23 # the rest of NSS. | 24 # the rest of NSS. |
| 24 'use_system_ssl%': 0, | 25 'use_system_ssl%': 0, |
| 25 }, | 26 }, |
| 26 }, { | 27 }, { |
| 27 'variables': { | 28 'variables': { |
| (...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 'spd_set_synthesis_voice', | 533 'spd_set_synthesis_voice', |
| 533 'spd_list_modules', | 534 'spd_list_modules', |
| 534 'spd_set_output_module', | 535 'spd_set_output_module', |
| 535 ], | 536 ], |
| 536 'message': 'Generating libspeechd library loader.', | 537 'message': 'Generating libspeechd library loader.', |
| 537 'process_outputs_as_sources': 1, | 538 'process_outputs_as_sources': 1, |
| 538 }, | 539 }, |
| 539 ], | 540 ], |
| 540 }, | 541 }, |
| 541 { | 542 { |
| 543 'target_name': 'libbrlapi', |
| 544 'type': 'static_library', |
| 545 'dependencies': [ |
| 546 '../../base/base.gyp:base', |
| 547 ], |
| 548 'direct_dependent_settings': { |
| 549 'include_dirs': [ |
| 550 '<(SHARED_INTERMEDIATE_DIR)', |
| 551 ], |
| 552 'conditions': [ |
| 553 ['linux_link_libbrlapi==1', { |
| 554 'link_settings': { |
| 555 'libraries': [ |
| 556 '-lbrlapi', |
| 557 ], |
| 558 } |
| 559 }], |
| 560 ], |
| 561 }, |
| 562 'hard_dependency': 1, |
| 563 'actions': [ |
| 564 { |
| 565 'variables': { |
| 566 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libbrlapi.h'
, |
| 567 'output_cc': '<(INTERMEDIATE_DIR)/libbrlapi_loader.cc', |
| 568 'generator': '../../tools/generate_library_loader/generate_library_l
oader.py', |
| 569 }, |
| 570 'action_name': 'generate_brlapi_loader', |
| 571 'inputs': [ |
| 572 '<(generator)', |
| 573 ], |
| 574 'outputs': [ |
| 575 '<(output_h)', |
| 576 '<(output_cc)', |
| 577 ], |
| 578 'action': ['python', |
| 579 '<(generator)', |
| 580 '--name', 'LibBrlApiLoader', |
| 581 '--output-h', '<(output_h)', |
| 582 '--output-cc', '<(output_cc)', |
| 583 '--header', '<brlapi.h>', |
| 584 '--link-directly=<(linux_link_libbrlapi)', |
| 585 'brlapi_getHandleSize', |
| 586 'brlapi_error_location', |
| 587 'brlapi_expandKeyCode', |
| 588 'brlapi_strerror', |
| 589 'brlapi__acceptKeys', |
| 590 'brlapi__openConnection', |
| 591 'brlapi__closeConnection', |
| 592 'brlapi__getDisplaySize', |
| 593 'brlapi__enterTtyModeWithPath', |
| 594 'brlapi__leaveTtyMode', |
| 595 # TODO: 'brlapi__writeWText', |
| 596 'brlapi__writeDots', |
| 597 'brlapi__writeText', |
| 598 'brlapi__readKey', |
| 599 ], |
| 600 'message': 'Generating libbrlapi library loader.', |
| 601 'process_outputs_as_sources': 1, |
| 602 }, |
| 603 ], |
| 604 }, |
| 605 { |
| 542 'target_name': 'x11', | 606 'target_name': 'x11', |
| 543 'type': 'none', | 607 'type': 'none', |
| 544 'toolsets': ['host', 'target'], | 608 'toolsets': ['host', 'target'], |
| 545 'conditions': [ | 609 'conditions': [ |
| 546 ['_toolset=="target"', { | 610 ['_toolset=="target"', { |
| 547 'direct_dependent_settings': { | 611 'direct_dependent_settings': { |
| 548 'cflags': [ | 612 'cflags': [ |
| 549 '<!@(<(pkg-config) --cflags x11)', | 613 '<!@(<(pkg-config) --cflags x11)', |
| 550 ], | 614 ], |
| 551 }, | 615 }, |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 ], | 897 ], |
| 834 'libraries': [ | 898 'libraries': [ |
| 835 '<!@(<(pkg-config) --libs-only-l libudev)', | 899 '<!@(<(pkg-config) --libs-only-l libudev)', |
| 836 ], | 900 ], |
| 837 }, | 901 }, |
| 838 }], | 902 }], |
| 839 ], | 903 ], |
| 840 }, | 904 }, |
| 841 ], | 905 ], |
| 842 } | 906 } |
| OLD | NEW |