OLD | NEW |
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("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/renderer/renderer.gni") | 7 import("//content/renderer/renderer.gni") |
8 | 8 |
9 source_set("renderer") { | 9 source_set("renderer") { |
10 # Only targets in the content tree can depend directly on this target. | 10 # Only targets in the content tree can depend directly on this target. |
11 visibility = [ "//content/*" ] | 11 visibility = [ "//content/*" ] |
12 | 12 |
13 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, | 13 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, |
14 ".", "//content") | 14 ".", "//content") |
15 | 15 |
16 configs += [ | 16 configs += [ |
17 "//content:content_implementation", | 17 "//content:content_implementation", |
18 "//content:libjingle_stub_config", | 18 "//content:libjingle_stub_config", |
19 "//content:widevine_stub_config", | |
20 ] | 19 ] |
21 | 20 |
22 deps = [ | 21 deps = [ |
23 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but | 22 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but |
24 # those don't cross component boundaries. | 23 # those don't cross component boundaries. |
25 "//crypto:platform", | 24 "//crypto:platform", |
26 | 25 |
27 "//base/allocator", | 26 "//base/allocator", |
28 "//content:resources", | 27 "//content:resources", |
29 "//content/common:mojo_bindings", | 28 "//content/common:mojo_bindings", |
30 "//gin", | 29 "//gin", |
| 30 "//mojo/environment:chromium", |
31 "//mojo/public/js/bindings", | 31 "//mojo/public/js/bindings", |
32 "//mojo/public/interfaces/service_provider", | 32 "//mojo/public/interfaces/service_provider", |
33 "//net", | 33 "//net", |
34 "//skia", | 34 "//skia", |
35 "//third_party/icu", | 35 "//third_party/icu", |
36 "//third_party/npapi", | 36 "//third_party/npapi", |
37 "//third_party/WebKit/public:blink_headers", | 37 "//third_party/WebKit/public:blink_headers", |
| 38 "//third_party/widevine/cdm:version_h", |
38 "//ui/accessibility", | 39 "//ui/accessibility", |
39 "//ui/events:dom4_keycode_converter", | 40 "//ui/events:dom4_keycode_converter", |
40 "//ui/native_theme", | 41 "//ui/native_theme", |
41 "//ui/surface", | 42 "//ui/surface", |
42 "//v8", | 43 "//v8", |
43 "//webkit/child", | 44 "//webkit/child", |
44 "//webkit/common", | 45 "//webkit/common", |
45 "//webkit/common:storage", | 46 "//webkit/common:storage", |
46 "//webkit/common/gpu", | 47 "//webkit/common/gpu", |
47 # TODO(GYP) | 48 # TODO(GYP) |
48 #'../jingle/jingle.gyp:jingle_glue', | 49 #'../jingle/jingle.gyp:jingle_glue', |
49 #'../media/media.gyp:media', | 50 #'../media/media.gyp:media', |
50 #'../mojo/mojo.gyp:mojo_environment_chromium', | |
51 #'../third_party/WebKit/public/blink.gyp:blink', | 51 #'../third_party/WebKit/public/blink.gyp:blink', |
52 #'../third_party/libjingle/libjingle.gyp:libjingle', | 52 #'../third_party/libjingle/libjingle.gyp:libjingle', |
53 #'../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', | |
54 ] | 53 ] |
55 | 54 |
56 if (!enable_notifications) { | 55 if (!enable_notifications) { |
57 sources -= [ | 56 sources -= [ |
58 "notification_provider.cc", | 57 "notification_provider.cc", |
59 "active_notification_tracker.cc", | 58 "active_notification_tracker.cc", |
60 ] | 59 ] |
61 } | 60 } |
62 | 61 |
63 if (is_mac) { | 62 if (is_mac) { |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 ".", "//content") | 169 ".", "//content") |
171 } | 170 } |
172 | 171 |
173 if (!enable_pepper_cdms) { | 172 if (!enable_pepper_cdms) { |
174 sources -= [ | 173 sources -= [ |
175 "renderer/media/crypto/ppapi_decryptor.cc", | 174 "renderer/media/crypto/ppapi_decryptor.cc", |
176 "renderer/media/crypto/ppapi_decryptor.h", | 175 "renderer/media/crypto/ppapi_decryptor.h", |
177 ] | 176 ] |
178 } | 177 } |
179 } | 178 } |
OLD | NEW |