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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 | 6 |
7 gypi_values = exec_script( | 7 gypi_values = exec_script( |
8 "//build/gypi_to_gn.py", | 8 "//build/gypi_to_gn.py", |
9 [ rebase_path("../chrome_common.gypi") ], | 9 [ rebase_path("../chrome_common.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 deps += [ | 204 deps += [ |
205 "//third_party/mach_override", | 205 "//third_party/mach_override", |
206 "//third_party/google_toolbox_for_mac", | 206 "//third_party/google_toolbox_for_mac", |
207 ] | 207 ] |
208 } | 208 } |
209 | 209 |
210 if (enable_remoting) { | 210 if (enable_remoting) { |
211 deps += [ "//remoting/client/plugin" ] | 211 deps += [ "//remoting/client/plugin" ] |
212 } | 212 } |
213 if (enable_plugins) { | 213 if (enable_plugins) { |
| 214 sources += [ |
| 215 "pepper_flash.cc", |
| 216 "pepper_flash.h", |
| 217 "pepper_permission_util.cc", |
| 218 "pepper_permission_util.h", |
| 219 ] |
214 deps += [ | 220 deps += [ |
215 "//third_party/adobe/flash:flapper_version_h", | 221 "//third_party/adobe/flash:flapper_version_h", |
216 ] | 222 ] |
217 } else { | |
218 sources -= [ "pepper_permission_util.cc" ] | |
219 } | 223 } |
220 if (!enable_webrtc) { | 224 if (!enable_webrtc) { |
221 sources -= [ "media/webrtc_logging_messages.h" ] | 225 sources -= [ "media/webrtc_logging_messages.h" ] |
222 } | 226 } |
223 if (enable_configuration_policy) { | 227 if (enable_configuration_policy) { |
224 deps += [ "//components/policy" ] | 228 deps += [ "//components/policy" ] |
225 } | 229 } |
226 | 230 |
227 if (safe_browsing_mode == 1) { | 231 if (safe_browsing_mode == 1) { |
228 defines += [ "FULL_SAFE_BROWSING" ] | 232 defines += [ "FULL_SAFE_BROWSING" ] |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 "//components/bookmarks/common", | 288 "//components/bookmarks/common", |
285 "//third_party/widevine/cdm:version_h", | 289 "//third_party/widevine/cdm:version_h", |
286 ] | 290 ] |
287 | 291 |
288 if (enable_nacl) { | 292 if (enable_nacl) { |
289 deps += [ | 293 deps += [ |
290 #'../components/nacl.gyp:nacl_switches', TODO(GYP) | 294 #'../components/nacl.gyp:nacl_switches', TODO(GYP) |
291 ] | 295 ] |
292 } | 296 } |
293 } | 297 } |
OLD | NEW |