Florent Castelli | 15a3c3f | 2022-04-27 10:33:27 +0200 | [diff] [blame] | 1 | # Copyright (c) 2021 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 | import("../../webrtc.gni") |
| 10 | |
| 11 | rtc_library("create_direct3d_device") { |
| 12 | sources = [ |
| 13 | "create_direct3d_device.cc", |
| 14 | "create_direct3d_device.h", |
| 15 | ] |
| 16 | data_deps = [ "//build/win:runtime_libs" ] |
| 17 | } |
| 18 | |
| 19 | rtc_library("get_activation_factory") { |
| 20 | sources = [ |
| 21 | "get_activation_factory.cc", |
| 22 | "get_activation_factory.h", |
| 23 | ] |
| 24 | data_deps = [ "//build/win:runtime_libs" ] |
| 25 | deps = [ ":hstring" ] |
| 26 | } |
| 27 | |
| 28 | rtc_library("hstring") { |
| 29 | sources = [ |
| 30 | "hstring.cc", |
| 31 | "hstring.h", |
| 32 | ] |
| 33 | data_deps = [ "//build/win:runtime_libs" ] |
| 34 | } |
| 35 | |
| 36 | rtc_library("scoped_com_initializer") { |
| 37 | sources = [ |
| 38 | "scoped_com_initializer.cc", |
| 39 | "scoped_com_initializer.h", |
| 40 | ] |
| 41 | data_deps = [ "//build/win:runtime_libs" ] |
| 42 | deps = [ |
| 43 | "..:checks", |
| 44 | "..:logging", |
| 45 | ] |
| 46 | } |
| 47 | |
| 48 | rtc_library("windows_version") { |
| 49 | sources = [ |
| 50 | "windows_version.cc", |
| 51 | "windows_version.h", |
| 52 | ] |
| 53 | data_deps = [ "//build/win:runtime_libs" ] |
| 54 | deps = [ |
| 55 | "..:checks", |
| 56 | "..:stringutils", |
| 57 | ] |
| 58 | } |
| 59 | |
| 60 | rtc_library("windows_version_unittest") { |
| 61 | testonly = true |
| 62 | sources = [ "windows_version_unittest.cc" ] |
| 63 | deps = [ |
| 64 | ":windows_version", |
| 65 | "..:gunit_helpers", |
| 66 | "..:logging", |
| 67 | ] |
| 68 | } |