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

Side by Side Diff: content/test/BUILD.gn

Issue 2556883002: Remove enable_web_speech flag. (Closed)
Patch Set: Merge Created 4 years 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') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 "//content/shell:content_shell_lib", 817 "//content/shell:content_shell_lib",
818 "//content/shell/android:content_shell_assets", 818 "//content/shell/android:content_shell_assets",
819 "//content/shell/android:content_shell_jni_headers", 819 "//content/shell/android:content_shell_jni_headers",
820 "//testing/android/native_test:native_test_support", 820 "//testing/android/native_test:native_test_support",
821 ] 821 ]
822 deps -= [ "//device/battery" ] 822 deps -= [ "//device/battery" ]
823 android_manifest = 823 android_manifest =
824 "${target_gen_dir}/content_browsertests_manifest/AndroidManifest.xml" 824 "${target_gen_dir}/content_browsertests_manifest/AndroidManifest.xml"
825 android_manifest_dep = ":content_browsertests_manifest" 825 android_manifest_dep = ":content_browsertests_manifest"
826 use_default_launcher = false 826 use_default_launcher = false
827 } else {
828 # Non-Android.
829 sources += [ "../browser/speech/speech_recognition_browsertest.cc" ]
827 } 830 }
828 831
829 if (is_mac) { 832 if (is_mac) {
830 sources += [ "../renderer/external_popup_menu_browsertest.cc" ] 833 sources += [ "../renderer/external_popup_menu_browsertest.cc" ]
831 deps += [ "//content/shell:content_shell" ] 834 deps += [ "//content/shell:content_shell" ]
832 data += [ "$root_out_dir/Content Shell.app/" ] 835 data += [ "$root_out_dir/Content Shell.app/" ]
833 } 836 }
834 837
835 if (is_chromeos) { 838 if (is_chromeos) {
836 deps += [ "//chromeos" ] 839 deps += [ "//chromeos" ]
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 "../renderer/pepper/pepper_webplugin_impl_browsertest.cc", 882 "../renderer/pepper/pepper_webplugin_impl_browsertest.cc",
880 "../renderer/pepper/plugin_power_saver_helper_browsertest.cc", 883 "../renderer/pepper/plugin_power_saver_helper_browsertest.cc",
881 "../test/ppapi/ppapi_browsertest.cc", 884 "../test/ppapi/ppapi_browsertest.cc",
882 "../test/ppapi/ppapi_test.cc", 885 "../test/ppapi/ppapi_test.cc",
883 "../test/ppapi/ppapi_test.h", 886 "../test/ppapi/ppapi_test.h",
884 ] 887 ]
885 deps += [ "//ppapi/proxy:test_support" ] 888 deps += [ "//ppapi/proxy:test_support" ]
886 data_deps += [ "//ppapi:ppapi_tests" ] 889 data_deps += [ "//ppapi:ppapi_tests" ]
887 } 890 }
888 891
889 if (enable_web_speech) {
890 sources += [ "../browser/speech/speech_recognition_browsertest.cc" ]
891 }
892
893 if (!is_chrome_branded) { 892 if (!is_chrome_branded) {
894 # These tests depend on single process mode, which is disabled 893 # These tests depend on single process mode, which is disabled
895 # in official builds. 894 # in official builds.
896 sources += [ 895 sources += [
897 "../renderer/browser_render_view_browsertest.cc", 896 "../renderer/browser_render_view_browsertest.cc",
898 "../renderer/dom_serializer_browsertest.cc", 897 "../renderer/dom_serializer_browsertest.cc",
899 "../renderer/resource_fetcher_browsertest.cc", 898 "../renderer/resource_fetcher_browsertest.cc",
900 "../renderer/savable_resources_browsertest.cc", 899 "../renderer/savable_resources_browsertest.cc",
901 ] 900 ]
902 901
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
1576 } 1575 }
1577 } 1576 }
1578 1577
1579 if (enable_webrtc && enable_plugins) { 1578 if (enable_webrtc && enable_plugins) {
1580 sources += [ 1579 sources += [
1581 "../renderer/media/pepper_to_video_track_adapter_unittest.cc", 1580 "../renderer/media/pepper_to_video_track_adapter_unittest.cc",
1582 "../renderer/media/video_track_to_pepper_adapter_unittest.cc", 1581 "../renderer/media/video_track_to_pepper_adapter_unittest.cc",
1583 ] 1582 ]
1584 } 1583 }
1585 1584
1586 if (enable_web_speech) {
1587 sources += [
1588 "../browser/speech/chunked_byte_buffer_unittest.cc",
1589 "../browser/speech/endpointer/endpointer_unittest.cc",
1590 "../browser/speech/speech_recognition_engine_unittest.cc",
1591 "../browser/speech/speech_recognizer_impl_unittest.cc",
1592 ]
1593 }
1594
1595 if (is_linux) { 1585 if (is_linux) {
1596 if (use_dbus) { 1586 if (use_dbus) {
1597 deps += [ "//dbus:test_support" ] 1587 deps += [ "//dbus:test_support" ]
1598 } 1588 }
1599 } 1589 }
1600 if (is_win) { 1590 if (is_win) {
1601 deps += [ "//third_party/iaccessible2" ] 1591 deps += [ "//third_party/iaccessible2" ]
1602 libs = [ "dwrite.lib" ] 1592 libs = [ "dwrite.lib" ]
1603 } 1593 }
1604 if (is_mac) { 1594 if (is_mac) {
(...skipping 27 matching lines...) Expand all
1632 "//base:base_java_unittest_support", 1622 "//base:base_java_unittest_support",
1633 "//content/public/android:content_java", 1623 "//content/public/android:content_java",
1634 "//device/geolocation:geolocation_java", 1624 "//device/geolocation:geolocation_java",
1635 "//media/capture/content/android", 1625 "//media/capture/content/android",
1636 "//media/capture/content/android:screen_capture_java", 1626 "//media/capture/content/android:screen_capture_java",
1637 "//ui/android:android", 1627 "//ui/android:android",
1638 "//v8:v8_external_startup_data_assets", 1628 "//v8:v8_external_startup_data_assets",
1639 ] 1629 ]
1640 1630
1641 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] 1631 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ]
1642 } 1632 } else {
1643 if (!is_android) { 1633 # Non-Android.
1634 sources += [
1635 "../browser/speech/chunked_byte_buffer_unittest.cc",
1636 "../browser/speech/endpointer/endpointer_unittest.cc",
1637 "../browser/speech/speech_recognition_engine_unittest.cc",
1638 "../browser/speech/speech_recognizer_impl_unittest.cc",
1639 ]
1644 deps += [ "//third_party/libvpx" ] 1640 deps += [ "//third_party/libvpx" ]
1645 } 1641 }
1646 1642
1647 if (use_aura) { 1643 if (use_aura) {
1648 deps += [ 1644 deps += [
1649 "//services/ui/public/cpp/tests:unittest_support", 1645 "//services/ui/public/cpp/tests:unittest_support",
1650 "//ui/aura:test_support", 1646 "//ui/aura:test_support",
1651 "//ui/aura_extra", 1647 "//ui/aura_extra",
1652 "//ui/wm", 1648 "//ui/wm",
1653 ] 1649 ]
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
1726 if (is_android) { 1722 if (is_android) {
1727 deps += [ "//testing/android/native_test:native_test_native_code" ] 1723 deps += [ "//testing/android/native_test:native_test_native_code" ]
1728 } 1724 }
1729 } 1725 }
1730 1726
1731 group("fuzzers") { 1727 group("fuzzers") {
1732 deps = [ 1728 deps = [
1733 "//content/test/fuzzer", 1729 "//content/test/fuzzer",
1734 ] 1730 ]
1735 } 1731 }
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698