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

Side by Side Diff: chrome/browser/BUILD.gn

Issue 471263003: Only build various flash/pnacl/ppapi code when they are enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//components/nacl/nacl_defines.gni") 8 import("//components/nacl/nacl_defines.gni")
9 import("//tools/grit/grit_rule.gni") 9 import("//tools/grit/grit_rule.gni")
10 10
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 "//components/visitedlink/common", 157 "//components/visitedlink/common",
158 "//components/web_modal", 158 "//components/web_modal",
159 "//media", 159 "//media",
160 "//media/cast:net", 160 "//media/cast:net",
161 "//mojo/environment:chromium", 161 "//mojo/environment:chromium",
162 "//mojo/public/cpp/bindings", 162 "//mojo/public/cpp/bindings",
163 "//mojo/public/js/bindings", 163 "//mojo/public/js/bindings",
164 "//mojo/system", 164 "//mojo/system",
165 "//net:net_with_v8", 165 "//net:net_with_v8",
166 "//third_party/WebKit/public:resources", 166 "//third_party/WebKit/public:resources",
167 "//third_party/adobe/flash:flapper_version_h",
168 "//third_party/expat", 167 "//third_party/expat",
169 "//third_party/leveldatabase", 168 "//third_party/leveldatabase",
170 "//third_party/libaddressinput", 169 "//third_party/libaddressinput",
171 "//third_party/libyuv", 170 "//third_party/libyuv",
172 "//third_party/npapi", 171 "//third_party/npapi",
173 "//third_party/re2", 172 "//third_party/re2",
174 "//third_party/smhasher:cityhash", 173 "//third_party/smhasher:cityhash",
175 "//ui/gl", 174 "//ui/gl",
176 "//ui/surface", 175 "//ui/surface",
177 "//ui/web_dialogs", 176 "//ui/web_dialogs",
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 # Configuration policy disabled. 296 # Configuration policy disabled.
298 sources += rebase_path(gypi_values.chrome_browser_policy_disabled_sources, 297 sources += rebase_path(gypi_values.chrome_browser_policy_disabled_sources,
299 ".", "//chrome") 298 ".", "//chrome")
300 } 299 }
301 300
302 if (enable_plugins) { 301 if (enable_plugins) {
303 sources += rebase_path(gypi_values.chrome_browser_plugins_sources, 302 sources += rebase_path(gypi_values.chrome_browser_plugins_sources,
304 ".", "//chrome") 303 ".", "//chrome")
305 deps += [ 304 deps += [
306 "//ppapi:ppapi_ipc", 305 "//ppapi:ppapi_ipc",
306 "//third_party/adobe/flash:flapper_version_h",
307 ] 307 ]
308 } 308 }
309 if (safe_browsing_mode != 0) { 309 if (safe_browsing_mode != 0) {
310 sources += rebase_path( 310 sources += rebase_path(
311 gypi_values.chrome_browser_basic_safe_browsing_sources, 311 gypi_values.chrome_browser_basic_safe_browsing_sources,
312 ".", "//chrome") 312 ".", "//chrome")
313 deps += [ 313 deps += [
314 "//chrome/browser/safe_browsing:chunk_proto", 314 "//chrome/browser/safe_browsing:chunk_proto",
315 "//chrome/browser/safe_browsing:report_proto", 315 "//chrome/browser/safe_browsing:report_proto",
316 ] 316 ]
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 # TODO(GYP) write internal action 659 # TODO(GYP) write internal action
660 if (false) { #if (is_chrome_branded) { 660 if (false) { #if (is_chrome_branded) {
661 action("chrome_internal_resources_gen") { 661 action("chrome_internal_resources_gen") {
662 # TODO(GYP) 662 # TODO(GYP)
663 } 663 }
664 } else { 664 } else {
665 group("chrome_internal_resources_gen") { 665 group("chrome_internal_resources_gen") {
666 # Empty placeholder. 666 # Empty placeholder.
667 } 667 }
668 } 668 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698