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

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

Issue 2655653004: Fixes gn-check errors with enable_plugins=false. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/common/chrome_content_client.cc » ('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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/util/process_version.gni") 6 import("//build/util/process_version.gni")
7 import("//chrome/common/features.gni") 7 import("//chrome/common/features.gni")
8 import("//chrome/process_version_rc_template.gni") # For branding_file_path. 8 import("//chrome/process_version_rc_template.gni") # For branding_file_path.
9 import("//extensions/features/features.gni") 9 import("//extensions/features/features.gni")
10 import("//mojo/public/tools/bindings/mojom.gni") 10 import("//mojo/public/tools/bindings/mojom.gni")
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 "switch_utils.h", 143 "switch_utils.h",
144 "trace_event_args_whitelist.cc", 144 "trace_event_args_whitelist.cc",
145 "trace_event_args_whitelist.h", 145 "trace_event_args_whitelist.h",
146 "tts_messages.h", 146 "tts_messages.h",
147 "tts_utterance_request.cc", 147 "tts_utterance_request.cc",
148 "tts_utterance_request.h", 148 "tts_utterance_request.h",
149 "url_constants.cc", 149 "url_constants.cc",
150 "url_constants.h", 150 "url_constants.h",
151 "web_application_info.cc", 151 "web_application_info.cc",
152 "web_application_info.h", 152 "web_application_info.h",
153 "widevine_cdm_constants.cc",
154 "widevine_cdm_constants.h",
155 ] 153 ]
156 defines = [] 154 defines = []
157 155
158 configs += [ 156 configs += [
159 "//build/config:precompiled_headers", 157 "//build/config:precompiled_headers",
160 "//build/config/compiler:wexit_time_destructors", 158 "//build/config/compiler:wexit_time_destructors",
161 ] 159 ]
162 160
163 public_deps = [ 161 public_deps = [
164 ":features", 162 ":features",
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 "ppapi_utils.h", 470 "ppapi_utils.h",
473 ] 471 ]
474 public_deps += [ "//third_party/adobe/flash:flapper_version_h" ] 472 public_deps += [ "//third_party/adobe/flash:flapper_version_h" ]
475 } 473 }
476 if (enable_plugins && enable_extensions) { 474 if (enable_plugins && enable_extensions) {
477 sources += [ 475 sources += [
478 "pepper_permission_util.cc", 476 "pepper_permission_util.cc",
479 "pepper_permission_util.h", 477 "pepper_permission_util.h",
480 ] 478 ]
481 } 479 }
480 if (enable_pepper_cdms) {
481 sources += [
482 "widevine_cdm_constants.cc",
483 "widevine_cdm_constants.h",
484 ]
485 }
482 if (!enable_webrtc) { 486 if (!enable_webrtc) {
483 sources -= [ "media/webrtc_logging_messages.h" ] 487 sources -= [ "media/webrtc_logging_messages.h" ]
484 } 488 }
485 489
486 if (safe_browsing_mode != 0) { 490 if (safe_browsing_mode != 0) {
487 sources += [ 491 sources += [
488 "safe_browsing/file_type_policies.cc", 492 "safe_browsing/file_type_policies.cc",
489 "safe_browsing/file_type_policies.h", 493 "safe_browsing/file_type_policies.h",
490 ] 494 ]
491 495
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 mojom("instant_mojom") { 698 mojom("instant_mojom") {
695 sources = [ 699 sources = [
696 "instant.mojom", 700 "instant.mojom",
697 ] 701 ]
698 702
699 public_deps = [ 703 public_deps = [
700 "//mojo/common:common_custom_types", 704 "//mojo/common:common_custom_types",
701 "//url/mojo:url_mojom_gurl", 705 "//url/mojo:url_mojom_gurl",
702 ] 706 ]
703 } 707 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/common/chrome_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698