| 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 'variables': { | 5 'variables': { |
| 6 'chromium_code': 1, | 6 'chromium_code': 1, |
| 7 }, | 7 }, |
| 8 'targets': [ | 8 'targets': [ |
| 9 { | 9 { |
| 10 # GN version: //ui/views/examples |
| 10 'target_name': 'views_examples_lib', | 11 'target_name': 'views_examples_lib', |
| 11 'type': '<(component)', | 12 'type': '<(component)', |
| 12 'dependencies': [ | 13 'dependencies': [ |
| 13 '../../../base/base.gyp:base', | 14 '../../../base/base.gyp:base', |
| 14 '../../../skia/skia.gyp:skia', | 15 '../../../skia/skia.gyp:skia', |
| 15 '../../../third_party/icu/icu.gyp:icui18n', | 16 '../../../third_party/icu/icu.gyp:icui18n', |
| 16 '../../../third_party/icu/icu.gyp:icuuc', | 17 '../../../third_party/icu/icu.gyp:icuuc', |
| 17 '../../base/ui_base.gyp:ui_base', | 18 '../../base/ui_base.gyp:ui_base', |
| 18 '../../events/events.gyp:events', | 19 '../../events/events.gyp:events', |
| 19 '../../gfx/gfx.gyp:gfx', | 20 '../../gfx/gfx.gyp:gfx', |
| 20 '../../gfx/gfx.gyp:gfx_geometry', | 21 '../../gfx/gfx.gyp:gfx_geometry', |
| 21 '../../resources/ui_resources.gyp:ui_resources', | 22 '../../resources/ui_resources.gyp:ui_resources', |
| 22 '../../resources/ui_resources.gyp:ui_test_pak', | 23 '../../resources/ui_resources.gyp:ui_test_pak', |
| 23 '../views.gyp:views', | 24 '../views.gyp:views', |
| 24 ], | 25 ], |
| 25 'include_dirs': [ | 26 'include_dirs': [ |
| 26 '../../..', | 27 '../../..', |
| 27 ], | 28 ], |
| 28 'defines': [ | 29 'defines': [ |
| 29 'VIEWS_EXAMPLES_IMPLEMENTATION', | 30 'VIEWS_EXAMPLES_IMPLEMENTATION', |
| 30 ], | 31 ], |
| 31 'sources': [ | 32 'sources': [ |
| 33 # Note: sources list duplicated in GN build. |
| 32 'bubble_example.cc', | 34 'bubble_example.cc', |
| 33 'bubble_example.h', | 35 'bubble_example.h', |
| 34 'button_example.cc', | 36 'button_example.cc', |
| 35 'button_example.h', | 37 'button_example.h', |
| 36 'checkbox_example.cc', | 38 'checkbox_example.cc', |
| 37 'checkbox_example.h', | 39 'checkbox_example.h', |
| 38 'combobox_example.cc', | 40 'combobox_example.cc', |
| 39 'combobox_example.h', | 41 'combobox_example.h', |
| 40 'double_split_view_example.cc', | 42 'double_split_view_example.cc', |
| 41 'double_split_view_example.h', | 43 'double_split_view_example.h', |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 'msvs_disabled_warnings': [ 4267, ], | 92 'msvs_disabled_warnings': [ 4267, ], |
| 91 }], | 93 }], |
| 92 ['use_aura==1', { | 94 ['use_aura==1', { |
| 93 'dependencies': [ | 95 'dependencies': [ |
| 94 '../../aura/aura.gyp:aura', | 96 '../../aura/aura.gyp:aura', |
| 95 ], | 97 ], |
| 96 }], | 98 }], |
| 97 ], | 99 ], |
| 98 }, # target_name: views_examples_lib | 100 }, # target_name: views_examples_lib |
| 99 { | 101 { |
| 102 # GN version: //ui/views/examples:views_examples_exe |
| 100 'target_name': 'views_examples_exe', | 103 'target_name': 'views_examples_exe', |
| 101 'type': 'executable', | 104 'type': 'executable', |
| 102 'dependencies': [ | 105 'dependencies': [ |
| 103 '../../../base/base.gyp:base', | 106 '../../../base/base.gyp:base', |
| 104 '../../../base/base.gyp:base_i18n', | 107 '../../../base/base.gyp:base_i18n', |
| 105 '../../base/ui_base.gyp:ui_base', | 108 '../../base/ui_base.gyp:ui_base', |
| 106 '../../compositor/compositor.gyp:compositor', | 109 '../../compositor/compositor.gyp:compositor', |
| 107 '../../compositor/compositor.gyp:compositor_test_support', | 110 '../../compositor/compositor.gyp:compositor_test_support', |
| 108 '../../gfx/gfx.gyp:gfx', | 111 '../../gfx/gfx.gyp:gfx', |
| 109 '../../resources/ui_resources.gyp:ui_test_pak', | 112 '../../resources/ui_resources.gyp:ui_test_pak', |
| 110 '../views.gyp:views', | 113 '../views.gyp:views', |
| 111 '../views.gyp:views_test_support', | 114 '../views.gyp:views_test_support', |
| 112 'views_examples_lib', | 115 'views_examples_lib', |
| 113 ], | 116 ], |
| 114 'sources': [ | 117 'sources': [ |
| 118 # Note: sources list duplicated in GN build. |
| 115 'examples_main.cc', | 119 'examples_main.cc', |
| 116 ], | 120 ], |
| 117 'conditions': [ | 121 'conditions': [ |
| 118 ['use_aura==1', { | 122 ['use_aura==1', { |
| 119 'dependencies': [ | 123 'dependencies': [ |
| 120 '../../aura/aura.gyp:aura', | 124 '../../aura/aura.gyp:aura', |
| 121 ], | 125 ], |
| 122 }], | 126 }], |
| 123 ], | 127 ], |
| 124 }, # target_name: views_examples_exe | 128 }, # target_name: views_examples_exe |
| 125 { | 129 { |
| 130 # GN version: //ui/views/examples:views_examples_with_content_lib |
| 126 'target_name': 'views_examples_with_content_lib', | 131 'target_name': 'views_examples_with_content_lib', |
| 127 'type': '<(component)', | 132 'type': '<(component)', |
| 128 'dependencies': [ | 133 'dependencies': [ |
| 129 '../../../base/base.gyp:base', | 134 '../../../base/base.gyp:base', |
| 130 '../../../content/content.gyp:content', | 135 '../../../content/content.gyp:content', |
| 131 '../../../skia/skia.gyp:skia', | 136 '../../../skia/skia.gyp:skia', |
| 132 '../../../url/url.gyp:url_lib', | 137 '../../../url/url.gyp:url_lib', |
| 133 '../../events/events.gyp:events', | 138 '../../events/events.gyp:events', |
| 134 '../controls/webview/webview.gyp:webview', | 139 '../controls/webview/webview.gyp:webview', |
| 135 '../views.gyp:views', | 140 '../views.gyp:views', |
| 136 'views_examples_lib', | 141 'views_examples_lib', |
| 137 ], | 142 ], |
| 138 'defines': [ | 143 'defines': [ |
| 139 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION', | 144 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION', |
| 140 ], | 145 ], |
| 141 'sources': [ | 146 'sources': [ |
| 147 # Note: sources list duplicated in GN build. |
| 142 'examples_window_with_content.cc', | 148 'examples_window_with_content.cc', |
| 143 'examples_window_with_content.h', | 149 'examples_window_with_content.h', |
| 144 'views_examples_with_content_export.h', | 150 'views_examples_with_content_export.h', |
| 145 'webview_example.cc', | 151 'webview_example.cc', |
| 146 'webview_example.h', | 152 'webview_example.h', |
| 147 ], | 153 ], |
| 148 }, # target_name: views_examples_with_content_lib | 154 }, # target_name: views_examples_with_content_lib |
| 149 { | 155 { |
| 156 # GN version: //ui/views/examples/views_examples_with_content_exe |
| 150 'target_name': 'views_examples_with_content_exe', | 157 'target_name': 'views_examples_with_content_exe', |
| 151 'type': 'executable', | 158 'type': 'executable', |
| 152 'dependencies': [ | 159 'dependencies': [ |
| 153 '../../../base/base.gyp:base', | 160 '../../../base/base.gyp:base', |
| 154 '../../../content/content.gyp:content', | 161 '../../../content/content.gyp:content', |
| 155 '../../views_content_client/views_content_client.gyp:views_content_clien
t', | 162 '../../views_content_client/views_content_client.gyp:views_content_clien
t', |
| 156 'views_examples_with_content_lib', | 163 'views_examples_with_content_lib', |
| 157 ], | 164 ], |
| 158 'sources': [ | 165 'sources': [ |
| 166 # Note: sources list duplicated in GN build. |
| 159 'examples_with_content_main_exe.cc', | 167 'examples_with_content_main_exe.cc', |
| 160 ], | 168 ], |
| 161 'conditions': [ | 169 'conditions': [ |
| 162 ['OS=="win"', { | 170 ['OS=="win"', { |
| 163 'link_settings': { | 171 'link_settings': { |
| 164 'libraries': [ | 172 'libraries': [ |
| 165 '-limm32.lib', | 173 '-limm32.lib', |
| 166 '-loleacc.lib', | 174 '-loleacc.lib', |
| 167 ] | 175 ] |
| 168 }, | 176 }, |
| 169 'msvs_settings': { | 177 'msvs_settings': { |
| 170 'VCManifestTool': { | 178 'VCManifestTool': { |
| 171 'AdditionalManifestFiles': [ | 179 'AdditionalManifestFiles': [ |
| 172 'views_examples.exe.manifest', | 180 'views_examples.exe.manifest', |
| 173 ], | 181 ], |
| 174 }, | 182 }, |
| 175 'VCLinkerTool': { | 183 'VCLinkerTool': { |
| 176 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 184 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 177 }, | 185 }, |
| 178 }, | 186 }, |
| 179 'dependencies': [ | 187 'dependencies': [ |
| 180 '../../../sandbox/sandbox.gyp:sandbox', | 188 '../../../sandbox/sandbox.gyp:sandbox', |
| 181 '../../../content/content.gyp:content_startup_helper_win', | 189 '../../../content/content.gyp:content_startup_helper_win', |
| 182 ], | 190 ], |
| 183 }], | 191 }], |
| 184 ], | 192 ], |
| 185 }, # target_name: views_examples_with_content_exe | 193 }, # target_name: views_examples_with_content_exe |
| 186 ], | 194 ], |
| 187 } | 195 } |
| OLD | NEW |