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

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

Issue 14296005: Make the build work with speech-dispatcher >= 0.8. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: I am already an AUTHOR now Created 7 years, 8 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
« no previous file with comments | « no previous file | third_party/speech-dispatcher/COPYING » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 }, {
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 }], 473 }],
474 ], 474 ],
475 }, 475 },
476 'hard_dependency': 1, 476 'hard_dependency': 1,
477 'actions': [ 477 'actions': [
478 { 478 {
479 'variables': { 479 'variables': {
480 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libspeechd.h ', 480 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libspeechd.h ',
481 'output_cc': '<(INTERMEDIATE_DIR)/libspeechd_loader.cc', 481 'output_cc': '<(INTERMEDIATE_DIR)/libspeechd_loader.cc',
482 'generator': '../../tools/generate_library_loader/generate_library_l oader.py', 482 'generator': '../../tools/generate_library_loader/generate_library_l oader.py',
483
484 # speech-dispatcher >= 0.8 installs libspeechd.h into
485 # speech-dispatcher/libspeechd.h, whereas speech-dispatcher < 0.8
486 # puts libspeechd.h in the top-level include directory.
487 # Since we need to support both cases for now, we ship a copy of
488 # libspeechd.h in third_party/speech-dispatcher. If the user
489 # prefers to link against the speech-dispatcher directly, the
490 # `libspeechd_h_prefix' variable can be passed to gyp with a value
491 # such as "speech-dispatcher/" that will be prepended to
492 # "libspeechd.h" in the #include directive.
493 # TODO(phaldan.jr): Once we do not need to support
494 # speech-dispatcher < 0.8 we can get rid of all this (including
495 # third_party/speech-dispatcher) and just include
496 # speech-dispatcher/libspeechd.h unconditionally.
497 'libspeechd_h_prefix%': '',
483 }, 498 },
484 'action_name': 'generate_libspeechd_loader', 499 'action_name': 'generate_libspeechd_loader',
485 'inputs': [ 500 'inputs': [
486 '<(generator)', 501 '<(generator)',
487 ], 502 ],
488 'outputs': [ 503 'outputs': [
489 '<(output_h)', 504 '<(output_h)',
490 '<(output_cc)', 505 '<(output_cc)',
491 ], 506 ],
492 'action': ['python', 507 'action': ['python',
493 '<(generator)', 508 '<(generator)',
494 '--name', 'LibSpeechdLoader', 509 '--name', 'LibSpeechdLoader',
495 '--output-h', '<(output_h)', 510 '--output-h', '<(output_h)',
496 '--output-cc', '<(output_cc)', 511 '--output-cc', '<(output_cc)',
497 '--header', '<libspeechd.h>', 512 '--header', '<<(libspeechd_h_prefix)libspeechd.h>',
513 '--bundled-header',
514 '"third_party/speech-dispatcher/libspeechd.h"',
498 '--link-directly=<(linux_link_libspeechd)', 515 '--link-directly=<(linux_link_libspeechd)',
499 'spd_open', 516 'spd_open',
500 'spd_say', 517 'spd_say',
501 'spd_stop', 518 'spd_stop',
502 'spd_close', 519 'spd_close',
503 'spd_set_notification_on', 520 'spd_set_notification_on',
504 'spd_set_voice_rate', 521 'spd_set_voice_rate',
505 'spd_set_voice_pitch', 522 'spd_set_voice_pitch',
506 ], 523 ],
507 'message': 'Generating libspeechd library loader.', 524 'message': 'Generating libspeechd library loader.',
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 ], 834 ],
818 'libraries': [ 835 'libraries': [
819 '<!@(<(pkg-config) --libs-only-l libudev)', 836 '<!@(<(pkg-config) --libs-only-l libudev)',
820 ], 837 ],
821 }, 838 },
822 }], 839 }],
823 ], 840 ],
824 }, 841 },
825 ], 842 ],
826 } 843 }
OLDNEW
« no previous file with comments | « no previous file | third_party/speech-dispatcher/COPYING » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698