| OLD | NEW |
| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 "//base:base", | 209 "//base:base", |
| 210 "//base:base_static", | 210 "//base:base_static", |
| 211 "//base:i18n", | 211 "//base:i18n", |
| 212 "//chrome:resources", | 212 "//chrome:resources", |
| 213 "//chrome:strings", | 213 "//chrome:strings", |
| 214 "//chrome/app/theme:theme_resources", | 214 "//chrome/app/theme:theme_resources", |
| 215 "//chrome/common:constants", | 215 "//chrome/common:constants", |
| 216 "//chrome/common/media_router/mojo:dial_utility_interfaces", | 216 "//chrome/common/media_router/mojo:dial_utility_interfaces", |
| 217 "//chrome/common/net", | 217 "//chrome/common/net", |
| 218 "//chrome/common/profiling", | 218 "//chrome/common/profiling", |
| 219 "//chrome/common/safe_browsing:proto", | |
| 220 "//chrome/installer/util:with_no_strings", | 219 "//chrome/installer/util:with_no_strings", |
| 221 "//components/cast_certificate", | 220 "//components/cast_certificate", |
| 222 "//components/cdm/common", | 221 "//components/cdm/common", |
| 223 "//components/cloud_devices/common", | 222 "//components/cloud_devices/common", |
| 224 "//components/component_updater", | 223 "//components/component_updater", |
| 225 "//components/content_settings/core/common", | 224 "//components/content_settings/core/common", |
| 226 "//components/crash/core/common", | 225 "//components/crash/core/common", |
| 227 "//components/dom_distiller/core", | 226 "//components/dom_distiller/core", |
| 228 "//components/error_page/common", | 227 "//components/error_page/common", |
| 229 "//components/favicon_base", | 228 "//components/favicon_base", |
| 230 "//components/flags_ui:switches", | 229 "//components/flags_ui:switches", |
| 231 "//components/gcm_driver/common", | 230 "//components/gcm_driver/common", |
| 232 "//components/json_schema", | 231 "//components/json_schema", |
| 233 "//components/metrics", | 232 "//components/metrics", |
| 234 "//components/metrics:net", | 233 "//components/metrics:net", |
| 235 "//components/nacl/common:process_type", | 234 "//components/nacl/common:process_type", |
| 236 "//components/nacl/common:switches", | 235 "//components/nacl/common:switches", |
| 237 "//components/network_session_configurator/common", | 236 "//components/network_session_configurator/common", |
| 238 "//components/ntp_tiles", | 237 "//components/ntp_tiles", |
| 239 "//components/offline_pages/core:switches", | 238 "//components/offline_pages/core:switches", |
| 240 "//components/omnibox/common", | 239 "//components/omnibox/common", |
| 241 "//components/password_manager/content/common:mojo_interfaces", | 240 "//components/password_manager/content/common:mojo_interfaces", |
| 242 "//components/password_manager/core/common", | 241 "//components/password_manager/core/common", |
| 243 "//components/policy:generated", | 242 "//components/policy:generated", |
| 244 "//components/policy/core/common", | 243 "//components/policy/core/common", |
| 245 "//components/prefs", | 244 "//components/prefs", |
| 246 "//components/safe_browsing:csd_proto", | |
| 247 "//components/signin/core/common", | 245 "//components/signin/core/common", |
| 248 "//components/strings", | 246 "//components/strings", |
| 249 "//components/translate/content/common", | 247 "//components/translate/content/common", |
| 250 "//components/translate/core/common", | 248 "//components/translate/core/common", |
| 251 "//components/url_formatter", | 249 "//components/url_formatter", |
| 252 "//components/variations", | 250 "//components/variations", |
| 253 "//components/visitedlink/common", | 251 "//components/visitedlink/common", |
| 254 "//content/public/common", | 252 "//content/public/common", |
| 255 "//crypto", | |
| 256 "//extensions/common:common_constants", | 253 "//extensions/common:common_constants", |
| 257 "//extensions/features", | 254 "//extensions/features", |
| 258 "//google_apis", | 255 "//google_apis", |
| 259 "//gpu/command_buffer/service", | 256 "//gpu/command_buffer/service", |
| 260 "//gpu/config", | 257 "//gpu/config", |
| 261 "//gpu/config:crash_keys", | 258 "//gpu/config:crash_keys", |
| 262 "//ipc", | 259 "//ipc", |
| 263 "//media", | 260 "//media", |
| 264 "//mojo/edk/system", | 261 "//mojo/edk/system", |
| 265 "//mojo/public/cpp/bindings", | 262 "//mojo/public/cpp/bindings", |
| 266 "//pdf:features", | 263 "//pdf:features", |
| 267 "//ppapi/features", | 264 "//ppapi/features", |
| 268 "//printing/features", | 265 "//printing/features", |
| 269 "//skia", | 266 "//skia", |
| 270 "//third_party/icu", | 267 "//third_party/icu", |
| 271 "//third_party/re2", | 268 "//third_party/re2", |
| 272 "//third_party/widevine/cdm:headers", | 269 "//third_party/widevine/cdm:headers", |
| 273 "//third_party/zlib/google:zip", | |
| 274 "//ui/accessibility", | 270 "//ui/accessibility", |
| 275 "//ui/base", | 271 "//ui/base", |
| 276 "//ui/gfx/ipc", | 272 "//ui/gfx/ipc", |
| 277 "//ui/gfx/ipc/geometry", | 273 "//ui/gfx/ipc/geometry", |
| 278 "//ui/gfx/ipc/skia", | 274 "//ui/gfx/ipc/skia", |
| 279 "//ui/gl", | 275 "//ui/gl", |
| 280 "//ui/message_center", | 276 "//ui/message_center", |
| 281 "//ui/resources:resources", | 277 "//ui/resources:resources", |
| 282 "//url", | 278 "//url", |
| 283 ] | 279 ] |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 sources += [ | 478 sources += [ |
| 483 "widevine_cdm_constants.cc", | 479 "widevine_cdm_constants.cc", |
| 484 "widevine_cdm_constants.h", | 480 "widevine_cdm_constants.h", |
| 485 ] | 481 ] |
| 486 } | 482 } |
| 487 if (!enable_webrtc) { | 483 if (!enable_webrtc) { |
| 488 sources -= [ "media/webrtc_logging_messages.h" ] | 484 sources -= [ "media/webrtc_logging_messages.h" ] |
| 489 } | 485 } |
| 490 | 486 |
| 491 if (safe_browsing_mode != 0) { | 487 if (safe_browsing_mode != 0) { |
| 492 sources += [ | 488 public_deps += [ "//chrome/common/safe_browsing" ] |
| 493 "safe_browsing/file_type_policies.cc", | |
| 494 "safe_browsing/file_type_policies.h", | |
| 495 ] | |
| 496 | |
| 497 if (safe_browsing_mode == 1) { | |
| 498 sources += [ | |
| 499 "safe_browsing/archive_analyzer_results.cc", | |
| 500 "safe_browsing/archive_analyzer_results.h", | |
| 501 "safe_browsing/binary_feature_extractor.cc", | |
| 502 "safe_browsing/binary_feature_extractor.h", | |
| 503 "safe_browsing/binary_feature_extractor_mac.cc", | |
| 504 "safe_browsing/binary_feature_extractor_posix.cc", | |
| 505 "safe_browsing/binary_feature_extractor_win.cc", | |
| 506 "safe_browsing/download_protection_util.cc", | |
| 507 "safe_browsing/download_protection_util.h", | |
| 508 "safe_browsing/ipc_protobuf_message_macros.h", | |
| 509 "safe_browsing/ipc_protobuf_message_null_macros.h", | |
| 510 "safe_browsing/mach_o_image_reader_mac.cc", | |
| 511 "safe_browsing/mach_o_image_reader_mac.h", | |
| 512 "safe_browsing/pe_image_reader_win.cc", | |
| 513 "safe_browsing/pe_image_reader_win.h", | |
| 514 "safe_browsing/protobuf_message_log_macros.h", | |
| 515 "safe_browsing/protobuf_message_param_traits.h", | |
| 516 "safe_browsing/protobuf_message_read_macros.h", | |
| 517 "safe_browsing/protobuf_message_size_macros.h", | |
| 518 "safe_browsing/protobuf_message_write_macros.h", | |
| 519 "safe_browsing/zip_analyzer.cc", | |
| 520 "safe_browsing/zip_analyzer.h", | |
| 521 ] | |
| 522 | |
| 523 public_deps += [ "//ipc" ] | |
| 524 | |
| 525 # safe_archive_analyzer.mojom has a [Native] trait that depends on | |
| 526 # the protobuf headers in the sources list above. | |
| 527 allow_circular_includes_from = [ ":mojo_bindings" ] | |
| 528 } | |
| 529 } | 489 } |
| 530 | 490 |
| 531 if (is_linux) { | 491 if (is_linux) { |
| 532 deps = [ | 492 deps = [ |
| 533 "//sandbox/linux:sandbox_services", | 493 "//sandbox/linux:sandbox_services", |
| 534 ] | 494 ] |
| 535 } | 495 } |
| 536 | 496 |
| 537 if (enable_cdm_host_verification) { | 497 if (enable_cdm_host_verification) { |
| 538 sources += [ | 498 sources += [ |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 | 702 |
| 743 mojom("page_load_metrics_mojom") { | 703 mojom("page_load_metrics_mojom") { |
| 744 sources = [ | 704 sources = [ |
| 745 "page_load_metrics/page_load_metrics.mojom", | 705 "page_load_metrics/page_load_metrics.mojom", |
| 746 ] | 706 ] |
| 747 | 707 |
| 748 public_deps = [ | 708 public_deps = [ |
| 749 "//mojo/common:common_custom_types", | 709 "//mojo/common:common_custom_types", |
| 750 ] | 710 ] |
| 751 } | 711 } |
| OLD | NEW |