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

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

Issue 2125973002: Reland: ScreenCapture for Android phase1, part I (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add dependency to mojo/interfaces:image_capture Created 4 years, 5 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
« no previous file with comments | « content/public/android/BUILD.gn ('k') | media/capture/content/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 component("capture") { 9 component("capture") {
10 defines = [ "CAPTURE_IMPLEMENTATION" ] 10 defines = [ "CAPTURE_IMPLEMENTATION" ]
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 configs += [ 90 configs += [
91 # TODO(mcasas): media/base should be a component and not a source_set, but 91 # TODO(mcasas): media/base should be a component and not a source_set, but
92 # it depends on parts of media/filters, media/ffmpeg etc. Until then, we 92 # it depends on parts of media/filters, media/ffmpeg etc. Until then, we
93 # pretend to be inside media.dll and duplicate the few symbols needed, see 93 # pretend to be inside media.dll and duplicate the few symbols needed, see
94 # https://crbug.com/590017. 94 # https://crbug.com/590017.
95 "//media:media_implementation", 95 "//media:media_implementation",
96 ] 96 ]
97 97
98 if (is_android) { 98 if (is_android) {
99 public_deps += [ 99 public_deps += [
100 "content/android",
101 "content/android:screen_capture_java",
100 "video/android", 102 "video/android",
101 "video/android:capture_java", 103 "video/android:capture_java",
102 ] 104 ]
103 deps += [ "video/android:capture_jni_headers" ] 105 deps += [
106 "content/android:screen_capture_jni_headers",
107 "video/android:capture_jni_headers",
108 ]
104 } 109 }
105 110
106 if (is_mac) { 111 if (is_mac) {
107 deps += [ "//third_party/decklink" ] 112 deps += [ "//third_party/decklink" ]
108 libs = [ 113 libs = [
109 "CoreFoundation.framework", 114 "CoreFoundation.framework",
110 "CoreGraphics.framework", 115 "CoreGraphics.framework",
111 "CoreVideo.framework", 116 "CoreVideo.framework",
112 "Foundation.framework", 117 "Foundation.framework",
113 ] 118 ]
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 174
170 if (is_android) { 175 if (is_android) {
171 deps += [ "//media/capture/video/android:capture_java" ] 176 deps += [ "//media/capture/video/android:capture_java" ]
172 } 177 }
173 178
174 if (is_win) { 179 if (is_win) {
175 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. 180 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations.
176 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 181 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
177 } 182 }
178 } 183 }
OLDNEW
« no previous file with comments | « content/public/android/BUILD.gn ('k') | media/capture/content/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698