Chromium Code Reviews| 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("//build_overrides/v8.gni") | |
| 6 | |
| 5 static_library("plugin") { | 7 static_library("plugin") { |
| 6 sources = [ | 8 sources = [ |
| 7 "chrome_content_plugin_client.cc", | 9 "chrome_content_plugin_client.cc", |
| 8 "chrome_content_plugin_client.h", | 10 "chrome_content_plugin_client.h", |
| 9 ] | 11 ] |
| 10 | 12 |
| 11 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 13 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 14 if (v8_use_external_startup_data) { | |
| 15 configs += [ "//v8:external_startup_data" ] | |
|
brettw
2015/10/20 02:44:41
Did you consider making the config check the flag
Dirk Pranke
2015/10/20 03:00:16
I did, yes.
In some cases (e.g., net) we have to
| |
| 16 } | |
| 12 | 17 |
| 13 deps = [ | 18 deps = [ |
| 14 "//base", | 19 "//base", |
| 15 "//chrome:strings", | 20 "//chrome:strings", |
| 16 "//content/public/plugin", | 21 "//content/public/plugin", |
| 17 "//gin", | 22 "//gin", |
| 18 ] | 23 ] |
| 19 } | 24 } |
| OLD | NEW |