summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/rtc_base/win/BUILD.gn
blob: cf8bc21950dfe77ba22ebe4a8461bfe0ec440dd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Copyright (c) 2021 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS.  All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../webrtc.gni")

rtc_library("create_direct3d_device") {
  sources = [
    "create_direct3d_device.cc",
    "create_direct3d_device.h",
  ]
  data_deps = [ "//build/win:runtime_libs" ]
}

rtc_library("get_activation_factory") {
  sources = [
    "get_activation_factory.cc",
    "get_activation_factory.h",
  ]
  data_deps = [ "//build/win:runtime_libs" ]
  deps = [ ":hstring" ]
}

rtc_library("hstring") {
  sources = [
    "hstring.cc",
    "hstring.h",
  ]
  data_deps = [ "//build/win:runtime_libs" ]
}

rtc_library("scoped_com_initializer") {
  sources = [
    "scoped_com_initializer.cc",
    "scoped_com_initializer.h",
  ]
  data_deps = [ "//build/win:runtime_libs" ]
  deps = [
    "..:checks",
    "..:logging",
  ]
}

rtc_library("windows_version") {
  sources = [
    "windows_version.cc",
    "windows_version.h",
  ]
  data_deps = [ "//build/win:runtime_libs" ]
  deps = [
    "..:checks",
    "..:stringutils",
  ]
}

rtc_library("windows_version_unittest") {
  testonly = true
  sources = [ "windows_version_unittest.cc" ]
  deps = [
    ":windows_version",
    "..:gunit_helpers",
    "..:logging",
  ]
}