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

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: fix bad 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
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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 "//components/usb_service", 149 "//components/usb_service",
150 "//components/visitedlink/browser", 150 "//components/visitedlink/browser",
151 "//components/visitedlink/common", 151 "//components/visitedlink/common",
152 "//components/web_modal", 152 "//components/web_modal",
153 "//mojo/environment:chromium", 153 "//mojo/environment:chromium",
154 "//mojo/public/cpp/bindings", 154 "//mojo/public/cpp/bindings",
155 "//mojo/public/js/bindings", 155 "//mojo/public/js/bindings",
156 "//mojo/system", 156 "//mojo/system",
157 "//net:net_with_v8", 157 "//net:net_with_v8",
158 "//third_party/WebKit/public:resources", 158 "//third_party/WebKit/public:resources",
159 "//third_party/adobe/flash:flapper_version_h",
160 "//third_party/expat", 159 "//third_party/expat",
161 "//third_party/leveldatabase", 160 "//third_party/leveldatabase",
162 "//third_party/libaddressinput", 161 "//third_party/libaddressinput",
163 "//third_party/libyuv", 162 "//third_party/libyuv",
164 "//third_party/npapi", 163 "//third_party/npapi",
165 "//third_party/re2", 164 "//third_party/re2",
166 "//third_party/smhasher:cityhash", 165 "//third_party/smhasher:cityhash",
167 "//ui/gl", 166 "//ui/gl",
168 "//ui/surface", 167 "//ui/surface",
169 "//ui/web_dialogs", 168 "//ui/web_dialogs",
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 # Configuration policy disabled. 297 # Configuration policy disabled.
299 sources += rebase_path(gypi_values.chrome_browser_policy_disabled_sources, 298 sources += rebase_path(gypi_values.chrome_browser_policy_disabled_sources,
300 ".", "//chrome") 299 ".", "//chrome")
301 } 300 }
302 301
303 if (enable_plugins) { 302 if (enable_plugins) {
304 sources += rebase_path(gypi_values.chrome_browser_plugins_sources, 303 sources += rebase_path(gypi_values.chrome_browser_plugins_sources,
305 ".", "//chrome") 304 ".", "//chrome")
306 deps += [ 305 deps += [
307 "//ppapi:ppapi_ipc", 306 "//ppapi:ppapi_ipc",
307 "//third_party/adobe/flash:flapper_version_h",
308 ] 308 ]
309 } 309 }
310 if (safe_browsing_mode != 0) { 310 if (safe_browsing_mode != 0) {
311 sources += rebase_path( 311 sources += rebase_path(
312 gypi_values.chrome_browser_basic_safe_browsing_sources, 312 gypi_values.chrome_browser_basic_safe_browsing_sources,
313 ".", "//chrome") 313 ".", "//chrome")
314 deps += [ 314 deps += [
315 "//chrome/browser/safe_browsing:chunk_proto", 315 "//chrome/browser/safe_browsing:chunk_proto",
316 "//chrome/browser/safe_browsing:report_proto", 316 "//chrome/browser/safe_browsing:report_proto",
317 ] 317 ]
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 # TODO(GYP) write internal action 660 # TODO(GYP) write internal action
661 if (false) { #if (is_chrome_branded) { 661 if (false) { #if (is_chrome_branded) {
662 action("chrome_internal_resources_gen") { 662 action("chrome_internal_resources_gen") {
663 # TODO(GYP) 663 # TODO(GYP)
664 } 664 }
665 } else { 665 } else {
666 group("chrome_internal_resources_gen") { 666 group("chrome_internal_resources_gen") {
667 # Empty placeholder. 667 # Empty placeholder.
668 } 668 }
669 } 669 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698