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

Side by Side Diff: chrome/renderer/BUILD.gn

Issue 586623002: Cleanup: Remove remaining generated extensions APIs on Android. (try 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 6 years, 3 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
« no previous file with comments | « chrome/common/extensions/chrome_extensions_client.cc ('k') | extensions/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/features.gni") 5 import("//build/config/features.gni")
6 import("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 7
8 gypi_values = exec_script( 8 gypi_values = exec_script(
9 "//build/gypi_to_gn.py", 9 "//build/gypi_to_gn.py",
10 [ rebase_path("../chrome_renderer.gypi") ], 10 [ rebase_path("../chrome_renderer.gypi") ],
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 sources += rebase_path( 100 sources += rebase_path(
101 gypi_values.chrome_renderer_basic_safe_browsing_sources, 101 gypi_values.chrome_renderer_basic_safe_browsing_sources,
102 ".", "..") 102 ".", "..")
103 defines += [ "MOBILE_SAFE_BROWSING" ] 103 defines += [ "MOBILE_SAFE_BROWSING" ]
104 } 104 }
105 105
106 if (enable_extensions) { 106 if (enable_extensions) {
107 sources += rebase_path(gypi_values.chrome_renderer_extensions_sources, 107 sources += rebase_path(gypi_values.chrome_renderer_extensions_sources,
108 ".", "..") 108 ".", "..")
109 deps += [ 109 deps += [
110 # TODO(hclam): See crbug.com/298380 for details.
111 # We should isolate the APIs needed by the renderer.
112 "//chrome/common/extensions/api",
110 "//extensions:extensions_resources", 113 "//extensions:extensions_resources",
111 "//extensions/renderer", 114 "//extensions/renderer",
112 ] 115 ]
113 } 116 }
114 if (enable_webrtc) { 117 if (enable_webrtc) {
115 sources += rebase_path(gypi_values.chrome_renderer_webrtc_sources, 118 sources += rebase_path(gypi_values.chrome_renderer_webrtc_sources,
116 ".", "..") 119 ".", "..")
117 } 120 }
118 if (enable_extensions && enable_webrtc) { 121 if (enable_extensions && enable_webrtc) {
119 sources += rebase_path( 122 sources += rebase_path(
(...skipping 21 matching lines...) Expand all
141 if (is_win) { 144 if (is_win) {
142 deps += [ 145 deps += [
143 #'../chrome_elf/chrome_elf.gyp:chrome_elf', TODO(GYP) 146 #'../chrome_elf/chrome_elf.gyp:chrome_elf', TODO(GYP)
144 "//third_party/wtl", 147 "//third_party/wtl",
145 ] 148 ]
146 } 149 }
147 if (!is_android) { 150 if (!is_android) {
148 sources += rebase_path(gypi_values.chrome_renderer_non_android_sources, 151 sources += rebase_path(gypi_values.chrome_renderer_non_android_sources,
149 ".", "..") 152 ".", "..")
150 } 153 }
151 if (!is_ios) {
152 deps += [
153 # TODO(hclam): See crbug.com/298380 for details.
154 # We should isolate the APIs needed by the renderer.
155 "//chrome/common/extensions/api",
156 ]
157 }
158 154
159 # TODO(GYP) 155 # TODO(GYP)
160 # 'sources': [ 156 # 'sources': [
161 # 'renderer/printing/print_web_view_helper_pdf_win.cc', 157 # 'renderer/printing/print_web_view_helper_pdf_win.cc',
162 # ], 158 # ],
163 } 159 }
164 160
165 # In GYP this is part of test_support_common. 161 # In GYP this is part of test_support_common.
166 source_set("test_support") { 162 source_set("test_support") {
167 testonly = true 163 testonly = true
(...skipping 25 matching lines...) Expand all
193 ] 189 ]
194 } 190 }
195 191
196 if (enable_webrtc) { 192 if (enable_webrtc) {
197 sources += [ 193 sources += [
198 "media/mock_webrtc_logging_message_filter.cc", 194 "media/mock_webrtc_logging_message_filter.cc",
199 "media/mock_webrtc_logging_message_filter.h", 195 "media/mock_webrtc_logging_message_filter.h",
200 ] 196 ]
201 } 197 }
202 } 198 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/chrome_extensions_client.cc ('k') | extensions/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698