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