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

Side by Side Diff: media/base/mac/BUILD.gn

Issue 2529493002: mac: Remove more media/base/mac glue unneeded now that we target 10.9 (Closed)
Patch Set: . Created 4 years 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 assert(is_mac || is_ios) 5 assert(is_mac || is_ios)
6 6
7 source_set("mac") { 7 source_set("mac") {
8 # Note: This source_set is depended on only by //media. In the component 8 # Note: This source_set is depended on only by //media. In the component
9 # build, if other component targets also depend on it, multiple copies of 9 # build, if other component targets also depend on it, multiple copies of
10 # the ObjC classes declared in the files below will cause warnings at 10 # the ObjC classes declared in the files below will cause warnings at
11 # run-time. 11 # run-time.
12 visibility = [ "//media" ] 12 visibility = [ "//media" ]
13 13
14 set_sources_assignment_filter([]) 14 set_sources_assignment_filter([])
15 sources = [ 15 sources = [
16 "coremedia_glue.h",
17 "coremedia_glue.mm",
18 "corevideo_glue.h",
19 "video_frame_mac.cc", 16 "video_frame_mac.cc",
20 "video_frame_mac.h", 17 "video_frame_mac.h",
21 "videotoolbox_glue.h",
22 "videotoolbox_glue.mm",
23 "videotoolbox_helpers.cc", 18 "videotoolbox_helpers.cc",
24 "videotoolbox_helpers.h", 19 "videotoolbox_helpers.h",
25 ] 20 ]
26 if (is_mac) { 21 if (is_mac) {
27 sources += [
28 "avfoundation_glue.h",
29 "avfoundation_glue.mm",
30 ]
31 libs = [ 22 libs = [
32 "AVFoundation.framework", 23 "AVFoundation.framework",
24 "CoreMedia.framework",
33 "CoreVideo.framework", # Required by video_frame_mac.cc. 25 "CoreVideo.framework", # Required by video_frame_mac.cc.
26 "VideoToolbox.framework",
34 ] 27 ]
35 } 28 }
36 set_sources_assignment_filter(sources_assignment_filter) 29 set_sources_assignment_filter(sources_assignment_filter)
37 configs += [ 30 configs += [
38 "//media:media_config", 31 "//media:media_config",
39 "//media:media_implementation", 32 "//media:media_implementation",
40 ] 33 ]
41 34
42 deps = [ 35 deps = [
43 "//ppapi/features", 36 "//ppapi/features",
44 ] 37 ]
45 } 38 }
46 39
47 source_set("unit_tests") { 40 source_set("unit_tests") {
48 testonly = true 41 testonly = true
49 sources = [ 42 sources = [
50 "video_frame_mac_unittests.cc", 43 "video_frame_mac_unittests.cc",
51 ] 44 ]
52 libs = [ "CoreVideo.framework" ] 45 libs = [ "CoreVideo.framework" ]
53 configs += [ "//media:media_config" ] 46 configs += [ "//media:media_config" ]
54 deps = [ 47 deps = [
55 "//testing/gtest", 48 "//testing/gtest",
56 ] 49 ]
57 } 50 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/video_capture_manager.cc ('k') | media/base/mac/avfoundation_glue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698