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

Unified Diff: chrome/common/BUILD.gn

Issue 321423002: Drop NaCl dependencies on platforms where disable_nacl=1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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 | « chrome/chrome_common.gypi ('k') | chrome/common/all_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/BUILD.gn
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
index c2ffc591ce903a576674d1324e2043554f20aa8a..8be371e456198dc7aea003b4a1985c9a7711131e 100644
--- a/chrome/common/BUILD.gn
+++ b/chrome/common/BUILD.gn
@@ -78,10 +78,21 @@ static_library("common") {
#'<(DEPTH)/components/components.gyp:password_manager_core_common', TODO(GYP)
#'<(DEPTH)/components/components.gyp:signin_core_common', TODO(GYP)
#'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP)
+ #'<(DEPTH)/extensions/common/api/api.gyp:extensions_api', TODO(GYP)
#'<(DEPTH)/extensions/extensions.gyp:extensions_common', TODO(GYP)
]
}
+ if (enable_nacl) {
+ deps += [
+ #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP)
+ ]
+ sources += [
+ "extensions/manifest_handlers/nacl_modules_handler.cc",
+ "extensions/manifest_handlers/nacl_modules_handler.h",
+ ]
+ }
+
if (safe_browsing_mode == 1) {
defines += [ "FULL_SAFE_BROWSING" ]
sources += rebase_path(
@@ -163,8 +174,12 @@ static_library("constants") {
"//base",
"//base/third_party/dynamic_annotations",
"//third_party/widevine/cdm:version_h",
- # TODO(GYP)
- #'../components/components.gyp:bookmarks_common',
- #'../components/nacl.gyp:nacl_switches',
+ #'../components/components.gyp:bookmarks_common', TODO(GYP)
]
+
+ if (enable_nacl) {
+ deps += [
+ #'../components/nacl.gyp:nacl_switches', TODO(GYP)
+ ]
+ }
}
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/all_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698