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

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

Issue 2512563003: Convert enable_plugins to a buildflag header. (Closed)
Patch Set: Merge Created 4 years, 1 month 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/base/media_switches.h » ('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 # 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
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 }
OLDNEW
« no previous file with comments | « media/base/BUILD.gn ('k') | media/base/media_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698