OLD | NEW |
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 |
(...skipping 20 matching lines...) Expand all Loading... |
31 libs = [ | 31 libs = [ |
32 "AVFoundation.framework", | 32 "AVFoundation.framework", |
33 "CoreVideo.framework", # Required by video_frame_mac.cc. | 33 "CoreVideo.framework", # Required by video_frame_mac.cc. |
34 ] | 34 ] |
35 } | 35 } |
36 set_sources_assignment_filter(sources_assignment_filter) | 36 set_sources_assignment_filter(sources_assignment_filter) |
37 configs += [ | 37 configs += [ |
38 "//media:media_config", | 38 "//media:media_config", |
39 "//media:media_implementation", | 39 "//media:media_implementation", |
40 ] | 40 ] |
| 41 |
| 42 deps = [ |
| 43 "//ppapi/features", |
| 44 ] |
41 } | 45 } |
42 | 46 |
43 source_set("unit_tests") { | 47 source_set("unit_tests") { |
44 testonly = true | 48 testonly = true |
45 sources = [ | 49 sources = [ |
46 "video_frame_mac_unittests.cc", | 50 "video_frame_mac_unittests.cc", |
47 ] | 51 ] |
48 libs = [ "CoreVideo.framework" ] | 52 libs = [ "CoreVideo.framework" ] |
49 configs += [ "//media:media_config" ] | 53 configs += [ "//media:media_config" ] |
50 deps = [ | 54 deps = [ |
51 "//testing/gtest", | 55 "//testing/gtest", |
52 ] | 56 ] |
53 } | 57 } |
OLD | NEW |