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

Side by Side Diff: media/capture/BUILD.gn

Issue 2161063003: 🎫 Fail write_build_config.py if current_toolchain != default_toolchain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build deps Created 4 years, 4 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//media/media_options.gni") 6 import("//media/media_options.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 component("capture") { 9 component("capture") {
10 defines = [ "CAPTURE_IMPLEMENTATION" ] 10 defines = [ "CAPTURE_IMPLEMENTATION" ]
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 # TODO(mcasas): media/base should be a component and not a source_set, but 90 # TODO(mcasas): media/base should be a component and not a source_set, but
91 # it depends on parts of media/filters, media/ffmpeg etc. Until then, we 91 # it depends on parts of media/filters, media/ffmpeg etc. Until then, we
92 # pretend to be inside media.dll and duplicate the few symbols needed, see 92 # pretend to be inside media.dll and duplicate the few symbols needed, see
93 # https://crbug.com/590017. 93 # https://crbug.com/590017.
94 "//media:media_implementation", 94 "//media:media_implementation",
95 ] 95 ]
96 96
97 if (is_android) { 97 if (is_android) {
98 public_deps += [ 98 public_deps += [
99 "content/android", 99 "content/android",
100 "content/android:screen_capture_java",
101 "video/android", 100 "video/android",
102 "video/android:capture_java",
103 ] 101 ]
104 deps += [ 102 deps += [
105 "content/android:screen_capture_jni_headers", 103 "content/android:screen_capture_jni_headers",
106 "video/android:capture_jni_headers", 104 "video/android:capture_jni_headers",
107 ] 105 ]
108 } 106 }
109 107
110 if (is_mac) { 108 if (is_mac) {
111 deps += [ "//third_party/decklink" ] 109 deps += [ "//third_party/decklink" ]
112 libs = [ 110 libs = [
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 "//media/capture/video/android", 173 "//media/capture/video/android",
176 "//media/capture/video/android:capture_java", 174 "//media/capture/video/android:capture_java",
177 ] 175 ]
178 } 176 }
179 177
180 if (is_win) { 178 if (is_win) {
181 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. 179 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations.
182 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 180 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
183 } 181 }
184 } 182 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698