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") |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 if (toolkit_views) { | 40 if (toolkit_views) { |
41 deps += [ "//ui/views/resources" ] | 41 deps += [ "//ui/views/resources" ] |
42 sources += | 42 sources += |
43 [ "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak" ] | 43 [ "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak" ] |
44 } | 44 } |
45 | 45 |
46 output = "$root_out_dir/blimp_engine.pak" | 46 output = "$root_out_dir/blimp_engine.pak" |
47 } | 47 } |
48 | 48 |
| 49 grit("resources") { |
| 50 source = "app/blimp_browser_resources.grd" |
| 51 output_dir = "$root_gen_dir/blimp" |
| 52 outputs = [ |
| 53 "grit/blimp_browser_resources.h", |
| 54 ] |
| 55 } |
| 56 |
49 source_set("app") { | 57 source_set("app") { |
50 sources = [ | 58 sources = [ |
51 "app/blimp_browser_main_parts.cc", | 59 "app/blimp_browser_main_parts.cc", |
52 "app/blimp_browser_main_parts.h", | 60 "app/blimp_browser_main_parts.h", |
53 "app/blimp_content_browser_client.cc", | 61 "app/blimp_content_browser_client.cc", |
54 "app/blimp_content_browser_client.h", | 62 "app/blimp_content_browser_client.h", |
55 "app/blimp_content_main_delegate.cc", | 63 "app/blimp_content_main_delegate.cc", |
56 "app/blimp_content_main_delegate.h", | 64 "app/blimp_content_main_delegate.h", |
57 ] | 65 ] |
58 | 66 |
59 public_deps = [ | 67 public_deps = [ |
60 ":app_metrics", | 68 ":app_metrics", |
| 69 ":resources", |
61 "//device/geolocation", | 70 "//device/geolocation", |
62 "//device/geolocation/public/interfaces", | 71 "//device/geolocation/public/interfaces", |
63 ] | 72 ] |
64 | 73 |
65 deps = [ | 74 deps = [ |
66 ":app_config", | 75 ":app_config", |
67 ":app_net", | 76 ":app_net", |
68 ":app_permissions", | 77 ":app_permissions", |
69 ":app_settings", | 78 ":app_settings", |
70 ":app_ui", | 79 ":app_ui", |
(...skipping 10 matching lines...) Expand all Loading... |
81 "//blimp/net", | 90 "//blimp/net", |
82 "//components/crash/content/app:app_breakpad_mac_win_to_be_deleted", | 91 "//components/crash/content/app:app_breakpad_mac_win_to_be_deleted", |
83 "//components/crash/content/app:lib", | 92 "//components/crash/content/app:lib", |
84 "//content/public/app:both", | 93 "//content/public/app:both", |
85 "//content/public/browser", | 94 "//content/public/browser", |
86 "//content/public/common", | 95 "//content/public/common", |
87 "//content/public/renderer", | 96 "//content/public/renderer", |
88 "//content/public/utility", | 97 "//content/public/utility", |
89 "//device/geolocation", | 98 "//device/geolocation", |
90 "//net", | 99 "//net", |
| 100 "//ui/base:base", |
91 ] | 101 ] |
92 } | 102 } |
93 | 103 |
94 source_set("app_config") { | 104 source_set("app_config") { |
95 sources = [ | 105 sources = [ |
96 "app/blimp_engine_config.cc", | 106 "app/blimp_engine_config.cc", |
97 "app/blimp_engine_config.h", | 107 "app/blimp_engine_config.h", |
98 ] | 108 ] |
99 deps = [ | 109 deps = [ |
100 "//base", | 110 "//base", |
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 "//content/test:test_support", | 714 "//content/test:test_support", |
705 "//testing/gmock", | 715 "//testing/gmock", |
706 "//testing/gtest", | 716 "//testing/gtest", |
707 ] | 717 ] |
708 | 718 |
709 data = [ | 719 data = [ |
710 "//blimp/test/data/", | 720 "//blimp/test/data/", |
711 "$root_out_dir/blimp_engine.pak", | 721 "$root_out_dir/blimp_engine.pak", |
712 ] | 722 ] |
713 } | 723 } |
OLD | NEW |