[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / ui / views_content_client / views_content_client.gyp
blobcd53207ea06504a88589541f8d2e128c60de3382
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
3 # found in the LICENSE file.
5   'variables': {
6     'chromium_code': 1,
7   },
8   'targets': [
9     {
10       # GN version: //ui/views_content_client
11       'target_name': 'views_content_client',
12       'type': '<(component)',
13       'dependencies': [
14         '../../base/base.gyp:base',
15         '../../base/base.gyp:base_i18n',
16         '../../content/content.gyp:content',
17         '../../content/content_shell_and_tests.gyp:content_shell_lib',
18         '../../third_party/icu/icu.gyp:icui18n',
19         '../../third_party/icu/icu.gyp:icuuc',
20         '../base/ui_base.gyp:ui_base',
21         '../events/events.gyp:events',
22         '../gfx/gfx.gyp:gfx',
23         '../gfx/gfx.gyp:gfx_geometry',
24         '../resources/ui_resources.gyp:ui_resources',
25         '../resources/ui_resources.gyp:ui_test_pak',
26         '../views/views.gyp:views',
27         '../views/views.gyp:views_test_support',
28       ],
29       'defines': [
30         'VIEWS_CONTENT_CLIENT_IMPLEMENTATION',
31       ],
32       'sources': [
33         # Note: sources list duplicated in GN build.
34         'views_content_browser_client.cc',
35         'views_content_browser_client.h',
36         'views_content_client.cc',
37         'views_content_client.h',
38         'views_content_client_export.h',
39         'views_content_client_main_parts.cc',
40         'views_content_client_main_parts.h',
41         'views_content_client_main_parts_aura.cc',
42         'views_content_client_main_parts_aura.h',
43         'views_content_client_main_parts_chromeos.cc',
44         'views_content_client_main_parts_desktop_aura.cc',
45         'views_content_client_main_parts_mac.mm',
46         'views_content_main_delegate.cc',
47       ],
48       'conditions': [
49         ['use_aura==1', {
50           'dependencies': [
51             '../aura/aura.gyp:aura',
52           ],
53         }],  # use_aura==1
54         ['chromeos==1', {
55           'sources!': [
56             'views_content_client_main_parts_desktop_aura.cc',
57           ]
58         }],  # chromeos==1
59       ],
60     },  # target_name: views_content_client
61   ],