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

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

Issue 2715113002: Enable GN check for webrtc/common_video (Closed)
Patch Set: Rebased Created 3 years, 9 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 | « .gn ('k') | no next file » | 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("../webrtc.gni") 9 import("../webrtc.gni")
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 public_configs = [ ":common_video_config" ] 51 public_configs = [ ":common_video_config" ]
52 52
53 if (!build_with_chromium && is_clang) { 53 if (!build_with_chromium && is_clang) {
54 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 54 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
55 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 55 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
56 } 56 }
57 57
58 deps = [ 58 deps = [
59 "..:webrtc_common", 59 "..:webrtc_common",
60 "../base:rtc_base",
60 "../base:rtc_task_queue", 61 "../base:rtc_task_queue",
61 "../system_wrappers", 62 "../system_wrappers",
62 ] 63 ]
63 public_deps = [ 64 public_deps = [
64 "../api:video_frame_api", 65 "../api:video_frame_api",
65 ] 66 ]
66 67
67 if (rtc_build_libyuv) { 68 if (rtc_build_libyuv) {
68 deps += [ "$rtc_libyuv_dir" ] 69 deps += [ "$rtc_libyuv_dir" ]
69 public_deps += [ "$rtc_libyuv_dir" ] 70 public_deps += [ "$rtc_libyuv_dir" ]
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 # TODO(jschuh): Bug 1348: fix this warning. 113 # TODO(jschuh): Bug 1348: fix this warning.
113 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 114 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
114 115
115 if (!build_with_chromium && is_clang) { 116 if (!build_with_chromium && is_clang) {
116 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 117 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
117 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 118 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
118 } 119 }
119 120
120 deps = [ 121 deps = [
121 ":common_video", 122 ":common_video",
123 "../base:rtc_base",
124 "../base:rtc_base_approved",
122 "../modules/video_capture:video_capture", 125 "../modules/video_capture:video_capture",
123 "../system_wrappers:system_wrappers", 126 "../system_wrappers:system_wrappers",
124 "../test:test_main", 127 "../test:test_main",
125 "../test:video_test_common", 128 "../test:video_test_common",
126 "//testing/gmock", 129 "//testing/gmock",
127 "//testing/gtest", 130 "//testing/gtest",
128 ] 131 ]
129 132
130 data = common_video_resources 133 data = common_video_resources
131 if (is_android) { 134 if (is_android) {
132 deps += [ "//testing/android/native_test:native_test_support" ] 135 deps += [ "//testing/android/native_test:native_test_support" ]
133 shard_timeout = 900 136 shard_timeout = 900
134 } 137 }
135 138
136 if (is_ios) { 139 if (is_ios) {
137 deps += [ ":common_video_unittests_bundle_data" ] 140 deps += [ ":common_video_unittests_bundle_data" ]
138 } 141 }
139 } 142 }
140 } 143 }
OLDNEW
« no previous file with comments | « .gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698