| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//media/media_options.gni") | 7 import("//media/media_options.gni") |
| 8 import("//ppapi/features/features.gni") | 8 import("//ppapi/features/features.gni") |
| 9 import("//printing/features/features.gni") | 9 import("//printing/features/features.gni") |
| 10 import("//third_party/WebKit/public/public_features.gni") | 10 import("//third_party/WebKit/public/public_features.gni") |
| (...skipping 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1286 "shared_worker/shared_worker_message_filter.cc", | 1286 "shared_worker/shared_worker_message_filter.cc", |
| 1287 "shared_worker/shared_worker_message_filter.h", | 1287 "shared_worker/shared_worker_message_filter.h", |
| 1288 "shared_worker/shared_worker_service_impl.cc", | 1288 "shared_worker/shared_worker_service_impl.cc", |
| 1289 "shared_worker/shared_worker_service_impl.h", | 1289 "shared_worker/shared_worker_service_impl.h", |
| 1290 "shared_worker/worker_document_set.cc", | 1290 "shared_worker/worker_document_set.cc", |
| 1291 "shared_worker/worker_document_set.h", | 1291 "shared_worker/worker_document_set.h", |
| 1292 "shared_worker/worker_storage_partition.cc", | 1292 "shared_worker/worker_storage_partition.cc", |
| 1293 "shared_worker/worker_storage_partition.h", | 1293 "shared_worker/worker_storage_partition.h", |
| 1294 "site_instance_impl.cc", | 1294 "site_instance_impl.cc", |
| 1295 "site_instance_impl.h", | 1295 "site_instance_impl.h", |
| 1296 "speech/audio_buffer.cc", | |
| 1297 "speech/audio_buffer.h", | |
| 1298 "speech/audio_encoder.cc", | |
| 1299 "speech/audio_encoder.h", | |
| 1300 "speech/chunked_byte_buffer.cc", | |
| 1301 "speech/chunked_byte_buffer.h", | |
| 1302 "speech/endpointer/endpointer.cc", | |
| 1303 "speech/endpointer/endpointer.h", | |
| 1304 "speech/endpointer/energy_endpointer.cc", | |
| 1305 "speech/endpointer/energy_endpointer.h", | |
| 1306 "speech/endpointer/energy_endpointer_params.cc", | |
| 1307 "speech/endpointer/energy_endpointer_params.h", | |
| 1308 "speech/speech_recognition_dispatcher_host.cc", | 1296 "speech/speech_recognition_dispatcher_host.cc", |
| 1309 "speech/speech_recognition_dispatcher_host.h", | 1297 "speech/speech_recognition_dispatcher_host.h", |
| 1310 "speech/speech_recognition_engine.cc", | |
| 1311 "speech/speech_recognition_engine.h", | |
| 1312 "speech/speech_recognition_manager_impl.cc", | 1298 "speech/speech_recognition_manager_impl.cc", |
| 1313 "speech/speech_recognition_manager_impl.h", | 1299 "speech/speech_recognition_manager_impl.h", |
| 1314 "speech/speech_recognizer.h", | 1300 "speech/speech_recognizer.h", |
| 1315 "speech/speech_recognizer_impl.cc", | |
| 1316 "speech/speech_recognizer_impl.h", | |
| 1317 "speech/speech_recognizer_impl_android.cc", | 1301 "speech/speech_recognizer_impl_android.cc", |
| 1318 "speech/speech_recognizer_impl_android.h", | 1302 "speech/speech_recognizer_impl_android.h", |
| 1319 "ssl/ssl_client_auth_handler.cc", | 1303 "ssl/ssl_client_auth_handler.cc", |
| 1320 "ssl/ssl_client_auth_handler.h", | 1304 "ssl/ssl_client_auth_handler.h", |
| 1321 "ssl/ssl_error_handler.cc", | 1305 "ssl/ssl_error_handler.cc", |
| 1322 "ssl/ssl_error_handler.h", | 1306 "ssl/ssl_error_handler.h", |
| 1323 "ssl/ssl_manager.cc", | 1307 "ssl/ssl_manager.cc", |
| 1324 "ssl/ssl_manager.h", | 1308 "ssl/ssl_manager.h", |
| 1325 "startup_task_runner.cc", | 1309 "startup_task_runner.cc", |
| 1326 "startup_task_runner.h", | 1310 "startup_task_runner.h", |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1757 "web_contents/web_contents_view_android.h", | 1741 "web_contents/web_contents_view_android.h", |
| 1758 ] | 1742 ] |
| 1759 sources -= [ | 1743 sources -= [ |
| 1760 "browser_ipc_logging.cc", | 1744 "browser_ipc_logging.cc", |
| 1761 "device_sensors/data_fetcher_shared_memory_default.cc", | 1745 "device_sensors/data_fetcher_shared_memory_default.cc", |
| 1762 "media/session/audio_focus_delegate_default.cc", | 1746 "media/session/audio_focus_delegate_default.cc", |
| 1763 "media/session/audio_focus_manager.cc", | 1747 "media/session/audio_focus_manager.cc", |
| 1764 "media/session/audio_focus_manager.h", | 1748 "media/session/audio_focus_manager.h", |
| 1765 "tracing/tracing_ui.cc", | 1749 "tracing/tracing_ui.cc", |
| 1766 "tracing/tracing_ui.h", | 1750 "tracing/tracing_ui.h", |
| 1767 | 1751 ] |
| 1768 # Android skips most, but not all, of the speech code. | 1752 deps -= [ "//device/battery" ] |
| 1753 deps += [ |
| 1754 "//content/public/android:jni", |
| 1755 "//media", |
| 1756 "//media/capture/content/android", |
| 1757 "//media/capture/video/android", |
| 1758 "//mojo/android:libsystem_java", |
| 1759 "//ui/android", |
| 1760 ] |
| 1761 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] |
| 1762 libs += [ "jnigraphics" ] |
| 1763 } else { |
| 1764 # Not Android. |
| 1765 sources += [ |
| 1766 # Most speech code is non-Android. |
| 1769 "speech/audio_buffer.cc", | 1767 "speech/audio_buffer.cc", |
| 1770 "speech/audio_buffer.h", | 1768 "speech/audio_buffer.h", |
| 1771 "speech/audio_encoder.cc", | 1769 "speech/audio_encoder.cc", |
| 1772 "speech/audio_encoder.h", | 1770 "speech/audio_encoder.h", |
| 1773 "speech/chunked_byte_buffer.cc", | 1771 "speech/chunked_byte_buffer.cc", |
| 1774 "speech/chunked_byte_buffer.h", | 1772 "speech/chunked_byte_buffer.h", |
| 1775 "speech/endpointer/endpointer.cc", | 1773 "speech/endpointer/endpointer.cc", |
| 1776 "speech/endpointer/endpointer.h", | 1774 "speech/endpointer/endpointer.h", |
| 1777 "speech/endpointer/energy_endpointer.cc", | 1775 "speech/endpointer/energy_endpointer.cc", |
| 1778 "speech/endpointer/energy_endpointer.h", | 1776 "speech/endpointer/energy_endpointer.h", |
| 1779 "speech/endpointer/energy_endpointer_params.cc", | 1777 "speech/endpointer/energy_endpointer_params.cc", |
| 1780 "speech/endpointer/energy_endpointer_params.h", | 1778 "speech/endpointer/energy_endpointer_params.h", |
| 1781 "speech/speech_recognition_engine.cc", | 1779 "speech/speech_recognition_engine.cc", |
| 1782 "speech/speech_recognition_engine.h", | 1780 "speech/speech_recognition_engine.h", |
| 1783 "speech/speech_recognizer_impl.cc", | 1781 "speech/speech_recognizer_impl.cc", |
| 1784 "speech/speech_recognizer_impl.h", | 1782 "speech/speech_recognizer_impl.h", |
| 1785 ] | 1783 ] |
| 1786 deps -= [ "//device/battery" ] | 1784 deps += [ "//third_party/flac" ] |
| 1787 deps += [ | |
| 1788 "//content/public/android:jni", | |
| 1789 "//media", | |
| 1790 "//media/capture/content/android", | |
| 1791 "//media/capture/video/android", | |
| 1792 "//mojo/android:libsystem_java", | |
| 1793 "//ui/android", | |
| 1794 ] | |
| 1795 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] | |
| 1796 libs += [ "jnigraphics" ] | |
| 1797 } | 1785 } |
| 1798 | 1786 |
| 1799 if (is_mac) { | 1787 if (is_mac) { |
| 1800 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] | 1788 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] |
| 1801 deps += [ | 1789 deps += [ |
| 1802 "//media", | 1790 "//media", |
| 1803 "//sandbox/mac:sandbox", | 1791 "//sandbox/mac:sandbox", |
| 1804 "//third_party/mozilla", | 1792 "//third_party/mozilla", |
| 1805 "//third_party/sudden_motion_sensor", | 1793 "//third_party/sudden_motion_sensor", |
| 1806 "//ui/accelerated_widget_mac", | 1794 "//ui/accelerated_widget_mac", |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1930 | 1918 |
| 1931 if (!use_ozone) { | 1919 if (!use_ozone) { |
| 1932 sources -= [ | 1920 sources -= [ |
| 1933 "compositor/software_output_device_ozone.cc", | 1921 "compositor/software_output_device_ozone.cc", |
| 1934 "compositor/software_output_device_ozone.h", | 1922 "compositor/software_output_device_ozone.h", |
| 1935 ] | 1923 ] |
| 1936 } | 1924 } |
| 1937 deps += [ "//ui/compositor" ] | 1925 deps += [ "//ui/compositor" ] |
| 1938 } | 1926 } |
| 1939 | 1927 |
| 1940 if (enable_web_speech) { | |
| 1941 deps += [ "//third_party/flac" ] | |
| 1942 } | |
| 1943 | |
| 1944 if (is_linux && use_dbus) { | 1928 if (is_linux && use_dbus) { |
| 1945 deps += [ "//dbus" ] | 1929 deps += [ "//dbus" ] |
| 1946 } | 1930 } |
| 1947 | 1931 |
| 1948 if (is_linux) { | 1932 if (is_linux) { |
| 1949 deps += [ "//third_party/boringssl" ] | 1933 deps += [ "//third_party/boringssl" ] |
| 1950 } | 1934 } |
| 1951 | 1935 |
| 1952 if (enable_mojo_media) { | 1936 if (enable_mojo_media) { |
| 1953 configs += [ "//media/mojo/services:mojo_media_config" ] | 1937 configs += [ "//media/mojo/services:mojo_media_config" ] |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1979 if (!is_component_build) { | 1963 if (!is_component_build) { |
| 1980 public_deps = [ | 1964 public_deps = [ |
| 1981 ":browser", | 1965 ":browser", |
| 1982 ] | 1966 ] |
| 1983 } else { | 1967 } else { |
| 1984 public_deps = [ | 1968 public_deps = [ |
| 1985 "//third_party/leveldatabase", | 1969 "//third_party/leveldatabase", |
| 1986 ] | 1970 ] |
| 1987 } | 1971 } |
| 1988 } | 1972 } |
| OLD | NEW |