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