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/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//build/config/win/console_app.gni") | 8 import("//build/config/win/console_app.gni") |
9 import("//build/config/win/manifest.gni") | 9 import("//build/config/win/manifest.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
11 import("//mojo/public/tools/bindings/mojom.gni") | 11 import("//mojo/public/tools/bindings/mojom.gni") |
12 import("//tools/grit/repack.gni") | 12 import("//tools/grit/repack.gni") |
13 import("//tools/grit/grit_rule.gni") | 13 import("//tools/grit/grit_rule.gni") |
14 if (is_android) { | 14 if (is_android) { |
15 import("//build/config/android/config.gni") | 15 import("//build/config/android/config.gni") |
16 } else if (is_mac) { | 16 } else if (is_mac) { |
17 import("//build/config/mac/rules.gni") | 17 import("//build/config/mac/rules.gni") |
18 import("//build_overrides/v8.gni") | 18 import("//build_overrides/v8.gni") |
19 import("//build/mac/tweak_info_plist.gni") | 19 import("//build/mac/tweak_info_plist.gni") |
| 20 } else if (is_win) { |
| 21 import("//build/win/syzygy/syzygy.gni") |
20 } | 22 } |
21 | 23 |
22 declare_args() { | 24 declare_args() { |
23 content_shell_product_name = "Content Shell" | 25 content_shell_product_name = "Content Shell" |
24 content_shell_version = "99.77.34.5" | 26 content_shell_version = "99.77.34.5" |
25 } | 27 } |
26 | 28 |
27 config("content_shell_lib_warnings") { | 29 config("content_shell_lib_warnings") { |
28 if (is_clang) { | 30 if (is_clang) { |
29 # TODO(thakis): Remove this once http://crbug.com/383820 is figured out | 31 # TODO(thakis): Remove this once http://crbug.com/383820 is figured out |
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 deps = [ | 527 deps = [ |
526 "//base", | 528 "//base", |
527 "//build/config/sanitizers:deps", | 529 "//build/config/sanitizers:deps", |
528 "//build/win:default_exe_manifest", | 530 "//build/win:default_exe_manifest", |
529 "//components/crash/content/tools:crash_service", | 531 "//components/crash/content/tools:crash_service", |
530 ] | 532 ] |
531 | 533 |
532 configs -= [ "//build/config/win:console" ] | 534 configs -= [ "//build/config/win:console" ] |
533 configs += [ "//build/config/win:windowed" ] | 535 configs += [ "//build/config/win:windowed" ] |
534 } | 536 } |
| 537 |
| 538 if (is_syzyasan) { |
| 539 syzygy_asan("content_shell_syzyasan") { |
| 540 binary_name = "content_shell.exe" |
| 541 dest_dir = "$root_out_dir/syzygy" |
| 542 deps = [ |
| 543 "//content/shell:content_shell", |
| 544 ] |
| 545 testonly = true |
| 546 } |
| 547 } |
535 } | 548 } |
536 | 549 |
537 if (is_mac) { | 550 if (is_mac) { |
538 mac_xib_bundle_data("content_shell_framework_xibs") { | 551 mac_xib_bundle_data("content_shell_framework_xibs") { |
539 sources = [ | 552 sources = [ |
540 "app/English.lproj/HttpAuth.xib", | 553 "app/English.lproj/HttpAuth.xib", |
541 "app/English.lproj/MainMenu.xib", | 554 "app/English.lproj/MainMenu.xib", |
542 ] | 555 ] |
543 output_path = "{{bundle_resources_dir}}/English.lproj" | 556 output_path = "{{bundle_resources_dir}}/English.lproj" |
544 } | 557 } |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 "{{bundle_resources_dir}}/{{source_file_part}}", | 723 "{{bundle_resources_dir}}/{{source_file_part}}", |
711 ] | 724 ] |
712 } | 725 } |
713 } | 726 } |
714 | 727 |
715 mojom("mojo_bindings") { | 728 mojom("mojo_bindings") { |
716 sources = [ | 729 sources = [ |
717 "common/layout_test/layout_test_bluetooth_fake_adapter_setter.mojom", | 730 "common/layout_test/layout_test_bluetooth_fake_adapter_setter.mojom", |
718 ] | 731 ] |
719 } | 732 } |
OLD | NEW |