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

Side by Side Diff: media/base/win/BUILD.gn

Issue 2068763002: Re-Reland: Make media/capture gn and gyps produce components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable warning 4267 in Win capture.gyp (probs. lost in the previous relanding). Rebase 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 unified diff | Download patch
OLDNEW
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",
13 "mf_initializer_export.h",
12 ] 14 ]
13 set_sources_assignment_filter(sources_assignment_filter) 15 set_sources_assignment_filter(sources_assignment_filter)
14 configs += [ 16 configs += [
17 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations.
18 "//build/config/compiler:no_size_t_to_int_warning",
15 "//media:media_config", 19 "//media:media_config",
16 "//media:media_implementation",
17 ] 20 ]
18 deps = [ 21 deps = [
19 "//base", 22 "//base",
20 "//media:shared_memory_support", 23 "//media:shared_memory_support",
21 ] 24 ]
25 libs = [
26 "mf.lib",
27 "mfplat.lib",
28 "mfreadwrite.lib",
29 ]
30 ldflags = [
31 "/DELAYLOAD:mf.dll",
32 "/DELAYLOAD:mfplat.dll",
33 "/DELAYLOAD:mfreadwrite.dll",
34 ]
22 } 35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698