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("//build/gypi_to_gn.py", | 7 gypi_values = exec_script("//build/gypi_to_gn.py", |
8 [ rebase_path("../chrome_common.gypi") ], | 8 [ rebase_path("../chrome_common.gypi") ], |
9 "scope", | 9 "scope", |
10 [ "../chrome_common.gypi" ]) | 10 [ "../chrome_common.gypi" ]) |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 deps += [ | 195 deps += [ |
196 "//third_party/mach_override", | 196 "//third_party/mach_override", |
197 "//third_party/google_toolbox_for_mac", | 197 "//third_party/google_toolbox_for_mac", |
198 ] | 198 ] |
199 } | 199 } |
200 | 200 |
201 if (enable_plugins) { | 201 if (enable_plugins) { |
202 sources += [ | 202 sources += [ |
203 "pepper_flash.cc", | 203 "pepper_flash.cc", |
204 "pepper_flash.h", | 204 "pepper_flash.h", |
| 205 ] |
| 206 deps += [ "//third_party/adobe/flash:flapper_version_h" ] |
| 207 } |
| 208 if (enable_plugins && enable_extensions) { |
| 209 sources += [ |
205 "pepper_permission_util.cc", | 210 "pepper_permission_util.cc", |
206 "pepper_permission_util.h", | 211 "pepper_permission_util.h", |
207 ] | 212 ] |
208 deps += [ "//third_party/adobe/flash:flapper_version_h" ] | |
209 } | 213 } |
210 if (!enable_webrtc) { | 214 if (!enable_webrtc) { |
211 sources -= [ "media/webrtc_logging_messages.h" ] | 215 sources -= [ "media/webrtc_logging_messages.h" ] |
212 } | 216 } |
213 if (enable_configuration_policy) { | 217 if (enable_configuration_policy) { |
214 deps += [ "//components/policy" ] | 218 deps += [ "//components/policy" ] |
215 } | 219 } |
216 | 220 |
217 if (safe_browsing_mode == 1) { | 221 if (safe_browsing_mode == 1) { |
218 defines += [ "FULL_SAFE_BROWSING" ] | 222 defines += [ "FULL_SAFE_BROWSING" ] |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 ] | 299 ] |
296 } | 300 } |
297 | 301 |
298 if (enable_extensions) { | 302 if (enable_extensions) { |
299 sources += [ | 303 sources += [ |
300 "extensions/extension_test_util.cc", | 304 "extensions/extension_test_util.cc", |
301 "extensions/extension_test_util.h", | 305 "extensions/extension_test_util.h", |
302 ] | 306 ] |
303 } | 307 } |
304 } | 308 } |
OLD | NEW |