summaryrefslogtreecommitdiffstats
path: root/components/cdm
diff options
context:
space:
mode:
Diffstat (limited to 'components/cdm')
-rw-r--r--components/cdm/browser/BUILD.gn18
-rw-r--r--components/cdm/common/BUILD.gn17
-rw-r--r--components/cdm/renderer/BUILD.gn25
3 files changed, 60 insertions, 0 deletions
diff --git a/components/cdm/browser/BUILD.gn b/components/cdm/browser/BUILD.gn
new file mode 100644
index 0000000..e18b670
--- /dev/null
+++ b/components/cdm/browser/BUILD.gn
@@ -0,0 +1,18 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+source_set("browser") {
+ sources = [
+ "cdm_message_filter_android.cc",
+ "cdm_message_filter_android.h",
+ ]
+
+ deps = [
+ "//base",
+ "//components/cdm/common",
+ "//content/public/browser",
+ "//content/public/common",
+ "//media",
+ ]
+}
diff --git a/components/cdm/common/BUILD.gn b/components/cdm/common/BUILD.gn
new file mode 100644
index 0000000..7af3869
--- /dev/null
+++ b/components/cdm/common/BUILD.gn
@@ -0,0 +1,17 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+static_library("common") {
+ sources = [
+ "cdm_message_generator.cc",
+ "cdm_message_generator.h",
+ "cdm_messages_android.h",
+ ]
+
+ deps = [
+ "//base",
+ "//content/public/common",
+ "//ipc",
+ ]
+}
diff --git a/components/cdm/renderer/BUILD.gn b/components/cdm/renderer/BUILD.gn
new file mode 100644
index 0000000..bc470b0
--- /dev/null
+++ b/components/cdm/renderer/BUILD.gn
@@ -0,0 +1,25 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+static_library("renderer") {
+ sources = [
+ "widevine_key_systems.cc",
+ "widevine_key_systems.h",
+ ]
+
+ if (is_android) {
+ sources += [
+ "android_key_systems.cc",
+ "android_key_systems.h",
+ ]
+ }
+
+ deps = [
+ "//base",
+ "//components/cdm/common",
+ "//content/public/common",
+ "//content/public/renderer",
+ "//third_party/widevine/cdm:version_h",
+ ]
+}