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("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//media/gpu/args.gni") | 7 import("//media/gpu/args.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 | 10 |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 178 |
179 if (is_mac) { | 179 if (is_mac) { |
180 sources += [ | 180 sources += [ |
181 "vt_mac.h", | 181 "vt_mac.h", |
182 "vt_video_decode_accelerator_mac.cc", | 182 "vt_video_decode_accelerator_mac.cc", |
183 "vt_video_decode_accelerator_mac.h", | 183 "vt_video_decode_accelerator_mac.h", |
184 "vt_video_encode_accelerator_mac.cc", | 184 "vt_video_encode_accelerator_mac.cc", |
185 "vt_video_encode_accelerator_mac.h", | 185 "vt_video_encode_accelerator_mac.h", |
186 ] + get_target_outputs(":libvt_generate_stubs") | 186 ] + get_target_outputs(":libvt_generate_stubs") |
187 deps += [ ":libvt_generate_stubs" ] | 187 deps += [ ":libvt_generate_stubs" ] |
188 lib_dirs = [ "$mac_sdk_path/usr/lib" ] | 188 libs += [ |
189 libs = [ | 189 "CoreFoundation.framework", |
190 "AVFoundation.framework", | 190 "Foundation.framework", |
191 "CoreMedia.framework", | |
192 "CoreVideo.framework", | |
193 "IOSurface.framework", | |
194 "QuartzCore.framework", | 191 "QuartzCore.framework", |
195 "sandbox", | |
196 ] | 192 ] |
197 } | 193 } |
198 | 194 |
199 if (is_android) { | 195 if (is_android) { |
200 sources += [ | 196 sources += [ |
201 "android_copying_backing_strategy.cc", | 197 "android_copying_backing_strategy.cc", |
202 "android_copying_backing_strategy.h", | 198 "android_copying_backing_strategy.h", |
203 "android_deferred_rendering_backing_strategy.cc", | 199 "android_deferred_rendering_backing_strategy.cc", |
204 "android_deferred_rendering_backing_strategy.h", | 200 "android_deferred_rendering_backing_strategy.h", |
205 "android_video_decode_accelerator.cc", | 201 "android_video_decode_accelerator.cc", |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 "video_encode_accelerator_unittest.cc", | 433 "video_encode_accelerator_unittest.cc", |
438 ] | 434 ] |
439 if (use_x11) { | 435 if (use_x11) { |
440 deps += [ "//ui/gfx/x" ] | 436 deps += [ "//ui/gfx/x" ] |
441 } | 437 } |
442 if (use_ozone) { | 438 if (use_ozone) { |
443 deps += [ "//ui/ozone" ] | 439 deps += [ "//ui/ozone" ] |
444 } | 440 } |
445 } | 441 } |
446 } | 442 } |
OLD | NEW |