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 |
| 5 # TODO(tapted): Convert these from static_library -> component once web_modal is |
| 6 # converted. |
4 { | 7 { |
5 'targets': [ | 8 'targets': [ |
6 { | 9 { |
7 'target_name': 'native_app_window', | 10 'target_name': 'native_app_window', |
8 'type': 'static_library', | 11 'type': 'static_library', |
9 'dependencies': [ | 12 'dependencies': [ |
10 '../base/base.gyp:base', | 13 '../base/base.gyp:base', |
11 '../content/content.gyp:content_browser', | |
12 '../extensions/extensions.gyp:extensions_browser', | |
13 '../extensions/extensions.gyp:extensions_common', | |
14 '../skia/skia.gyp:skia', | 14 '../skia/skia.gyp:skia', |
15 '../ui/views/views.gyp:views', | 15 'web_modal', |
| 16 ], |
| 17 'defines': [ |
| 18 'NATIVE_APP_WINDOW_IMPLEMENTATION', |
16 ], | 19 ], |
17 'include_dirs': [ | 20 'include_dirs': [ |
18 '..', | 21 '..', |
19 ], | 22 ], |
20 'sources': [ | 23 'sources': [ |
21 'native_app_window/native_app_window_views.cc', | 24 'native_app_window/app_window_create_params.h', |
22 'native_app_window/native_app_window_views.h', | 25 'native_app_window/app_window_create_params.cc', |
| 26 'native_app_window/draggable_region.cc', |
| 27 'native_app_window/draggable_region.h', |
| 28 'native_app_window/native_app_window.h', |
| 29 'native_app_window/native_app_window_delegate.h', |
| 30 'native_app_window/native_app_window_export.h', |
| 31 'native_app_window/size_constraints.cc', |
| 32 'native_app_window/size_constraints.h', |
23 ], | 33 ], |
24 }, | 34 }, |
25 ], | 35 ], |
| 36 'conditions': [ |
| 37 ['toolkit_views==1', { |
| 38 'targets': [ |
| 39 { |
| 40 'target_name': 'native_app_window_views', |
| 41 'type': 'static_library', |
| 42 'dependencies': [ |
| 43 '../base/base.gyp:base', |
| 44 '../content/content.gyp:content_browser', |
| 45 '../skia/skia.gyp:skia', |
| 46 '../ui/views/views.gyp:views', |
| 47 'native_app_window', |
| 48 'web_modal', |
| 49 ], |
| 50 'defines': [ |
| 51 'NATIVE_APP_WINDOW_VIEWS_IMPLEMENTATION', |
| 52 ], |
| 53 'include_dirs': [ |
| 54 '..', |
| 55 ], |
| 56 'sources': [ |
| 57 'native_app_window/native_app_window_views.cc', |
| 58 'native_app_window/native_app_window_views.h', |
| 59 ], |
| 60 }, |
| 61 ], |
| 62 }], |
| 63 ] |
26 } | 64 } |
OLD | NEW |