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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 "//content:content_implementation", | 81 "//content:content_implementation", |
82 ] | 82 ] |
83 | 83 |
84 if (is_ios) { | 84 if (is_ios) { |
85 # iOS only needs a small portion of content; exclude all the | 85 # iOS only needs a small portion of content; exclude all the |
86 # implementation, and re-include what is used. | 86 # implementation, and re-include what is used. |
87 sources = [] | 87 sources = [] |
88 } else { | 88 } else { |
89 deps += [ | 89 deps += [ |
90 "//crypto:platform", | 90 "//crypto:platform", |
91 #"//third_party/WebKit/public:blink", # TODO(GYP) | 91 "//third_party/WebKit/public:blink", |
92 "//third_party/npapi", | 92 "//third_party/npapi", |
93 "//webkit:resources", | 93 "//webkit:resources", |
94 "//webkit:strings", | 94 "//webkit:strings", |
95 "//webkit/child", | 95 "//webkit/child", |
96 "//webkit/common", | 96 "//webkit/common", |
97 ] | 97 ] |
98 } | 98 } |
99 | 99 |
100 if (use_aura && is_mac) { | 100 if (use_aura && is_mac) { |
101 # This file is already excluded on non-Mac. | 101 # This file is already excluded on non-Mac. |
102 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] | 102 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] |
103 } | 103 } |
104 | 104 |
105 if (is_win) { | 105 if (is_win) { |
106 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] | 106 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
107 } | 107 } |
108 | 108 |
109 if (!use_openssl) { | 109 if (!use_openssl) { |
110 sources -= [ "webcrypto/platform_crypto_openssl.cc" ] | 110 sources -= [ "webcrypto/platform_crypto_openssl.cc" ] |
111 } else { | 111 } else { |
112 sources -= [ "webcrypto/platform_crypto_nss.cc" ] | 112 sources -= [ "webcrypto/platform_crypto_nss.cc" ] |
113 } | 113 } |
114 } | 114 } |
OLD | NEW |