| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 # iOS only needs a small portion of content; exclude all the | 106 # iOS only needs a small portion of content; exclude all the |
| 107 # implementation, and re-include what is used. | 107 # implementation, and re-include what is used. |
| 108 sources = [] | 108 sources = [] |
| 109 } else { | 109 } else { |
| 110 deps += [ | 110 deps += [ |
| 111 "//components/scheduler:scheduler", | 111 "//components/scheduler:scheduler", |
| 112 "//content/app/resources", | 112 "//content/app/resources", |
| 113 "//content/app/strings", | 113 "//content/app/strings", |
| 114 "//crypto:platform", | 114 "//crypto:platform", |
| 115 "//storage/common", | 115 "//storage/common", |
| 116 "//third_party/WebKit/public:blink", | 116 "//third_party/WebKit/public:blink_headers", |
| 117 "//third_party/WebKit/public:image_resources", | 117 "//third_party/WebKit/public:image_resources", |
| 118 "//third_party/WebKit/public:resources", | 118 "//third_party/WebKit/public:resources", |
| 119 "//third_party/npapi", | 119 "//third_party/npapi", |
| 120 ] | 120 ] |
| 121 } | 121 } |
| 122 | 122 |
| 123 if (use_aura && is_mac) { | 123 if (use_aura && is_mac) { |
| 124 # This file is already excluded on non-Mac. | 124 # This file is already excluded on non-Mac. |
| 125 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] | 125 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] |
| 126 } | 126 } |
| 127 | 127 |
| 128 if (is_win || !use_aura) { | 128 if (is_win || !use_aura) { |
| 129 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] | 129 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
| 130 } | 130 } |
| 131 } | 131 } |
| OLD | NEW |