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

Side by Side Diff: webrtc/common_video/BUILD.gn

Issue 2300413002: GN Templates: Move common_config to the template. (Closed)
Patch Set: Add TODOs + tracking bugs. Created 4 years, 3 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
« no previous file with comments | « webrtc/common_audio/BUILD.gn ('k') | webrtc/examples/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 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 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 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 10
(...skipping 25 matching lines...) Expand all
36 "libyuv/include/webrtc_libyuv.h", 36 "libyuv/include/webrtc_libyuv.h",
37 "libyuv/webrtc_libyuv.cc", 37 "libyuv/webrtc_libyuv.cc",
38 "video_frame.cc", 38 "video_frame.cc",
39 "video_frame_buffer.cc", 39 "video_frame_buffer.cc",
40 "video_render_frames.cc", 40 "video_render_frames.cc",
41 "video_render_frames.h", 41 "video_render_frames.h",
42 ] 42 ]
43 43
44 include_dirs = [ "../modules/interface" ] 44 include_dirs = [ "../modules/interface" ]
45 45
46 configs += [ "..:common_config" ]
47 public_configs = [ 46 public_configs = [
48 "..:common_inherited_config", 47 "..:common_inherited_config",
49 ":common_video_config", 48 ":common_video_config",
50 ] 49 ]
51 50
52 if (is_clang) { 51 if (is_clang) {
53 # Suppress warnings from Chrome's Clang plugins. 52 # Suppress warnings from Chrome's Clang plugins.
54 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 53 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
55 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 54 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
56 } 55 }
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 sources = [ 100 sources = [
102 "bitrate_adjuster_unittest.cc", 101 "bitrate_adjuster_unittest.cc",
103 "h264/pps_parser_unittest.cc", 102 "h264/pps_parser_unittest.cc",
104 "h264/sps_parser_unittest.cc", 103 "h264/sps_parser_unittest.cc",
105 "h264/sps_vui_rewriter_unittest.cc", 104 "h264/sps_vui_rewriter_unittest.cc",
106 "i420_buffer_pool_unittest.cc", 105 "i420_buffer_pool_unittest.cc",
107 "i420_video_frame_unittest.cc", 106 "i420_video_frame_unittest.cc",
108 "libyuv/libyuv_unittest.cc", 107 "libyuv/libyuv_unittest.cc",
109 ] 108 ]
110 109
111 configs += [ "..:common_config" ]
112 public_configs = [ "..:common_inherited_config" ] 110 public_configs = [ "..:common_inherited_config" ]
113 111
114 # TODO(jschuh): Bug 1348: fix this warning. 112 # TODO(jschuh): Bug 1348: fix this warning.
115 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 113 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
116 114
117 if (is_clang) { 115 if (is_clang) {
118 # Suppress warnings from the Chromium Clang plugin. 116 # Suppress warnings from the Chromium Clang plugin.
119 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 117 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
120 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 118 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
121 } 119 }
(...skipping 11 matching lines...) Expand all
133 deps += [ "//testing/android/native_test:native_test_support" ] 131 deps += [ "//testing/android/native_test:native_test_support" ]
134 data = common_video_resources 132 data = common_video_resources
135 shard_timeout = 900 133 shard_timeout = 900
136 } 134 }
137 135
138 if (is_ios) { 136 if (is_ios) {
139 deps += [ ":common_video_unittests_bundle_data" ] 137 deps += [ ":common_video_unittests_bundle_data" ]
140 } 138 }
141 } 139 }
142 } 140 }
OLDNEW
« no previous file with comments | « webrtc/common_audio/BUILD.gn ('k') | webrtc/examples/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698