| 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 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 } | 497 } |
| 498 | 498 |
| 499 if (safe_browsing_mode != 0) { | 499 if (safe_browsing_mode != 0) { |
| 500 sources += [ | 500 sources += [ |
| 501 "safe_browsing/file_type_policies.cc", | 501 "safe_browsing/file_type_policies.cc", |
| 502 "safe_browsing/file_type_policies.h", | 502 "safe_browsing/file_type_policies.h", |
| 503 ] | 503 ] |
| 504 | 504 |
| 505 if (safe_browsing_mode == 1) { | 505 if (safe_browsing_mode == 1) { |
| 506 sources += [ | 506 sources += [ |
| 507 "safe_browsing/archive_analyzer_results.cc", |
| 508 "safe_browsing/archive_analyzer_results.h", |
| 507 "safe_browsing/binary_feature_extractor.cc", | 509 "safe_browsing/binary_feature_extractor.cc", |
| 508 "safe_browsing/binary_feature_extractor.h", | 510 "safe_browsing/binary_feature_extractor.h", |
| 509 "safe_browsing/binary_feature_extractor_mac.cc", | 511 "safe_browsing/binary_feature_extractor_mac.cc", |
| 510 "safe_browsing/binary_feature_extractor_posix.cc", | 512 "safe_browsing/binary_feature_extractor_posix.cc", |
| 511 "safe_browsing/binary_feature_extractor_win.cc", | 513 "safe_browsing/binary_feature_extractor_win.cc", |
| 512 "safe_browsing/download_protection_util.cc", | 514 "safe_browsing/download_protection_util.cc", |
| 513 "safe_browsing/download_protection_util.h", | 515 "safe_browsing/download_protection_util.h", |
| 514 "safe_browsing/ipc_protobuf_message_macros.h", | 516 "safe_browsing/ipc_protobuf_message_macros.h", |
| 515 "safe_browsing/ipc_protobuf_message_null_macros.h", | 517 "safe_browsing/ipc_protobuf_message_null_macros.h", |
| 516 "safe_browsing/mach_o_image_reader_mac.cc", | 518 "safe_browsing/mach_o_image_reader_mac.cc", |
| 517 "safe_browsing/mach_o_image_reader_mac.h", | 519 "safe_browsing/mach_o_image_reader_mac.h", |
| 518 "safe_browsing/pe_image_reader_win.cc", | 520 "safe_browsing/pe_image_reader_win.cc", |
| 519 "safe_browsing/pe_image_reader_win.h", | 521 "safe_browsing/pe_image_reader_win.h", |
| 520 "safe_browsing/protobuf_message_log_macros.h", | 522 "safe_browsing/protobuf_message_log_macros.h", |
| 521 "safe_browsing/protobuf_message_param_traits.h", | 523 "safe_browsing/protobuf_message_param_traits.h", |
| 522 "safe_browsing/protobuf_message_read_macros.h", | 524 "safe_browsing/protobuf_message_read_macros.h", |
| 523 "safe_browsing/protobuf_message_size_macros.h", | 525 "safe_browsing/protobuf_message_size_macros.h", |
| 524 "safe_browsing/protobuf_message_write_macros.h", | 526 "safe_browsing/protobuf_message_write_macros.h", |
| 525 "safe_browsing/zip_analyzer.cc", | 527 "safe_browsing/zip_analyzer.cc", |
| 526 "safe_browsing/zip_analyzer.h", | 528 "safe_browsing/zip_analyzer.h", |
| 527 "safe_browsing/zip_analyzer_results.cc", | |
| 528 "safe_browsing/zip_analyzer_results.h", | |
| 529 ] | 529 ] |
| 530 | 530 |
| 531 public_deps += [ "//ipc" ] | 531 public_deps += [ "//ipc" ] |
| 532 | 532 |
| 533 # safe_archive_analyzer.mojom has a [Native] trait that depends on | 533 # safe_archive_analyzer.mojom has a [Native] trait that depends on |
| 534 # the protobuf headers in the sources list above. | 534 # the protobuf headers in the sources list above. |
| 535 allow_circular_includes_from = [ ":mojo_bindings" ] | 535 allow_circular_includes_from = [ ":mojo_bindings" ] |
| 536 } | 536 } |
| 537 } | 537 } |
| 538 | 538 |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 | 747 |
| 748 mojom("page_load_metrics_mojom") { | 748 mojom("page_load_metrics_mojom") { |
| 749 sources = [ | 749 sources = [ |
| 750 "page_load_metrics/page_load_metrics.mojom", | 750 "page_load_metrics/page_load_metrics.mojom", |
| 751 ] | 751 ] |
| 752 | 752 |
| 753 public_deps = [ | 753 public_deps = [ |
| 754 "//mojo/common:common_custom_types", | 754 "//mojo/common:common_custom_types", |
| 755 ] | 755 ] |
| 756 } | 756 } |
| OLD | NEW |