| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 if (is_mac) { | 87 if (is_mac) { |
| 88 sources -= [ | 88 sources -= [ |
| 89 "npapi/plugin_instance_mac.mm", | 89 "npapi/plugin_instance_mac.mm", |
| 90 "npapi/plugin_web_event_converter_mac.h", | 90 "npapi/plugin_web_event_converter_mac.h", |
| 91 "npapi/plugin_web_event_converter_mac.mm", | 91 "npapi/plugin_web_event_converter_mac.mm", |
| 92 "npapi/webplugin_accelerated_surface_mac.h", | 92 "npapi/webplugin_accelerated_surface_mac.h", |
| 93 "npapi/webplugin_delegate_impl_mac.mm", | 93 "npapi/webplugin_delegate_impl_mac.mm", |
| 94 ] | 94 ] |
| 95 } else if (is_win) { | 95 } else if (is_win) { |
| 96 sources -= [ | 96 sources -= [ "npapi/webplugin_delegate_impl_win.cc" ] |
| 97 "npapi/webplugin_delegate_impl_win.cc", | |
| 98 "npapi/webplugin_ime_win.cc", | |
| 99 "npapi/webplugin_ime_win.h", | |
| 100 ] | |
| 101 } else if (is_android) { | 97 } else if (is_android) { |
| 102 sources -= [ "npapi/webplugin_delegate_impl_android.cc" ] | 98 sources -= [ "npapi/webplugin_delegate_impl_android.cc" ] |
| 103 } | 99 } |
| 104 if (use_aura) { | 100 if (use_aura) { |
| 105 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] | 101 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
| 106 } | 102 } |
| 107 } | 103 } |
| 108 | 104 |
| 109 configs += [ | 105 configs += [ |
| 110 "//content:content_implementation", | 106 "//content:content_implementation", |
| 111 "//build/config/compiler:no_size_t_to_int_warning", | 107 "//build/config/compiler:no_size_t_to_int_warning", |
| 112 ] | 108 ] |
| 113 | 109 |
| 114 if (use_aura && is_mac) { | 110 if (use_aura && is_mac) { |
| 115 # This file is already excluded on non-Mac. | 111 # This file is already excluded on non-Mac. |
| 116 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] | 112 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] |
| 117 } | 113 } |
| 118 | 114 |
| 119 if (is_win || !use_aura) { | 115 if (is_win || !use_aura) { |
| 120 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] | 116 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
| 121 } | 117 } |
| 122 } | 118 } |
| OLD | NEW |