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

Unified Diff: extensions/shell/BUILD.gn

Issue 901273003: roll up of misc. gn work (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/BUILD.gn ('k') | google_apis/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/BUILD.gn
diff --git a/extensions/shell/BUILD.gn b/extensions/shell/BUILD.gn
index a251765c0ee4aa54f1577f6b0a5b8d952f4083f5..3a3148d6199a3d377822084e34df3e6a9c832863 100644
--- a/extensions/shell/BUILD.gn
+++ b/extensions/shell/BUILD.gn
@@ -7,6 +7,7 @@
# src/build.
import("//chrome/version.gni")
import("//tools/grit/grit_rule.gni")
+import("//components/nacl/nacl_defines.gni")
assert(enable_extensions)
@@ -140,6 +141,7 @@ source_set("app_shell_lib") {
"utility/shell_content_utility_client.cc",
"utility/shell_content_utility_client.h",
]
+
if (is_chromeos) {
deps += [
"//chromeos",
@@ -152,6 +154,28 @@ source_set("app_shell_lib") {
"browser/api/vpn_provider/vpn_service_factory.cc",
]
}
+
+ if (enable_nacl) {
+ sources += [
+ "browser/shell_nacl_browser_delegate.cc",
+ "browser/shell_nacl_browser_delegate.h",
+ ]
+
+ defines = nacl_defines
+
+ deps += [
+ "//components/nacl",
+ "//components/nacl:nacl_browser",
+ "//components/nacl:nacl_common",
+ "//components/nacl:nacl_renderer",
+ "//components/nacl:nacl_switches",
+ "//components/nacl/renderer/plugin:nacl_trusted_plugin",
+ ]
+
+ if (is_linux) {
+ deps += [ "//components/nacl:nacl_helper" ]
+ }
+ }
}
if (!(is_chromeos && !use_ozone) && (!is_win || link_chrome_on_windows)) {
« no previous file with comments | « device/BUILD.gn ('k') | google_apis/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698