OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 assert(is_win) | 5 assert(is_win) |
6 | 6 |
7 source_set("win") { | 7 component("win") { |
| 8 defines = [ "MF_INITIALIZER_IMPLEMENTATION" ] |
8 set_sources_assignment_filter([]) | 9 set_sources_assignment_filter([]) |
9 sources = [ | 10 sources = [ |
10 "mf_initializer.cc", | 11 "mf_initializer.cc", |
11 "mf_initializer.h", | 12 "mf_initializer.h", |
12 ] | 13 ] |
13 set_sources_assignment_filter(sources_assignment_filter) | 14 set_sources_assignment_filter(sources_assignment_filter) |
14 configs += [ | 15 configs += [ "//media:media_config" ] |
15 "//media:media_config", | |
16 "//media:media_implementation", | |
17 ] | |
18 deps = [ | 16 deps = [ |
19 "//base", | 17 "//base", |
20 "//media:shared_memory_support", | 18 "//media:shared_memory_support", |
21 ] | 19 ] |
| 20 libs = [ |
| 21 "mf.lib", |
| 22 "mfplat.lib", |
| 23 "mfreadwrite.lib", |
| 24 ] |
| 25 ldflags = [ |
| 26 "/DELAYLOAD:mf.dll", |
| 27 "/DELAYLOAD:mfplat.dll", |
| 28 "/DELAYLOAD:mfreadwrite.dll", |
| 29 ] |
22 } | 30 } |
OLD | NEW |