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

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

Issue 494993005: 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 "//components/web_modal", 161 "//components/web_modal",
162 "//content/app/resources", 162 "//content/app/resources",
163 "//media", 163 "//media",
164 "//media/cast:net", 164 "//media/cast:net",
165 "//mojo/environment:chromium", 165 "//mojo/environment:chromium",
166 "//mojo/public/cpp/bindings", 166 "//mojo/public/cpp/bindings",
167 "//mojo/public/js/bindings", 167 "//mojo/public/js/bindings",
168 "//mojo/system", 168 "//mojo/system",
169 "//net:net_with_v8", 169 "//net:net_with_v8",
170 "//third_party/WebKit/public:resources", 170 "//third_party/WebKit/public:resources",
171 "//third_party/adobe/flash:flapper_version_h",
172 "//third_party/expat", 171 "//third_party/expat",
173 "//third_party/leveldatabase", 172 "//third_party/leveldatabase",
174 "//third_party/libaddressinput", 173 "//third_party/libaddressinput",
175 "//third_party/libyuv", 174 "//third_party/libyuv",
176 "//third_party/npapi", 175 "//third_party/npapi",
177 "//third_party/re2", 176 "//third_party/re2",
178 "//third_party/smhasher:cityhash", 177 "//third_party/smhasher:cityhash",
179 "//ui/gl", 178 "//ui/gl",
180 "//ui/surface", 179 "//ui/surface",
181 "//ui/web_dialogs", 180 "//ui/web_dialogs",
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 # Configuration policy disabled. 298 # Configuration policy disabled.
300 sources += rebase_path(gypi_values.chrome_browser_policy_disabled_sources, 299 sources += rebase_path(gypi_values.chrome_browser_policy_disabled_sources,
301 ".", "//chrome") 300 ".", "//chrome")
302 } 301 }
303 302
304 if (enable_plugins) { 303 if (enable_plugins) {
305 sources += rebase_path(gypi_values.chrome_browser_plugins_sources, 304 sources += rebase_path(gypi_values.chrome_browser_plugins_sources,
306 ".", "//chrome") 305 ".", "//chrome")
307 deps += [ 306 deps += [
308 "//ppapi:ppapi_ipc", 307 "//ppapi:ppapi_ipc",
308 "//third_party/adobe/flash:flapper_version_h",
309 ] 309 ]
310 } 310 }
311 if (safe_browsing_mode != 0) { 311 if (safe_browsing_mode != 0) {
312 sources += rebase_path( 312 sources += rebase_path(
313 gypi_values.chrome_browser_basic_safe_browsing_sources, 313 gypi_values.chrome_browser_basic_safe_browsing_sources,
314 ".", "//chrome") 314 ".", "//chrome")
315 deps += [ 315 deps += [
316 "//chrome/browser/safe_browsing:chunk_proto", 316 "//chrome/browser/safe_browsing:chunk_proto",
317 "//chrome/browser/safe_browsing:report_proto", 317 "//chrome/browser/safe_browsing:report_proto",
318 ] 318 ]
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 # TODO(GYP) write internal action 661 # TODO(GYP) write internal action
662 if (false) { #if (is_chrome_branded) { 662 if (false) { #if (is_chrome_branded) {
663 action("chrome_internal_resources_gen") { 663 action("chrome_internal_resources_gen") {
664 # TODO(GYP) 664 # TODO(GYP)
665 } 665 }
666 } else { 666 } else {
667 group("chrome_internal_resources_gen") { 667 group("chrome_internal_resources_gen") {
668 # Empty placeholder. 668 # Empty placeholder.
669 } 669 }
670 } 670 }
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