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

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: address review comments Created 4 years, 7 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 = [
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 ] 87 ]
88 88
89 configs += [ 89 configs += [
90 "//media:media_implementation", 90 "//media:media_implementation",
91 91
92 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. 92 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors.
93 "//build/config/compiler:no_size_t_to_int_warning", 93 "//build/config/compiler:no_size_t_to_int_warning",
94 ] 94 ]
95 95
96 if (is_android) { 96 if (is_android) {
97 sources += [
98 "content/android/screen_capture_machine_android.cc",
99 "content/android/screen_capture_machine_android.h",
100 ]
97 public_deps += [ "video/android" ] 101 public_deps += [ "video/android" ]
98 deps += [ "video/android:capture_jni_headers" ] 102 deps += [
103 "video/android:capture_jni_headers",
104 "//third_party/libyuv",
105 ]
99 } 106 }
100 107
101 if (is_mac) { 108 if (is_mac) {
102 deps += [ 109 deps += [
103 "//media/base/mac", 110 "//media/base/mac",
104 "//third_party/decklink", 111 "//third_party/decklink",
105 ] 112 ]
106 } 113 }
107 114
108 if (use_udev) { 115 if (use_udev) {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 154
148 deps = [ 155 deps = [
149 "//media/base:unittests", 156 "//media/base:unittests",
150 "//testing/gmock", 157 "//testing/gmock",
151 "//testing/gtest", 158 "//testing/gtest",
152 ] 159 ]
153 160
154 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. 161 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors.
155 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 162 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
156 } 163 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698