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("//extensions/extensions.gni") | 6 import("//extensions/extensions.gni") |
7 | 7 |
8 assert(enable_extensions) | 8 assert(enable_extensions) |
9 | 9 |
10 # GYP version: extensions/extensions.gyp:extensions_renderer | 10 # GYP version: extensions/extensions.gyp:extensions_renderer |
(...skipping 28 matching lines...) Expand all Loading... |
39 ".", | 39 ".", |
40 "//extensions") | 40 "//extensions") |
41 sources += wifi_display_sources | 41 sources += wifi_display_sources |
42 | 42 |
43 deps += [ | 43 deps += [ |
44 "//third_party/openh264:encoder", | 44 "//third_party/openh264:encoder", |
45 "//third_party/wds:libwds", | 45 "//third_party/wds:libwds", |
46 ] | 46 ] |
47 } | 47 } |
48 } | 48 } |
| 49 |
| 50 source_set("unit_tests") { |
| 51 testonly = true |
| 52 sources = [ |
| 53 "activity_log_converter_strategy_unittest.cc", |
| 54 "api/mojo_private/mojo_private_unittest.cc", |
| 55 "api/serial/data_receiver_unittest.cc", |
| 56 "api/serial/data_sender_unittest.cc", |
| 57 "api/serial/serial_api_unittest.cc", |
| 58 "api_test_base.cc", |
| 59 "api_test_base.h", |
| 60 "api_test_base_unittest.cc", |
| 61 "event_unittest.cc", |
| 62 "gc_callback_unittest.cc", |
| 63 "json_schema_unittest.cc", |
| 64 "messaging_utils_unittest.cc", |
| 65 "module_system_test.cc", |
| 66 "module_system_test.h", |
| 67 "module_system_unittest.cc", |
| 68 "mojo/keep_alive_client_unittest.cc", |
| 69 "mojo/stash_client_unittest.cc", |
| 70 "safe_builtins_unittest.cc", |
| 71 "scoped_web_frame.cc", |
| 72 "scoped_web_frame.h", |
| 73 "script_context_set_unittest.cc", |
| 74 "script_context_unittest.cc", |
| 75 "utils_unittest.cc", |
| 76 ] |
| 77 |
| 78 deps = [ |
| 79 ":renderer", |
| 80 "//base", |
| 81 "//device/serial:test_support", |
| 82 "//extensions:extensions_renderer_resources", |
| 83 |
| 84 # TODO(brettw) these tests should not be including headers from browser. |
| 85 "//extensions/browser", |
| 86 "//extensions/common", |
| 87 "//gin", |
| 88 "//mojo/edk/js", |
| 89 "//testing/gtest", |
| 90 "//third_party/WebKit/public:blink", |
| 91 "//ui/base", |
| 92 ] |
| 93 |
| 94 if (enable_wifi_display && proprietary_codecs) { |
| 95 sources += [ |
| 96 "api/display_source/wifi_display/wifi_display_elementary_stream_descriptor
_unittest.cc", |
| 97 "api/display_source/wifi_display/wifi_display_media_packetizer_unittest.cc
", |
| 98 ] |
| 99 } |
| 100 } |
OLD | NEW |