| 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)
|
| + ]
|
| + }
|
| }
|
|
|