OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//extensions/features/features.gni") |
| 6 |
5 source_set("app_window") { | 7 source_set("app_window") { |
6 sources = [ | 8 sources = [ |
7 "app_delegate.h", | 9 "app_delegate.h", |
8 "app_web_contents_helper.cc", | 10 "app_web_contents_helper.cc", |
9 "app_web_contents_helper.h", | 11 "app_web_contents_helper.h", |
10 "app_window.cc", | 12 "app_window.cc", |
11 "app_window.h", | 13 "app_window.h", |
12 "app_window_client.cc", | 14 "app_window_client.cc", |
13 "app_window_client.h", | 15 "app_window_client.h", |
14 "app_window_contents.cc", | 16 "app_window_contents.cc", |
15 "app_window_contents.h", | 17 "app_window_contents.h", |
16 "app_window_geometry_cache.cc", | 18 "app_window_geometry_cache.cc", |
17 "app_window_geometry_cache.h", | 19 "app_window_geometry_cache.h", |
18 "app_window_registry.cc", | 20 "app_window_registry.cc", |
19 "app_window_registry.h", | 21 "app_window_registry.h", |
20 "native_app_window.h", | 22 "native_app_window.h", |
21 "size_constraints.cc", | 23 "size_constraints.cc", |
22 "size_constraints.h", | 24 "size_constraints.h", |
23 ] | 25 ] |
24 | 26 |
25 configs += [ | 27 configs += [ |
26 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 28 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
27 "//build/config/compiler:no_size_t_to_int_warning", | 29 "//build/config/compiler:no_size_t_to_int_warning", |
28 ] | 30 ] |
29 | 31 |
30 deps = [ | 32 deps = [ |
31 "//content/public/common", | 33 "//content/public/common", |
32 "//extensions:extensions_browser_resources", | |
33 "//extensions/strings", | |
34 ] | 34 ] |
| 35 |
| 36 if (enable_extensions) { |
| 37 deps += [ |
| 38 "//extensions:extensions_browser_resources", |
| 39 "//extensions/strings", |
| 40 ] |
| 41 } |
35 } | 42 } |
OLD | NEW |