Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: apps/BUILD.gn

Issue 576863003: Componentize NativeAppWindowViews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | apps/apps.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 -= [ "//chrome/browser/extensions" ] 53 deps -= [ "//chrome/browser/extensions" ]
54 sources = [] 54 sources = []
55 } 55 }
56 56
57 if (toolkit_views) { 57 if (toolkit_views) {
58 sources += [ 58 sources += [
59 "ui/views/app_window_frame_view.cc", 59 "ui/views/app_window_frame_view.cc",
60 "ui/views/app_window_frame_view.h", 60 "ui/views/app_window_frame_view.h",
61 "ui/views/native_app_window_views.cc",
62 "ui/views/native_app_window_views.h",
63 ] 61 ]
64 deps += [ 62 deps += [
65 "//ui/strings", 63 "//ui/strings",
66 "//ui/views", 64 "//ui/views",
67 ] 65 ]
68 } 66 }
69 67
70 if (is_win) { 68 if (is_win) {
71 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 69 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
72 cflags = [ "/wd4267" ] 70 cflags = [ "/wd4267" ]
73 } 71 }
74 } 72 }
OLDNEW
« no previous file with comments | « no previous file | apps/apps.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698