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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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( 7 gypi_values = exec_script(
8 "//build/gypi_to_gn.py", 8 "//build/gypi_to_gn.py",
9 [ rebase_path("../chrome_common.gypi") ], 9 [ rebase_path("../chrome_common.gypi") ],
10 "scope", 10 "scope",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 "//components/visitedlink/common", 69 "//components/visitedlink/common",
70 "//components/autofill/content/common", 70 "//components/autofill/content/common",
71 "//components/autofill/core/common", 71 "//components/autofill/core/common",
72 "//components/translate/content/common", 72 "//components/translate/content/common",
73 "//ipc", 73 "//ipc",
74 "//third_party/adobe/flash:flapper_version_h", 74 "//third_party/adobe/flash:flapper_version_h",
75 "//third_party/re2", 75 "//third_party/re2",
76 "//third_party/widevine/cdm:version_h", 76 "//third_party/widevine/cdm:version_h",
77 #'<(DEPTH)/components/components.gyp:password_manager_core_common', TODO( GYP) 77 #'<(DEPTH)/components/components.gyp:password_manager_core_common', TODO( GYP)
78 #'<(DEPTH)/components/components.gyp:signin_core_common', TODO(GYP) 78 #'<(DEPTH)/components/components.gyp:signin_core_common', TODO(GYP)
79 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP)
80 #'<(DEPTH)/extensions/common/api/api.gyp:extensions_api', TODO(GYP) 79 #'<(DEPTH)/extensions/common/api/api.gyp:extensions_api', TODO(GYP)
81 #'<(DEPTH)/extensions/extensions.gyp:extensions_common', TODO(GYP) 80 #'<(DEPTH)/extensions/extensions.gyp:extensions_common', TODO(GYP)
82 ] 81 ]
83 } 82 }
84 83
84 if (enable_nacl) {
85 deps += [
86 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP)
87 ]
88 sources += [
89 "extensions/manifest_handlers/nacl_modules_handler.cc",
90 "extensions/manifest_handlers/nacl_modules_handler.h",
91 ]
92 }
93
85 if (safe_browsing_mode == 1) { 94 if (safe_browsing_mode == 1) {
86 defines += [ "FULL_SAFE_BROWSING" ] 95 defines += [ "FULL_SAFE_BROWSING" ]
87 sources += rebase_path( 96 sources += rebase_path(
88 gypi_values.chrome_common_full_safe_browsing_sources, 97 gypi_values.chrome_common_full_safe_browsing_sources,
89 ".", "//chrome") 98 ".", "//chrome")
90 } 99 }
91 if (safe_browsing_mode == 2) { 100 if (safe_browsing_mode == 2) {
92 defines += [ "MOBILE_SAFE_BROWSING" ] 101 defines += [ "MOBILE_SAFE_BROWSING" ]
93 } 102 }
94 } 103 }
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 "pref_names.cc", 165 "pref_names.cc",
157 "pref_names.h", 166 "pref_names.h",
158 "widevine_cdm_constants.cc", 167 "widevine_cdm_constants.cc",
159 "widevine_cdm_constants.h", 168 "widevine_cdm_constants.h",
160 ] 169 ]
161 170
162 deps = [ 171 deps = [
163 "//base", 172 "//base",
164 "//base/third_party/dynamic_annotations", 173 "//base/third_party/dynamic_annotations",
165 "//third_party/widevine/cdm:version_h", 174 "//third_party/widevine/cdm:version_h",
166 # TODO(GYP) 175 #'../components/components.gyp:bookmarks_common', TODO(GYP)
167 #'../components/components.gyp:bookmarks_common',
168 #'../components/nacl.gyp:nacl_switches',
169 ] 176 ]
177
178 if (enable_nacl) {
179 deps += [
180 #'../components/nacl.gyp:nacl_switches', TODO(GYP)
181 ]
182 }
170 } 183 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698