| 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/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 | 7 |
| 8 static_library("apps") { | 8 static_library("apps") { |
| 9 sources = [ | 9 sources = [ |
| 10 "app_lifetime_monitor.cc", | 10 "app_lifetime_monitor.cc", |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 37 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 38 | 38 |
| 39 deps = [ | 39 deps = [ |
| 40 "//chrome/app/theme:theme_resources", | 40 "//chrome/app/theme:theme_resources", |
| 41 "//chrome/browser/extensions", | 41 "//chrome/browser/extensions", |
| 42 "//chrome/common/extensions/api:api", | 42 "//chrome/common/extensions/api:api", |
| 43 "//components/web_modal", | 43 "//components/web_modal", |
| 44 "//skia", | 44 "//skia", |
| 45 ] | 45 ] |
| 46 | 46 |
| 47 if (is_chromeos) { | 47 if (is_chromeos_ui) { |
| 48 #deps += [ "browser_chromeos" ] TODO(GYP) | 48 #deps += [ "browser_chromeos" ] TODO(GYP) |
| 49 } | 49 } |
| 50 | 50 |
| 51 if (!enable_extensions) { | 51 if (!enable_extensions) { |
| 52 # When extensions are disabled, only the sizer file below is included. | 52 # When extensions are disabled, only the sizer file below is included. |
| 53 deps -= [ | 53 deps -= [ |
| 54 "//chrome/browser/extensions", | 54 "//chrome/browser/extensions", |
| 55 "//chrome/common/extensions/api:api", | 55 "//chrome/common/extensions/api:api", |
| 56 ] | 56 ] |
| 57 sources = [] | 57 sources = [] |
| 58 } | 58 } |
| 59 | 59 |
| 60 if (toolkit_views) { | 60 if (toolkit_views) { |
| 61 sources += [ | 61 sources += [ |
| 62 "ui/views/app_window_frame_view.cc", | 62 "ui/views/app_window_frame_view.cc", |
| 63 "ui/views/app_window_frame_view.h", | 63 "ui/views/app_window_frame_view.h", |
| 64 ] | 64 ] |
| 65 deps += [ | 65 deps += [ |
| 66 "//ui/strings", | 66 "//ui/strings", |
| 67 "//ui/views", | 67 "//ui/views", |
| 68 ] | 68 ] |
| 69 if (enable_extensions) { | 69 if (enable_extensions) { |
| 70 deps += [ "//extensions/browser" ] | 70 deps += [ "//extensions/browser" ] |
| 71 } | 71 } |
| 72 } | 72 } |
| 73 | 73 |
| 74 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 74 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 75 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 75 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 76 } | 76 } |
| OLD | NEW |