Home | History | Annotate | Download | only in winsdk_samples
      1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
      2 #
      3 # Use of this source code is governed by a BSD-style license
      4 # that can be found in the LICENSE file in the root of the source
      5 # tree. An additional intellectual property rights grant can be found
      6 # in the file PATENTS.  All contributing project authors may
      7 # be found in the AUTHORS file in the root of the source tree.
      8 
      9 if (is_win) {
     10   baseclasses_dir = "src/Samples/multimedia/directshow/baseclasses"
     11 
     12   config("winsdk_samples_config") {
     13     include_dirs = [
     14       baseclasses_dir,
     15     ]
     16   }
     17 
     18   static_library("winsdk_samples") {
     19     sources = [
     20       "$baseclasses_dir/amextra.cpp",
     21       "$baseclasses_dir/amextra.h",
     22       "$baseclasses_dir/amfilter.cpp",
     23       "$baseclasses_dir/amfilter.h",
     24       "$baseclasses_dir/amvideo.cpp",
     25       "$baseclasses_dir/cache.h",
     26       "$baseclasses_dir/combase.cpp",
     27       "$baseclasses_dir/combase.h",
     28       "$baseclasses_dir/cprop.cpp",
     29       "$baseclasses_dir/cprop.h",
     30       "$baseclasses_dir/ctlutil.cpp",
     31       "$baseclasses_dir/ctlutil.h",
     32       "$baseclasses_dir/ddmm.cpp",
     33       "$baseclasses_dir/ddmm.h",
     34       "$baseclasses_dir/dllentry.cpp",
     35       "$baseclasses_dir/dllsetup.cpp",
     36       "$baseclasses_dir/dllsetup.h",
     37       "$baseclasses_dir/fourcc.h",
     38       "$baseclasses_dir/measure.h",
     39       "$baseclasses_dir/msgthrd.h",
     40       "$baseclasses_dir/mtype.cpp",
     41       "$baseclasses_dir/mtype.h",
     42       "$baseclasses_dir/outputq.cpp",
     43       "$baseclasses_dir/outputq.h",
     44       "$baseclasses_dir/pstream.cpp",
     45       "$baseclasses_dir/pstream.h",
     46       "$baseclasses_dir/pullpin.cpp",
     47       "$baseclasses_dir/pullpin.h",
     48       "$baseclasses_dir/refclock.cpp",
     49       "$baseclasses_dir/refclock.h",
     50       "$baseclasses_dir/reftime.h",
     51       "$baseclasses_dir/renbase.cpp",
     52       "$baseclasses_dir/renbase.h",
     53       "$baseclasses_dir/schedule.cpp",
     54       "$baseclasses_dir/seekpt.cpp",
     55       "$baseclasses_dir/seekpt.h",
     56       "$baseclasses_dir/source.cpp",
     57       "$baseclasses_dir/source.h",
     58       "$baseclasses_dir/streams.h",
     59       "$baseclasses_dir/strmctl.cpp",
     60       "$baseclasses_dir/strmctl.h",
     61       "$baseclasses_dir/sysclock.cpp",
     62       "$baseclasses_dir/sysclock.h",
     63       "$baseclasses_dir/transfrm.cpp",
     64       "$baseclasses_dir/transfrm.h",
     65       "$baseclasses_dir/transip.cpp",
     66       "$baseclasses_dir/transip.h",
     67       "$baseclasses_dir/videoctl.cpp",
     68       "$baseclasses_dir/videoctl.h",
     69       "$baseclasses_dir/vtrans.cpp",
     70       "$baseclasses_dir/vtrans.h",
     71       "$baseclasses_dir/winctrl.cpp",
     72       "$baseclasses_dir/winctrl.h",
     73       "$baseclasses_dir/winutil.cpp",
     74       "$baseclasses_dir/winutil.h",
     75       "$baseclasses_dir/wxdebug.cpp",
     76       "$baseclasses_dir/wxdebug.h",
     77       "$baseclasses_dir/wxlist.cpp",
     78       "$baseclasses_dir/wxlist.h",
     79       "$baseclasses_dir/wxutil.cpp",
     80       "$baseclasses_dir/wxutil.h",
     81     ]
     82 
     83     public_configs = [ ":winsdk_samples_config" ]
     84 
     85     configs -= [
     86       "//build/config/compiler:chromium_code",
     87       "//build/config/win:nominmax",
     88     ]
     89     configs += [ "//build/config/compiler:no_chromium_code" ]
     90   }
     91 }