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

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

Issue 960413003: Apply gn format with 'sources' sorting to src/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-format-sort-2
Patch Set: . Created 5 years, 9 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
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 } 47 }
48 48
49 # TODO(GYP) on Mac: 'DYLIB_INSTALL_NAME_BASE': '@loader_path', 49 # TODO(GYP) on Mac: 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
50 } 50 }
51 51
52 clearkeycdmadapter_rc_file = "$target_gen_dir/clearkeycdmadapter_version.rc" 52 clearkeycdmadapter_rc_file = "$target_gen_dir/clearkeycdmadapter_version.rc"
53 53
54 process_version("clearkeycdmadapter_resources") { 54 process_version("clearkeycdmadapter_resources") {
55 visibility = [ ":*" ] 55 visibility = [ ":*" ]
56 sources = [ 56 sources = [
57 "//media/clearkeycdmadapter.ver",
57 "external_clear_key/BRANDING", 58 "external_clear_key/BRANDING",
58 "//media/clearkeycdmadapter.ver",
59 ] 59 ]
60 output = clearkeycdmadapter_rc_file 60 output = clearkeycdmadapter_rc_file
61 } 61 }
62 62
63 cdm_adapter("clearkeycdmadapter") { 63 cdm_adapter("clearkeycdmadapter") {
64 sources = [ 64 sources = [
65 clearkeycdmadapter_rc_file, 65 clearkeycdmadapter_rc_file,
66 ] 66 ]
67 67
68 # Check whether the plugin's origin URL is valid. 68 # Check whether the plugin's origin URL is valid.
69 defines = [ "CHECK_DOCUMENT_URL" ] 69 defines = [ "CHECK_DOCUMENT_URL" ]
70 deps = [ 70 deps = [
71 ":clearkeycdm", 71 ":clearkeycdm",
72 ":clearkeycdmadapter_resources", 72 ":clearkeycdmadapter_resources",
73 "//ppapi/cpp", 73 "//ppapi/cpp",
74 ] 74 ]
75 75
76 if (is_posix && !is_mac && enable_pepper_cdms) { 76 if (is_posix && !is_mac && enable_pepper_cdms) {
77 # Because clearkeycdm has type 'loadable_module', we must explicitly 77 # Because clearkeycdm has type 'loadable_module', we must explicitly
78 # specify this dependency. 78 # specify this dependency.
79 ldflags = [ rebase_path("$root_out_dir/libclearkeycdm.so", root_build_dir) ] 79 ldflags = [ rebase_path("$root_out_dir/libclearkeycdm.so", root_build_dir) ]
80 libs = [ "rt" ] 80 libs = [ "rt" ]
81 } 81 }
82 } 82 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698