OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/sanitizers/sanitizers.gni") | 7 import("//build/config/sanitizers/sanitizers.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
10 import("//tools/grit/repack.gni") | 10 import("//tools/grit/repack.gni") |
11 import("//tools/grit/grit_rule.gni") | 11 import("//tools/grit/grit_rule.gni") |
12 | 12 |
13 repack("pak") { | 13 repack("pak") { |
14 sources = [ | 14 sources = [ |
| 15 "$root_gen_dir/blimp/engine/blimp_browser_resources.pak", |
15 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak"
, | 16 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak"
, |
16 "$root_gen_dir/blink/public/resources/blink_resources.pak", | 17 "$root_gen_dir/blink/public/resources/blink_resources.pak", |
17 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", | 18 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", |
18 "$root_gen_dir/content/app/strings/content_strings_en-US.pak", | 19 "$root_gen_dir/content/app/strings/content_strings_en-US.pak", |
19 "$root_gen_dir/content/browser/tracing/tracing_resources.pak", | 20 "$root_gen_dir/content/browser/tracing/tracing_resources.pak", |
20 "$root_gen_dir/content/content_resources.pak", | 21 "$root_gen_dir/content/content_resources.pak", |
21 "$root_gen_dir/net/net_resources.pak", | 22 "$root_gen_dir/net/net_resources.pak", |
22 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", | 23 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", |
23 "$root_gen_dir/ui/resources/webui_resources.pak", | 24 "$root_gen_dir/ui/resources/webui_resources.pak", |
24 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 25 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
25 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 26 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
26 ] | 27 ] |
27 | 28 |
28 deps = [ | 29 deps = [ |
| 30 ":resources", |
29 "//content:resources", | 31 "//content:resources", |
30 "//content/app/resources", | 32 "//content/app/resources", |
31 "//content/app/strings", | 33 "//content/app/strings", |
32 "//content/browser/tracing:resources", | 34 "//content/browser/tracing:resources", |
33 "//net:net_resources", | 35 "//net:net_resources", |
34 "//third_party/WebKit/public:image_resources", | 36 "//third_party/WebKit/public:image_resources", |
35 "//third_party/WebKit/public:resources", | 37 "//third_party/WebKit/public:resources", |
36 "//ui/resources", | 38 "//ui/resources", |
37 "//ui/strings", | 39 "//ui/strings", |
38 ] | 40 ] |
39 | 41 |
40 if (toolkit_views) { | 42 if (toolkit_views) { |
41 deps += [ "//ui/views/resources" ] | 43 deps += [ "//ui/views/resources" ] |
42 sources += | 44 sources += |
43 [ "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak" ] | 45 [ "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak" ] |
44 } | 46 } |
45 | 47 |
46 output = "$root_out_dir/blimp_engine.pak" | 48 output = "$root_out_dir/blimp_engine.pak" |
47 } | 49 } |
48 | 50 |
| 51 grit("resources") { |
| 52 visibility = [ ":*" ] |
| 53 source = "app/blimp_browser_resources.grd" |
| 54 use_qualified_include = true |
| 55 output_dir = "$root_gen_dir/blimp/engine" |
| 56 outputs = [ |
| 57 "grit/blimp_browser_resources.h", |
| 58 "blimp_browser_resources.pak", |
| 59 ] |
| 60 } |
| 61 |
49 source_set("app") { | 62 source_set("app") { |
50 sources = [ | 63 sources = [ |
51 "app/blimp_browser_main_parts.cc", | 64 "app/blimp_browser_main_parts.cc", |
52 "app/blimp_browser_main_parts.h", | 65 "app/blimp_browser_main_parts.h", |
53 "app/blimp_content_browser_client.cc", | 66 "app/blimp_content_browser_client.cc", |
54 "app/blimp_content_browser_client.h", | 67 "app/blimp_content_browser_client.h", |
55 "app/blimp_content_main_delegate.cc", | 68 "app/blimp_content_main_delegate.cc", |
56 "app/blimp_content_main_delegate.h", | 69 "app/blimp_content_main_delegate.h", |
57 ] | 70 ] |
58 | 71 |
59 public_deps = [ | 72 public_deps = [ |
60 ":app_metrics", | 73 ":app_metrics", |
61 "//device/geolocation", | 74 "//device/geolocation", |
62 "//device/geolocation/public/interfaces", | 75 "//device/geolocation/public/interfaces", |
63 ] | 76 ] |
64 | 77 |
65 deps = [ | 78 deps = [ |
66 ":app_config", | 79 ":app_config", |
67 ":app_net", | 80 ":app_net", |
68 ":app_permissions", | 81 ":app_permissions", |
69 ":app_settings", | 82 ":app_settings", |
70 ":app_ui", | 83 ":app_ui", |
71 ":blob_channel_service", | 84 ":blob_channel_service", |
72 ":common", | 85 ":common", |
73 ":crash", | 86 ":crash", |
74 ":feature", | 87 ":feature", |
75 ":renderer", | 88 ":renderer", |
| 89 ":resources", |
76 ":session", | 90 ":session", |
77 "//base", | 91 "//base", |
78 "//blimp/common", | 92 "//blimp/common", |
79 "//blimp/common/proto", | 93 "//blimp/common/proto", |
80 "//blimp/engine:blob_channel_mojo_cpp_sources", | 94 "//blimp/engine:blob_channel_mojo_cpp_sources", |
81 "//blimp/net", | 95 "//blimp/net", |
82 "//components/crash/content/app:app_breakpad_mac_win_to_be_deleted", | 96 "//components/crash/content/app:app_breakpad_mac_win_to_be_deleted", |
83 "//components/crash/content/app:lib", | 97 "//components/crash/content/app:lib", |
84 "//content/public/app:both", | 98 "//content/public/app:both", |
85 "//content/public/browser", | 99 "//content/public/browser", |
86 "//content/public/common", | 100 "//content/public/common", |
87 "//content/public/renderer", | 101 "//content/public/renderer", |
88 "//content/public/utility", | 102 "//content/public/utility", |
89 "//device/geolocation", | 103 "//device/geolocation", |
90 "//net", | 104 "//net", |
| 105 "//ui/base:base", |
91 ] | 106 ] |
92 } | 107 } |
93 | 108 |
94 source_set("app_config") { | 109 source_set("app_config") { |
95 sources = [ | 110 sources = [ |
96 "app/blimp_engine_config.cc", | 111 "app/blimp_engine_config.cc", |
97 "app/blimp_engine_config.h", | 112 "app/blimp_engine_config.h", |
98 ] | 113 ] |
99 deps = [ | 114 deps = [ |
100 "//base", | 115 "//base", |
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 "//content/test:test_support", | 719 "//content/test:test_support", |
705 "//testing/gmock", | 720 "//testing/gmock", |
706 "//testing/gtest", | 721 "//testing/gtest", |
707 ] | 722 ] |
708 | 723 |
709 data = [ | 724 data = [ |
710 "//blimp/test/data/", | 725 "//blimp/test/data/", |
711 "$root_out_dir/blimp_engine.pak", | 726 "$root_out_dir/blimp_engine.pak", |
712 ] | 727 ] |
713 } | 728 } |
OLD | NEW |