| 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 assert(!is_android && !is_ios) | 8 assert(!is_android && !is_ios) |
| 9 | 9 |
| 10 static_library("apps") { | 10 static_library("apps") { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 if (!enable_extensions) { | 53 if (!enable_extensions) { |
| 54 # When extensions are disabled, only the sizer file below is included. | 54 # When extensions are disabled, only the sizer file below is included. |
| 55 deps -= [ | 55 deps -= [ |
| 56 "//chrome/browser/extensions", | 56 "//chrome/browser/extensions", |
| 57 "//chrome/common/extensions/api:api", | 57 "//chrome/common/extensions/api:api", |
| 58 ] | 58 ] |
| 59 sources = [] | 59 sources = [] |
| 60 } | 60 } |
| 61 | 61 |
| 62 if (toolkit_views) { | 62 if (toolkit_views) { |
| 63 sources += [ | 63 if (!is_mac) { |
| 64 "ui/views/app_window_frame_view.cc", | 64 sources += [ |
| 65 "ui/views/app_window_frame_view.h", | 65 "ui/views/app_window_frame_view.cc", |
| 66 ] | 66 "ui/views/app_window_frame_view.h", |
| 67 ] |
| 68 } |
| 67 deps += [ | 69 deps += [ |
| 68 "//ui/strings", | 70 "//ui/strings", |
| 69 "//ui/views", | 71 "//ui/views", |
| 70 ] | 72 ] |
| 71 if (enable_extensions) { | 73 if (enable_extensions) { |
| 72 deps += [ "//extensions/browser" ] | 74 deps += [ "//extensions/browser" ] |
| 73 } | 75 } |
| 74 } | 76 } |
| 75 | 77 |
| 76 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 78 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 77 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 79 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 78 } | 80 } |
| OLD | NEW |