Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Side by Side Diff: content/child/BUILD.gn

Issue 458053002: Refactor webkit resources targets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 "//content/app/strings", 90 "//content/app/strings",
91 "//crypto:platform", 91 "//crypto:platform",
92 "//third_party/WebKit/public:blink", 92 "//third_party/WebKit/public:blink",
93 "//third_party/WebKit/public:resources",
93 "//third_party/npapi", 94 "//third_party/npapi",
94 "//webkit:resources",
95 "//webkit/child", 95 "//webkit/child",
96 "//webkit/common", 96 "//webkit/common",
97 "//webkit/glue/resources",
97 ] 98 ]
98 } 99 }
99 100
100 if (use_aura && is_mac) { 101 if (use_aura && is_mac) {
101 # This file is already excluded on non-Mac. 102 # This file is already excluded on non-Mac.
102 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] 103 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ]
103 } 104 }
104 105
105 if (is_win || !use_aura) { 106 if (is_win || !use_aura) {
106 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] 107 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ]
107 } 108 }
108 109
109 if (!use_openssl) { 110 if (!use_openssl) {
110 sources += rebase_path(content_child_gypi_values.webcrypto_nss_sources, 111 sources += rebase_path(content_child_gypi_values.webcrypto_nss_sources,
111 ".", "//content") 112 ".", "//content")
112 } else { 113 } else {
113 sources += rebase_path(content_child_gypi_values.webcrypto_openssl_sources, 114 sources += rebase_path(content_child_gypi_values.webcrypto_openssl_sources,
114 ".", "//content") 115 ".", "//content")
115 } 116 }
116 } 117 }
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698