diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-22 21:51:37 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-22 21:51:37 +0000 |
commit | 6e44c30f2dc7371711503b0a942da01180206c47 (patch) | |
tree | fbf495be8b542af2a2e965cf61971bb0ec13b25f /components/cdm | |
parent | b46e7e96b7ab0d29e5590dcc8382d5429e3ec5aa (diff) | |
download | chromium_src-6e44c30f2dc7371711503b0a942da01180206c47.zip chromium_src-6e44c30f2dc7371711503b0a942da01180206c47.tar.gz chromium_src-6e44c30f2dc7371711503b0a942da01180206c47.tar.bz2 |
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
Diffstat (limited to 'components/cdm')
-rw-r--r-- | components/cdm/browser/BUILD.gn | 18 | ||||
-rw-r--r-- | components/cdm/common/BUILD.gn | 17 | ||||
-rw-r--r-- | components/cdm/renderer/BUILD.gn | 25 |
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", + ] +} |