OLD | NEW |
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 source_set("capture") { | 9 source_set("capture") { |
10 sources = [ | 10 sources = [ |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. | 91 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. |
92 "//build/config/compiler:no_size_t_to_int_warning", | 92 "//build/config/compiler:no_size_t_to_int_warning", |
93 ] | 93 ] |
94 | 94 |
95 if (is_android) { | 95 if (is_android) { |
96 public_deps += [ "video/android" ] | 96 public_deps += [ "video/android" ] |
97 deps += [ "video/android:capture_jni_headers" ] | 97 deps += [ "video/android:capture_jni_headers" ] |
98 } | 98 } |
99 | 99 |
100 if (is_mac) { | 100 if (is_mac) { |
101 deps += [ | 101 deps += [ "//third_party/decklink" ] |
102 "//media/base/mac", | 102 libs = [ |
103 "//third_party/decklink", | 103 "CoreFoundation.framework", |
| 104 "CoreGraphics.framework", |
| 105 "Foundation.framework", |
104 ] | 106 ] |
105 } | 107 } |
106 | 108 |
107 if (use_udev) { | 109 if (use_udev) { |
108 deps += [ "//device/udev_linux" ] | 110 deps += [ "//device/udev_linux" ] |
109 sources += [ | 111 sources += [ |
110 "device_monitor_udev.cc", | 112 "device_monitor_udev.cc", |
111 "device_monitor_udev.h", | 113 "device_monitor_udev.h", |
112 ] | 114 ] |
113 } | 115 } |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 148 |
147 deps = [ | 149 deps = [ |
148 "//media/base:unittests", | 150 "//media/base:unittests", |
149 "//testing/gmock", | 151 "//testing/gmock", |
150 "//testing/gtest", | 152 "//testing/gtest", |
151 ] | 153 ] |
152 | 154 |
153 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. | 155 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. |
154 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 156 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
155 } | 157 } |
OLD | NEW |