From 6e44c30f2dc7371711503b0a942da01180206c47 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Tue, 22 Jul 2014 21:51:37 +0000 Subject: Enable more tests in GN build. Add components/cdm, components/sync_driver, ui/app_list, Update file lists that got out of sync with GYP to to not having any targets that actually link them. Move cc:cc_surfaces to cc/surfaces Enable linking cc_unittests, cc_perftests, app_list_unittests, message_center_unittests TBR=jamesr Review URL: https://codereview.chromium.org/399683005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284784 0039d316-1c4b-4281-b951-d872f2087c98 --- components/cdm/browser/BUILD.gn | 18 ++++++++++++++++++ components/cdm/common/BUILD.gn | 17 +++++++++++++++++ components/cdm/renderer/BUILD.gn | 25 +++++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 components/cdm/browser/BUILD.gn create mode 100644 components/cdm/common/BUILD.gn create mode 100644 components/cdm/renderer/BUILD.gn (limited to 'components/cdm') 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", + ] +} -- cgit v1.1