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

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

Issue 929793006: Update existing uses of /wd4267 to use the GN config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x64
Patch Set: Created 5 years, 10 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
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 "npapi/webplugin_ime_win.h", 90 "npapi/webplugin_ime_win.h",
91 ] 91 ]
92 } else if (is_android) { 92 } else if (is_android) {
93 sources -= [ "npapi/webplugin_delegate_impl_android.cc" ] 93 sources -= [ "npapi/webplugin_delegate_impl_android.cc" ]
94 } 94 }
95 if (use_aura) { 95 if (use_aura) {
96 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] 96 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ]
97 } 97 }
98 } 98 }
99 99
100 configs += [ "//content:content_implementation" ] 100 configs += [
101 "//content:content_implementation",
102 "//build/config/compiler:no_size_t_to_int_warning",
103 ]
101 104
102 if (is_ios) { 105 if (is_ios) {
103 # iOS only needs a small portion of content; exclude all the 106 # iOS only needs a small portion of content; exclude all the
104 # implementation, and re-include what is used. 107 # implementation, and re-include what is used.
105 sources = [] 108 sources = []
106 } else { 109 } else {
107 deps += [ 110 deps += [
108 "//content/app/resources", 111 "//content/app/resources",
109 "//content/app/strings", 112 "//content/app/strings",
110 "//crypto:platform", 113 "//crypto:platform",
(...skipping 16 matching lines...) Expand all
127 if (!use_openssl) { 130 if (!use_openssl) {
128 sources += rebase_path(content_child_gypi_values.webcrypto_nss_sources, 131 sources += rebase_path(content_child_gypi_values.webcrypto_nss_sources,
129 ".", 132 ".",
130 "//content") 133 "//content")
131 } else { 134 } else {
132 sources += rebase_path(content_child_gypi_values.webcrypto_openssl_sources, 135 sources += rebase_path(content_child_gypi_values.webcrypto_openssl_sources,
133 ".", 136 ".",
134 "//content") 137 "//content")
135 } 138 }
136 } 139 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698