| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 if (is_mac) { | 78 if (is_mac) { |
| 79 sources -= [ | 79 sources -= [ |
| 80 "npapi/plugin_instance_mac.mm", | 80 "npapi/plugin_instance_mac.mm", |
| 81 "npapi/plugin_web_event_converter_mac.h", | 81 "npapi/plugin_web_event_converter_mac.h", |
| 82 "npapi/plugin_web_event_converter_mac.mm", | 82 "npapi/plugin_web_event_converter_mac.mm", |
| 83 "npapi/webplugin_accelerated_surface_mac.h", | 83 "npapi/webplugin_accelerated_surface_mac.h", |
| 84 "npapi/webplugin_delegate_impl_mac.mm", | 84 "npapi/webplugin_delegate_impl_mac.mm", |
| 85 ] | 85 ] |
| 86 } else if (is_win) { | 86 } else if (is_win) { |
| 87 sources -= [ "npapi/webplugin_delegate_impl_win.cc" ] | 87 sources -= [ |
| 88 "npapi/webplugin_delegate_impl_win.cc", |
| 89 "npapi/webplugin_ime_win.cc", |
| 90 "npapi/webplugin_ime_win.h", |
| 91 ] |
| 88 } else if (is_android) { | 92 } else if (is_android) { |
| 89 sources -= [ "npapi/webplugin_delegate_impl_android.cc" ] | 93 sources -= [ "npapi/webplugin_delegate_impl_android.cc" ] |
| 90 } | 94 } |
| 91 if (use_aura) { | 95 if (use_aura) { |
| 92 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] | 96 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
| 93 } | 97 } |
| 94 } | 98 } |
| 95 | 99 |
| 96 configs += [ | 100 configs += [ |
| 97 "//content:content_implementation", | 101 "//content:content_implementation", |
| (...skipping 20 matching lines...) Expand all Loading... |
| 118 | 122 |
| 119 if (use_aura && is_mac) { | 123 if (use_aura && is_mac) { |
| 120 # This file is already excluded on non-Mac. | 124 # This file is already excluded on non-Mac. |
| 121 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] | 125 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] |
| 122 } | 126 } |
| 123 | 127 |
| 124 if (is_win || !use_aura) { | 128 if (is_win || !use_aura) { |
| 125 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] | 129 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
| 126 } | 130 } |
| 127 } | 131 } |
| OLD | NEW |