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

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: Added again 'Android missed dep' PS5 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
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/win/mf_initializer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/win/BUILD.gn
diff --git a/media/base/win/BUILD.gn b/media/base/win/BUILD.gn
index 49559bac0554417fca6368c7f1304e672c4ff5b1..dc3dcb5f3bdba47bca9aa6f47ef3d449756480cc 100644
--- a/media/base/win/BUILD.gn
+++ b/media/base/win/BUILD.gn
@@ -4,19 +4,27 @@
assert(is_win)
-source_set("win") {
+component("win") {
+ defines = [ "MF_INITIALIZER_IMPLEMENTATION" ]
set_sources_assignment_filter([])
sources = [
"mf_initializer.cc",
"mf_initializer.h",
]
set_sources_assignment_filter(sources_assignment_filter)
- configs += [
- "//media:media_config",
- "//media:media_implementation",
- ]
+ configs += [ "//media:media_config" ]
deps = [
"//base",
"//media:shared_memory_support",
]
+ libs = [
+ "mf.lib",
+ "mfplat.lib",
+ "mfreadwrite.lib",
+ ]
+ ldflags = [
+ "/DELAYLOAD:mf.dll",
+ "/DELAYLOAD:mfplat.dll",
+ "/DELAYLOAD:mfreadwrite.dll",
+ ]
}
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/win/mf_initializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698