Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(527)

Side by Side Diff: media/cdm/ppapi/BUILD.gn

Issue 1318343003: Annotate GN executables and shared_libraries with sanitizer deps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/cast/BUILD.gn ('k') | mojo/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//chrome/version.gni") # TODO layering violation! 6 import("//chrome/version.gni") # TODO layering violation!
7 import("//media/cdm/ppapi/cdm_adapter.gni") 7 import("//media/cdm/ppapi/cdm_adapter.gni")
8 8
9 # Android doesn't use ffmpeg. 9 # Android doesn't use ffmpeg.
10 use_ffmpeg = !is_android 10 use_ffmpeg = !is_android
(...skipping 12 matching lines...) Expand all
23 "external_clear_key/clear_key_cdm_common.h", 23 "external_clear_key/clear_key_cdm_common.h",
24 ] 24 ]
25 25
26 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 26 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
27 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 27 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
28 28
29 defines = [ "CDM_IMPLEMENTATION" ] 29 defines = [ "CDM_IMPLEMENTATION" ]
30 30
31 deps = [ 31 deps = [
32 "//base", 32 "//base",
33 "//build/config/sanitizers:deps",
33 "//media", # For media::AudioTimestampHelper 34 "//media", # For media::AudioTimestampHelper
34 "//media:shared_memory_support", # For media::AudioBus. 35 "//media:shared_memory_support", # For media::AudioBus.
35 "//url", 36 "//url",
36 ] 37 ]
37 38
38 if (use_ffmpeg) { 39 if (use_ffmpeg) {
39 sources += [ 40 sources += [
40 "external_clear_key/ffmpeg_cdm_audio_decoder.cc", 41 "external_clear_key/ffmpeg_cdm_audio_decoder.cc",
41 "external_clear_key/ffmpeg_cdm_audio_decoder.h", 42 "external_clear_key/ffmpeg_cdm_audio_decoder.h",
42 "external_clear_key/ffmpeg_cdm_video_decoder.cc", 43 "external_clear_key/ffmpeg_cdm_video_decoder.cc",
(...skipping 18 matching lines...) Expand all
61 62
62 cdm_adapter("clearkeycdmadapter") { 63 cdm_adapter("clearkeycdmadapter") {
63 # Check whether the plugin's origin URL is valid. 64 # Check whether the plugin's origin URL is valid.
64 defines = [ "CHECK_DOCUMENT_URL" ] 65 defines = [ "CHECK_DOCUMENT_URL" ]
65 deps = [ 66 deps = [
66 ":clearkeycdm", 67 ":clearkeycdm",
67 ":clearkeycdmadapter_resources", 68 ":clearkeycdmadapter_resources",
68 "//ppapi/cpp", 69 "//ppapi/cpp",
69 ] 70 ]
70 } 71 }
OLDNEW
« no previous file with comments | « media/cast/BUILD.gn ('k') | mojo/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698