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

Side by Side Diff: content/content_browser.gypi

Issue 356963003: Introduce enable_web_speech to replace with input_speech (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error Created 6 years, 5 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 | « content/browser/BUILD.gn ('k') | content/content_tests.gypi » ('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 'dependencies': [ 6 'dependencies': [
7 '../base/base.gyp:base_static', 7 '../base/base.gyp:base_static',
8 '../crypto/crypto.gyp:crypto', 8 '../crypto/crypto.gyp:crypto',
9 '../google_apis/google_apis.gyp:google_apis', 9 '../google_apis/google_apis.gyp:google_apis',
10 '../net/net.gyp:net', 10 '../net/net.gyp:net',
(...skipping 1708 matching lines...) Expand 10 before | Expand all | Expand 10 after
1719 '-ljnigraphics', 1719 '-ljnigraphics',
1720 ], 1720 ],
1721 }, 1721 },
1722 'sources/': [ 1722 'sources/': [
1723 ['exclude', '^browser/battery_status/battery_status_manager_default\\.cc $'], 1723 ['exclude', '^browser/battery_status/battery_status_manager_default\\.cc $'],
1724 ['exclude', '^browser/device_sensors/data_fetcher_shared_memory_default\ \.cc$'], 1724 ['exclude', '^browser/device_sensors/data_fetcher_shared_memory_default\ \.cc$'],
1725 ['exclude', '^browser/geolocation/network_location_provider\\.(cc|h)$'], 1725 ['exclude', '^browser/geolocation/network_location_provider\\.(cc|h)$'],
1726 ['exclude', '^browser/geolocation/network_location_request\\.(cc|h)$'], 1726 ['exclude', '^browser/geolocation/network_location_request\\.(cc|h)$'],
1727 ['exclude', '^browser/tracing/trace_uploader\\.(cc|h)$'], 1727 ['exclude', '^browser/tracing/trace_uploader\\.(cc|h)$'],
1728 ['exclude', '^browser/tracing/tracing_ui\\.(cc|h)$'], 1728 ['exclude', '^browser/tracing/tracing_ui\\.(cc|h)$'],
1729 ['exclude', '^browser/speech/'],
1730 ['include', '^browser/speech/speech_recognition_dispatcher_host\\.(cc|h) $'],
1731 ['include', '^browser/speech/speech_recognition_manager_impl\\.(cc|h)$'] ,
1732 ['include', '^browser/speech/speech_recognizer\\.h$'],
1733 ['include', '^browser/speech/speech_recognizer_impl_android\\.(cc|h)$'],
1734 ], 1729 ],
1735 'sources': [ 1730 'sources': [
1736 '<@(android_browser_sources)', 1731 '<@(android_browser_sources)',
1737 ], 1732 ],
1738 'sources!': [ 1733 'sources!': [
1739 'browser/browser_ipc_logging.cc', 1734 'browser/browser_ipc_logging.cc',
1740 'browser/font_list_async.cc', 1735 'browser/font_list_async.cc',
1741 'browser/geolocation/device_data_provider.cc', 1736 'browser/geolocation/device_data_provider.cc',
1742 'browser/geolocation/empty_device_data_provider.cc', 1737 'browser/geolocation/empty_device_data_provider.cc',
1743 'browser/geolocation/wifi_data_provider_common.cc', 1738 'browser/geolocation/wifi_data_provider_common.cc',
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1804 }], 1799 }],
1805 ['enable_plugins==1', { 1800 ['enable_plugins==1', {
1806 'dependencies': [ 1801 'dependencies': [
1807 '../ppapi/ppapi_internal.gyp:ppapi_ipc', 1802 '../ppapi/ppapi_internal.gyp:ppapi_ipc',
1808 '../ppapi/ppapi_internal.gyp:ppapi_shared', 1803 '../ppapi/ppapi_internal.gyp:ppapi_shared',
1809 ], 1804 ],
1810 'sources': [ 1805 'sources': [
1811 '<@(plugin_browser_sources)', 1806 '<@(plugin_browser_sources)',
1812 ], 1807 ],
1813 }], 1808 }],
1814 ['input_speech==1', { 1809 ['enable_web_speech==1', {
1815 'dependencies': [ 1810 'dependencies': [
1816 '../third_party/flac/flac.gyp:libflac', 1811 '../third_party/flac/flac.gyp:libflac',
1817 '../third_party/speex/speex.gyp:libspeex', 1812 '../third_party/speex/speex.gyp:libspeex',
1818 ], 1813 ],
1819 }], 1814 }],
1815 ['enable_web_speech==0 and OS=="android"', {
1816 'sources/': [
1817 ['exclude', '^browser/speech/'],
1818 ['include', '^browser/speech/speech_recognition_dispatcher_host\\.(cc|h) $'],
1819 ['include', '^browser/speech/speech_recognition_manager_impl\\.(cc|h)$'] ,
1820 ['include', '^browser/speech/speech_recognizer\\.h$'],
1821 ['include', '^browser/speech/speech_recognizer_impl_android\\.(cc|h)$'],
1822 ],
1823 }],
1820 ['OS == "win"', { 1824 ['OS == "win"', {
1821 'sources!': [ 1825 'sources!': [
1822 'browser/geolocation/empty_wifi_data_provider.cc', 1826 'browser/geolocation/empty_wifi_data_provider.cc',
1823 ], 1827 ],
1824 }], 1828 }],
1825 ['OS == "linux" and use_dbus==1', { 1829 ['OS == "linux" and use_dbus==1', {
1826 'sources!': [ 1830 'sources!': [
1827 'browser/geolocation/empty_wifi_data_provider.cc', 1831 'browser/geolocation/empty_wifi_data_provider.cc',
1828 ], 1832 ],
1829 'dependencies': [ 1833 'dependencies': [
1830 '../build/linux/system.gyp:dbus', 1834 '../build/linux/system.gyp:dbus',
1831 '../dbus/dbus.gyp:dbus', 1835 '../dbus/dbus.gyp:dbus',
1832 ], 1836 ],
1833 }, { # OS != "linux" or use_dbus==0 1837 }, { # OS != "linux" or use_dbus==0
1834 'sources!': [ 1838 'sources!': [
1835 'browser/geolocation/wifi_data_provider_linux.cc', 1839 'browser/geolocation/wifi_data_provider_linux.cc',
1836 ], 1840 ],
1837 }], 1841 }],
1838 ['enable_browser_cdms==1', { 1842 ['enable_browser_cdms==1', {
1839 'sources': [ 1843 'sources': [
1840 'browser/media/cdm/browser_cdm_manager.cc', 1844 'browser/media/cdm/browser_cdm_manager.cc',
1841 'browser/media/cdm/browser_cdm_manager.h', 1845 'browser/media/cdm/browser_cdm_manager.h',
1842 # This works on Android because enable_browser_cdms==1 on Android. 1846 # This works on Android because enable_browser_cdms==1 on Android.
1843 'browser/media/media_web_contents_observer.cc', 1847 'browser/media/media_web_contents_observer.cc',
1844 'browser/media/media_web_contents_observer.h', 1848 'browser/media/media_web_contents_observer.h',
1845 ], 1849 ],
1846 }], 1850 }],
1847 ], 1851 ],
1848 } 1852 }
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698