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

Unified Diff: media/base/win/BUILD.gn

Issue 2031073002: Make media/capture gn and gyps produce components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android missed dep Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
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",
+ ]
}
« media/base/BUILD.gn ('K') | « media/base/BUILD.gn ('k') | media/capture/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698