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 3# found in the LICENSE file. 4 5assert(is_mac || is_ios) 6 7source_set("mac") { 8 set_sources_assignment_filter([]) 9 sources = [ 10 "coremedia_glue.h", 11 "coremedia_glue.mm", 12 "corevideo_glue.h", 13 "videotoolbox_glue.h", 14 "videotoolbox_glue.mm", 15 ] 16 if (is_mac) { 17 sources += [ 18 "avfoundation_glue.h", 19 "avfoundation_glue.mm", 20 ] 21 } 22 set_sources_assignment_filter(sources_assignment_filter) 23} 24