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

Side by Side Diff: build/linux/system.gyp

Issue 13355002: Implement chrome.brailleDisplayPrivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 months 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 unified diff | Download patch
OLDNEW
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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 'spd_set_synthesis_voice', 532 'spd_set_synthesis_voice',
532 'spd_list_modules', 533 'spd_list_modules',
533 'spd_set_output_module', 534 'spd_set_output_module',
534 ], 535 ],
535 'message': 'Generating libspeechd library loader.', 536 'message': 'Generating libspeechd library loader.',
536 'process_outputs_as_sources': 1, 537 'process_outputs_as_sources': 1,
537 }, 538 },
538 ], 539 ],
539 }, 540 },
540 { 541 {
542 'target_name': 'libbrlapi',
543 'type': 'static_library',
544 'dependencies': [
545 '../../base/base.gyp:base',
546 ],
547 'all_dependent_settings': {
548 'include_dirs': [
549 '<(SHARED_INTERMEDIATE_DIR)',
550 ],
551 'defines': [
552 'USE_BRLAPI',
553 ],
554 'conditions': [
555 ['linux_link_libbrlapi==1', {
556 'link_settings': {
557 'libraries': [
558 '-lbrlapi',
559 ],
560 }
561 }],
562 ],
563 },
564 'hard_dependency': 1,
565 'actions': [
566 {
567 'variables': {
568 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libbrlapi.h' ,
569 'output_cc': '<(INTERMEDIATE_DIR)/libbrlapi_loader.cc',
570 'generator': '../../tools/generate_library_loader/generate_library_l oader.py',
571 },
572 'action_name': 'generate_brlapi_loader',
573 'inputs': [
574 '<(generator)',
575 ],
576 'outputs': [
577 '<(output_h)',
578 '<(output_cc)',
579 ],
580 'action': ['python',
581 '<(generator)',
582 '--name', 'LibBrlapiLoader',
583 '--output-h', '<(output_h)',
584 '--output-cc', '<(output_cc)',
585 '--header', '<brlapi.h>',
586 '--link-directly=<(linux_link_libbrlapi)',
587 'brlapi_getHandleSize',
588 'brlapi_error_location',
589 'brlapi_expandKeyCode',
590 'brlapi_strerror',
591 'brlapi__acceptKeys',
592 'brlapi__openConnection',
593 'brlapi__closeConnection',
594 'brlapi__getDisplaySize',
595 'brlapi__enterTtyModeWithPath',
596 'brlapi__leaveTtyMode',
597 'brlapi__writeDots',
598 'brlapi__readKey',
599 ],
600 'message': 'Generating libbrlapi library loader.',
601 'process_outputs_as_sources': 1,
602 },
603 ],
604 },
605 {
541 'target_name': 'x11', 606 'target_name': 'x11',
542 'type': 'none', 607 'type': 'none',
543 'toolsets': ['host', 'target'], 608 'toolsets': ['host', 'target'],
544 'conditions': [ 609 'conditions': [
545 ['_toolset=="target"', { 610 ['_toolset=="target"', {
546 'direct_dependent_settings': { 611 'direct_dependent_settings': {
547 'cflags': [ 612 'cflags': [
548 '<!@(<(pkg-config) --cflags x11)', 613 '<!@(<(pkg-config) --cflags x11)',
549 ], 614 ],
550 }, 615 },
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 ], 897 ],
833 'libraries': [ 898 'libraries': [
834 '<!@(<(pkg-config) --libs-only-l libudev)', 899 '<!@(<(pkg-config) --libs-only-l libudev)',
835 ], 900 ],
836 }, 901 },
837 }], 902 }],
838 ], 903 ],
839 }, 904 },
840 ], 905 ],
841 } 906 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698