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

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

Issue 1917023003: ScreenCapture for Android phase1, part I (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: correct YUV420 unpacking, add cropping support Created 4 years, 6 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 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 ] 89 ]
88 90
89 configs += [ 91 configs += [
90 "//media:media_implementation", 92 "//media:media_implementation",
91 93
92 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. 94 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors.
93 "//build/config/compiler:no_size_t_to_int_warning", 95 "//build/config/compiler:no_size_t_to_int_warning",
94 ] 96 ]
95 97
96 if (is_android) { 98 if (is_android) {
97 public_deps += [ "video/android" ] 99 public_deps += [
98 deps += [ "video/android:capture_jni_headers" ] 100 "content/android",
101 "video/android",
102 ]
103 deps += [
104 "content/android:screen_capture_jni_headers",
105 "video/android:capture_jni_headers",
106 "//third_party/libyuv",
107 ]
99 } 108 }
100 109
101 if (is_mac) { 110 if (is_mac) {
102 deps += [ "//third_party/decklink" ] 111 deps += [ "//third_party/decklink" ]
103 libs = [ 112 libs = [
104 "CoreFoundation.framework", 113 "CoreFoundation.framework",
105 "CoreGraphics.framework", 114 "CoreGraphics.framework",
106 "Foundation.framework", 115 "Foundation.framework",
107 ] 116 ]
108 } 117 }
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 158
150 deps = [ 159 deps = [
151 "//media/base:unittests", 160 "//media/base:unittests",
152 "//testing/gmock", 161 "//testing/gmock",
153 "//testing/gtest", 162 "//testing/gtest",
154 ] 163 ]
155 164
156 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. 165 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors.
157 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 166 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
158 } 167 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698