| 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 component("win") { | 7 component("win") { |
| 8 defines = [ "MF_INITIALIZER_IMPLEMENTATION" ] | 8 defines = [ "MF_INITIALIZER_IMPLEMENTATION" ] |
| 9 set_sources_assignment_filter([]) | 9 set_sources_assignment_filter([]) |
| 10 sources = [ | 10 sources = [ |
| 11 "mf_helpers.cc", | |
| 12 "mf_helpers.h", | |
| 13 "mf_initializer.cc", | 11 "mf_initializer.cc", |
| 14 "mf_initializer.h", | 12 "mf_initializer.h", |
| 15 "mf_initializer_export.h", | 13 "mf_initializer_export.h", |
| 16 ] | 14 ] |
| 17 set_sources_assignment_filter(sources_assignment_filter) | 15 set_sources_assignment_filter(sources_assignment_filter) |
| 18 configs += [ | 16 configs += [ |
| 19 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. | 17 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. |
| 20 "//build/config/compiler:no_size_t_to_int_warning", | 18 "//build/config/compiler:no_size_t_to_int_warning", |
| 21 "//media:media_config", | 19 "//media:media_config", |
| 22 ] | 20 ] |
| 23 deps = [ | 21 deps = [ |
| 24 "//base", | 22 "//base", |
| 25 "//media:shared_memory_support", | 23 "//media:shared_memory_support", |
| 26 ] | 24 ] |
| 27 libs = [ | 25 libs = [ |
| 28 "mf.lib", | 26 "mf.lib", |
| 29 "mfplat.lib", | 27 "mfplat.lib", |
| 30 "mfreadwrite.lib", | 28 "mfreadwrite.lib", |
| 31 ] | 29 ] |
| 32 ldflags = [ | 30 ldflags = [ |
| 33 "/DELAYLOAD:mf.dll", | 31 "/DELAYLOAD:mf.dll", |
| 34 "/DELAYLOAD:mfplat.dll", | 32 "/DELAYLOAD:mfplat.dll", |
| 35 "/DELAYLOAD:mfreadwrite.dll", | 33 "/DELAYLOAD:mfreadwrite.dll", |
| 36 ] | 34 ] |
| 37 } | 35 } |
| OLD | NEW |