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

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

Issue 1961473003: [Mac/GN] Set up the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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("//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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698