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/child/child.gni") | 7 import("//content/child/child.gni") |
8 | 8 |
9 source_set("child") { | 9 source_set("child") { |
10 # Only the public target should depend on this. All other targets (even | 10 # Only the public target should depend on this. All other targets (even |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 } | 62 } |
63 } else { | 63 } else { |
64 sources -= [ | 64 sources -= [ |
65 "browser_font_resource_trusted.cc", | 65 "browser_font_resource_trusted.cc", |
66 "npapi/plugin_host.cc", | 66 "npapi/plugin_host.cc", |
67 "npapi/plugin_host.h", | 67 "npapi/plugin_host.h", |
68 "npapi/plugin_instance.cc", | 68 "npapi/plugin_instance.cc", |
69 "npapi/plugin_instance.h", | 69 "npapi/plugin_instance.h", |
70 "npapi/plugin_lib.cc", | 70 "npapi/plugin_lib.cc", |
71 "npapi/plugin_lib.h", | 71 "npapi/plugin_lib.h", |
72 "npapi/plugin_stream.cc", | |
73 "npapi/plugin_stream.h", | |
74 "npapi/plugin_stream_posix.cc", | |
75 "npapi/plugin_stream_url.cc", | |
76 "npapi/plugin_stream_url.h", | |
77 "npapi/plugin_string_stream.cc", | |
78 "npapi/plugin_string_stream.h", | |
79 "npapi/plugin_url_fetcher.cc", | |
80 "npapi/plugin_url_fetcher.h", | |
81 "npapi/webplugin.h", | 72 "npapi/webplugin.h", |
82 "npapi/webplugin_delegate.h", | 73 "npapi/webplugin_delegate.h", |
83 "npapi/webplugin_delegate_impl.cc", | 74 "npapi/webplugin_delegate_impl.cc", |
84 "npapi/webplugin_delegate_impl.h", | 75 "npapi/webplugin_delegate_impl.h", |
85 "npapi/webplugin_resource_client.h", | 76 "npapi/webplugin_resource_client.h", |
86 ] | 77 ] |
87 | 78 |
88 if (is_mac) { | 79 if (is_mac) { |
89 sources -= [ | 80 sources -= [ |
90 "npapi/plugin_instance_mac.mm", | 81 "npapi/plugin_instance_mac.mm", |
91 "npapi/plugin_web_event_converter_mac.h", | 82 "npapi/plugin_web_event_converter_mac.h", |
92 "npapi/plugin_web_event_converter_mac.mm", | 83 "npapi/plugin_web_event_converter_mac.mm", |
93 "npapi/webplugin_accelerated_surface_mac.h", | 84 "npapi/webplugin_accelerated_surface_mac.h", |
94 "npapi/webplugin_delegate_impl_mac.mm", | 85 "npapi/webplugin_delegate_impl_mac.mm", |
95 ] | 86 ] |
96 } else if (is_win) { | 87 } else if (is_win) { |
97 sources -= [ | 88 sources -= [ |
98 "npapi/plugin_stream_win.cc", | |
99 "npapi/webplugin_delegate_impl_win.cc", | 89 "npapi/webplugin_delegate_impl_win.cc", |
100 "npapi/webplugin_ime_win.cc", | 90 "npapi/webplugin_ime_win.cc", |
101 "npapi/webplugin_ime_win.h", | 91 "npapi/webplugin_ime_win.h", |
102 ] | 92 ] |
103 } else if (is_android) { | 93 } else if (is_android) { |
104 sources -= [ "npapi/webplugin_delegate_impl_android.cc" ] | 94 sources -= [ "npapi/webplugin_delegate_impl_android.cc" ] |
105 } | 95 } |
106 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] | 96 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
107 } | 97 } |
108 | 98 |
(...skipping 18 matching lines...) Expand all Loading... |
127 "//third_party/WebKit/public:resources", | 117 "//third_party/WebKit/public:resources", |
128 "//third_party/npapi", | 118 "//third_party/npapi", |
129 ] | 119 ] |
130 } | 120 } |
131 | 121 |
132 if (use_aura && is_mac) { | 122 if (use_aura && is_mac) { |
133 # This file is already excluded on non-Mac. | 123 # This file is already excluded on non-Mac. |
134 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] | 124 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] |
135 } | 125 } |
136 } | 126 } |
OLD | NEW |