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 |
11 # run-time. | 11 # run-time. |
12 visibility = [ "//media" ] | 12 visibility = [ |
| 13 "//media", |
| 14 "//media/filters", |
| 15 ] |
13 | 16 |
14 set_sources_assignment_filter([]) | 17 set_sources_assignment_filter([]) |
15 sources = [ | 18 sources = [ |
16 "video_frame_mac.cc", | 19 "video_frame_mac.cc", |
17 "video_frame_mac.h", | 20 "video_frame_mac.h", |
18 "videotoolbox_helpers.cc", | 21 "videotoolbox_helpers.cc", |
19 "videotoolbox_helpers.h", | 22 "videotoolbox_helpers.h", |
20 ] | 23 ] |
21 if (is_mac) { | 24 if (is_mac) { |
22 libs = [ | 25 libs = [ |
(...skipping 20 matching lines...) Expand all Loading... |
43 sources = [ | 46 sources = [ |
44 "video_frame_mac_unittests.cc", | 47 "video_frame_mac_unittests.cc", |
45 ] | 48 ] |
46 libs = [ "CoreVideo.framework" ] | 49 libs = [ "CoreVideo.framework" ] |
47 configs += [ "//media:media_config" ] | 50 configs += [ "//media:media_config" ] |
48 deps = [ | 51 deps = [ |
49 "//testing/gtest", | 52 "//testing/gtest", |
50 "//ui/gfx:color_space", | 53 "//ui/gfx:color_space", |
51 ] | 54 ] |
52 } | 55 } |
OLD | NEW |