Chromium Code Reviews| Index: media/base/win/BUILD.gn |
| diff --git a/media/base/win/BUILD.gn b/media/base/win/BUILD.gn |
| index 49559bac0554417fca6368c7f1304e672c4ff5b1..6a2eb93da888fb4c5ddf52cfe66abab14d17d5c4 100644 |
| --- a/media/base/win/BUILD.gn |
| +++ b/media/base/win/BUILD.gn |
| @@ -4,7 +4,7 @@ |
| assert(is_win) |
| -source_set("win") { |
| +component("win") { |
|
xhwang
2016/06/09 06:30:46
Why is this change necessary and be part of this C
mcasas
2016/06/09 16:07:55
It is necessary because capture.dll depends on
th
|
| set_sources_assignment_filter([]) |
| sources = [ |
| "mf_initializer.cc", |
| @@ -19,4 +19,14 @@ source_set("win") { |
| "//base", |
| "//media:shared_memory_support", |
| ] |
| + libs = [ |
| + "mf.lib", |
| + "mfplat.lib", |
| + "mfreadwrite.lib", |
| + ] |
| + ldflags = [ |
| + "/DELAYLOAD:mf.dll", |
| + "/DELAYLOAD:mfplat.dll", |
| + "/DELAYLOAD:mfreadwrite.dll", |
| + ] |
| } |