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

Side by Side Diff: BUILD.gn

Issue 2573073002: Add BUILD.gn, OWNERS and README.webrtc (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | OWNERS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 #
3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree.
8
9 if (is_win) {
10 baseclasses_dir = "Samples/multimedia/directshow/baseclasses"
11
12 config("winsdk_samples_config") {
13 include_dirs = [ baseclasses_dir ]
14 }
15
16 config("winsdk_samples_warnings_config") {
17 if (is_win && is_clang) {
18 cflags = [
19 # Disable warnings failing when compiling with Clang on Windows.
20 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
21 "-Wno-comment",
22 "-Wno-delete-non-virtual-dtor",
23 "-Wno-ignored-attributes",
24 "-Wno-logical-op-parentheses",
25 "-Wno-non-pod-varargs",
26 "-Wno-microsoft-extra-qualification",
27 "-Wno-missing-braces",
28 "-Wno-overloaded-virtual",
29 "-Wno-parentheses",
30 "-Wno-reorder",
31 "-Wno-string-conversion",
32 "-Wno-tautological-constant-out-of-range-compare",
33 "-Wno-unused-private-field",
34 "-Wno-writable-strings",
35 ]
36 }
37 }
38
39 static_library("winsdk_samples") {
40 sources = [
41 "$baseclasses_dir/amextra.cpp",
42 "$baseclasses_dir/amextra.h",
43 "$baseclasses_dir/amfilter.cpp",
44 "$baseclasses_dir/amfilter.h",
45 "$baseclasses_dir/amvideo.cpp",
46 "$baseclasses_dir/cache.h",
47 "$baseclasses_dir/combase.cpp",
48 "$baseclasses_dir/combase.h",
49 "$baseclasses_dir/cprop.cpp",
50 "$baseclasses_dir/cprop.h",
51 "$baseclasses_dir/ctlutil.cpp",
52 "$baseclasses_dir/ctlutil.h",
53 "$baseclasses_dir/ddmm.cpp",
54 "$baseclasses_dir/ddmm.h",
55 "$baseclasses_dir/dllentry.cpp",
56 "$baseclasses_dir/dllsetup.cpp",
57 "$baseclasses_dir/dllsetup.h",
58 "$baseclasses_dir/fourcc.h",
59 "$baseclasses_dir/measure.h",
60 "$baseclasses_dir/msgthrd.h",
61 "$baseclasses_dir/mtype.cpp",
62 "$baseclasses_dir/mtype.h",
63 "$baseclasses_dir/outputq.cpp",
64 "$baseclasses_dir/outputq.h",
65 "$baseclasses_dir/pstream.cpp",
66 "$baseclasses_dir/pstream.h",
67 "$baseclasses_dir/pullpin.cpp",
68 "$baseclasses_dir/pullpin.h",
69 "$baseclasses_dir/refclock.cpp",
70 "$baseclasses_dir/refclock.h",
71 "$baseclasses_dir/reftime.h",
72 "$baseclasses_dir/renbase.cpp",
73 "$baseclasses_dir/renbase.h",
74 "$baseclasses_dir/schedule.cpp",
75 "$baseclasses_dir/seekpt.cpp",
76 "$baseclasses_dir/seekpt.h",
77 "$baseclasses_dir/source.cpp",
78 "$baseclasses_dir/source.h",
79 "$baseclasses_dir/streams.h",
80 "$baseclasses_dir/strmctl.cpp",
81 "$baseclasses_dir/strmctl.h",
82 "$baseclasses_dir/sysclock.cpp",
83 "$baseclasses_dir/sysclock.h",
84 "$baseclasses_dir/transfrm.cpp",
85 "$baseclasses_dir/transfrm.h",
86 "$baseclasses_dir/transip.cpp",
87 "$baseclasses_dir/transip.h",
88 "$baseclasses_dir/videoctl.cpp",
89 "$baseclasses_dir/videoctl.h",
90 "$baseclasses_dir/vtrans.cpp",
91 "$baseclasses_dir/vtrans.h",
92 "$baseclasses_dir/winctrl.cpp",
93 "$baseclasses_dir/winctrl.h",
94 "$baseclasses_dir/winutil.cpp",
95 "$baseclasses_dir/winutil.h",
96 "$baseclasses_dir/wxdebug.cpp",
97 "$baseclasses_dir/wxdebug.h",
98 "$baseclasses_dir/wxlist.cpp",
99 "$baseclasses_dir/wxlist.h",
100 "$baseclasses_dir/wxutil.cpp",
101 "$baseclasses_dir/wxutil.h",
102 ]
103
104 public_configs = [ ":winsdk_samples_config" ]
105
106 configs -= [
107 "//build/config/compiler:chromium_code",
108 "//build/config/win:nominmax",
109 ]
110 configs += [
111 "//build/config/compiler:no_chromium_code",
112 ":winsdk_samples_warnings_config",
113 ]
114 }
115 }
OLDNEW
« no previous file with comments | « no previous file | OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698