| 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 = [ | 
|  | 11     "content/android/screen_capture_machine_android.cc", | 
|  | 12     "content/android/screen_capture_machine_android.h", | 
| 11     "content/animated_content_sampler.cc", | 13     "content/animated_content_sampler.cc", | 
| 12     "content/animated_content_sampler.h", | 14     "content/animated_content_sampler.h", | 
| 13     "content/capture_resolution_chooser.cc", | 15     "content/capture_resolution_chooser.cc", | 
| 14     "content/capture_resolution_chooser.h", | 16     "content/capture_resolution_chooser.h", | 
| 15     "content/feedback_signal_accumulator.h", | 17     "content/feedback_signal_accumulator.h", | 
| 16     "content/screen_capture_device_core.cc", | 18     "content/screen_capture_device_core.cc", | 
| 17     "content/screen_capture_device_core.h", | 19     "content/screen_capture_device_core.h", | 
| 18     "content/smooth_event_sampler.cc", | 20     "content/smooth_event_sampler.cc", | 
| 19     "content/smooth_event_sampler.h", | 21     "content/smooth_event_sampler.h", | 
| 20     "content/thread_safe_capture_oracle.cc", | 22     "content/thread_safe_capture_oracle.cc", | 
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 86   ] | 88   ] | 
| 87 | 89 | 
| 88   configs += [ | 90   configs += [ | 
| 89     "//media:media_implementation", | 91     "//media:media_implementation", | 
| 90 | 92 | 
| 91     # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. | 93     # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. | 
| 92     "//build/config/compiler:no_size_t_to_int_warning", | 94     "//build/config/compiler:no_size_t_to_int_warning", | 
| 93   ] | 95   ] | 
| 94 | 96 | 
| 95   if (is_android) { | 97   if (is_android) { | 
| 96     public_deps += [ "video/android" ] | 98     public_deps += [ | 
| 97     deps += [ "video/android:capture_jni_headers" ] | 99       "content/android", | 
|  | 100       "video/android", | 
|  | 101     ] | 
|  | 102     deps += [ | 
|  | 103       "content/android:screen_capture_jni_headers", | 
|  | 104       "video/android:capture_jni_headers", | 
|  | 105       "//third_party/libyuv", | 
|  | 106     ] | 
| 98   } | 107   } | 
| 99 | 108 | 
| 100   if (is_mac) { | 109   if (is_mac) { | 
| 101     deps += [ | 110     deps += [ | 
| 102       "//media/base/mac", | 111       "//media/base/mac", | 
| 103       "//third_party/decklink", | 112       "//third_party/decklink", | 
| 104     ] | 113     ] | 
| 105   } | 114   } | 
| 106 | 115 | 
| 107   if (use_udev) { | 116   if (use_udev) { | 
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 146 | 155 | 
| 147   deps = [ | 156   deps = [ | 
| 148     "//media/base:unittests", | 157     "//media/base:unittests", | 
| 149     "//testing/gmock", | 158     "//testing/gmock", | 
| 150     "//testing/gtest", | 159     "//testing/gtest", | 
| 151   ] | 160   ] | 
| 152 | 161 | 
| 153   # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. | 162   # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. | 
| 154   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 163   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 
| 155 } | 164 } | 
| OLD | NEW | 
|---|