| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 ] | 86 ] |
| 87 | 87 |
| 88 configs += [ | 88 configs += [ |
| 89 "//media:media_implementation", | 89 "//media:media_implementation", |
| 90 | 90 |
| 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 sources += [ |
| 97 "content/android/screen_capture_device_android.cc", |
| 98 "content/android/screen_capture_device_android.h", |
| 99 "content/android/screen_capture_factory_android.cc", |
| 100 "content/android/screen_capture_factory_android.h", |
| 101 "content/android/screen_capture_machine_android.cc", |
| 102 "content/android/screen_capture_machine_android.h", |
| 103 ] |
| 96 public_deps += [ "video/android" ] | 104 public_deps += [ "video/android" ] |
| 97 deps += [ "video/android:capture_jni_headers" ] | 105 deps += [ |
| 106 "video/android:capture_jni_headers", |
| 107 "//third_party/libyuv", |
| 108 ] |
| 98 } | 109 } |
| 99 | 110 |
| 100 if (is_mac) { | 111 if (is_mac) { |
| 101 deps += [ | 112 deps += [ |
| 102 "//media/base/mac", | 113 "//media/base/mac", |
| 103 "//third_party/decklink", | 114 "//third_party/decklink", |
| 104 ] | 115 ] |
| 105 } | 116 } |
| 106 | 117 |
| 107 if (use_udev) { | 118 if (use_udev) { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 157 |
| 147 deps = [ | 158 deps = [ |
| 148 "//media/base:unittests", | 159 "//media/base:unittests", |
| 149 "//testing/gmock", | 160 "//testing/gmock", |
| 150 "//testing/gtest", | 161 "//testing/gtest", |
| 151 ] | 162 ] |
| 152 | 163 |
| 153 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. | 164 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. |
| 154 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 165 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 155 } | 166 } |
| OLD | NEW |