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

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

Issue 1087873003: Fix errors found in Mac gn component builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to fix sandbox_mac_unittests Created 5 years, 8 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
« no previous file with comments | « media/base/BUILD.gn ('k') | media/cast/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 set_sources_assignment_filter([]) 8 set_sources_assignment_filter([])
9 sources = [ 9 sources = [
10 "coremedia_glue.h", 10 "coremedia_glue.h",
11 "coremedia_glue.mm", 11 "coremedia_glue.mm",
12 "corevideo_glue.h", 12 "corevideo_glue.h",
13 "video_frame_mac.cc", 13 "video_frame_mac.cc",
14 "video_frame_mac.h", 14 "video_frame_mac.h",
15 "videotoolbox_glue.h", 15 "videotoolbox_glue.h",
16 "videotoolbox_glue.mm", 16 "videotoolbox_glue.mm",
17 ] 17 ]
18 if (is_mac) { 18 if (is_mac) {
19 sources += [ 19 sources += [
20 "avfoundation_glue.h", 20 "avfoundation_glue.h",
21 "avfoundation_glue.mm", 21 "avfoundation_glue.mm",
22 ] 22 ]
23 libs = [
24 # Required by video_frame_mac.cc.
25 "CoreVideo.framework",
26 ]
23 } 27 }
24 set_sources_assignment_filter(sources_assignment_filter) 28 set_sources_assignment_filter(sources_assignment_filter)
25 configs += [ "//media:media_config" ] 29 configs += [ "//media:media_config" ]
26 } 30 }
27 31
28 source_set("unittests") { 32 source_set("unittests") {
29 testonly = true 33 testonly = true
30 sources = [ 34 sources = [
31 "video_frame_mac_unittests.cc", 35 "video_frame_mac_unittests.cc",
32 ] 36 ]
33 configs += [ "//media:media_config" ] 37 configs += [ "//media:media_config" ]
34 deps = [ 38 deps = [
35 "//testing/gtest", 39 "//testing/gtest",
36 ] 40 ]
37 } 41 }
OLDNEW
« no previous file with comments | « media/base/BUILD.gn ('k') | media/cast/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698