OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //apps | 8 # GN version: //apps |
9 'target_name': 'apps', | 9 'target_name': 'apps', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 'saved_files_service_factory.cc', | 56 'saved_files_service_factory.cc', |
57 'saved_files_service_factory.h', | 57 'saved_files_service_factory.h', |
58 'switches.cc', | 58 'switches.cc', |
59 'switches.h', | 59 'switches.h', |
60 'ui/apps_client.cc', | 60 'ui/apps_client.cc', |
61 'ui/apps_client.h', | 61 'ui/apps_client.h', |
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 'ui/views/native_app_window_views.cc', | 64 'ui/views/native_app_window_views.cc', |
65 'ui/views/native_app_window_views.h', | 65 'ui/views/native_app_window_views.h', |
66 'ui/web_contents_sizer.h', | |
67 ], | 66 ], |
68 'conditions': [ | 67 'conditions': [ |
69 ['OS=="mac"', { | |
70 'sources': [ | |
71 'ui/web_contents_sizer.mm', | |
72 ], | |
73 }, { # OS!=mac | |
74 'sources': [ | |
75 'ui/web_contents_sizer.cc', | |
76 ], | |
77 }], | |
78 ['chromeos==1', | 68 ['chromeos==1', |
79 { | 69 { |
80 'dependencies': [ | 70 'dependencies': [ |
81 'browser_chromeos', | 71 'browser_chromeos', |
82 ] | 72 ] |
83 } | 73 } |
84 ], | 74 ], |
85 ['enable_extensions==0', | 75 ['enable_extensions==0', |
86 { | 76 { |
87 'dependencies!': [ | 77 'dependencies!': [ |
88 'browser_extensions', | 78 'browser_extensions', |
89 ], | 79 ], |
90 'sources/': [ | 80 'sources/': [ |
91 ['exclude', '.*'], | 81 ['exclude', '.*'], |
92 ['include', 'ui/web_contents_sizer\.cc$'], | |
93 ['include', 'ui/web_contents_sizer\.mm$'], | |
94 ], | 82 ], |
95 } | 83 } |
96 ], | 84 ], |
97 ['toolkit_views==1', { | 85 ['toolkit_views==1', { |
98 'dependencies': [ | 86 'dependencies': [ |
99 '../ui/strings/ui_strings.gyp:ui_strings', | 87 '../ui/strings/ui_strings.gyp:ui_strings', |
100 '../ui/views/views.gyp:views', | 88 '../ui/views/views.gyp:views', |
101 ], | 89 ], |
102 }, { # toolkit_views==0 | 90 }, { # toolkit_views==0 |
103 'sources/': [ | 91 'sources/': [ |
104 ['exclude', 'ui/views/'], | 92 ['exclude', 'ui/views/'], |
105 ], | 93 ], |
106 }], | 94 }], |
107 ], | 95 ], |
108 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 96 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
109 'msvs_disabled_warnings': [ 4267, ], | 97 'msvs_disabled_warnings': [ 4267, ], |
110 }, | 98 }, |
111 ], # targets | 99 ], # targets |
112 } | 100 } |
OLD | NEW |