This repository has been archived by the owner on Aug 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
/
supplement.gypi
71 lines (70 loc) · 2.71 KB
/
supplement.gypi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Copyright 2013 The Chromium Authors. All rights reserved.
# Copyright 2013 Intel Corporation. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'ozone_platform_wayland%': 1,
'platform_list_txt_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_list.txt',
'desktop_factory_ozone_list_cc_file': '<(INTERMEDIATE_DIR)/ui/views/desktop_factory_ozone_list.cc',
},
'conditions': [
['<(ozone_platform_wayland) == 1', {
'variables': {
'external_ozone_platform_deps': [
'<(DEPTH)/ozone/ozone_impl.gyp:wayland',
],
'external_ozone_views_files': [
'<(DEPTH)/ozone/ui/desktop_aura/desktop_drag_drop_client_wayland.cc',
'<(DEPTH)/ozone/ui/desktop_aura/desktop_drag_drop_client_wayland.h',
'<(DEPTH)/ozone/ui/desktop_aura/desktop_factory_ozone_stubs.cc',
'<(DEPTH)/ozone/ui/desktop_aura/desktop_factory_ozone_stubs.h',
'<(DEPTH)/ozone/ui/desktop_aura/desktop_factory_ozone_wayland.cc',
'<(DEPTH)/ozone/ui/desktop_aura/desktop_factory_ozone_wayland.h',
'<(DEPTH)/ozone/ui/desktop_aura/desktop_platform_screen.h',
'<(DEPTH)/ozone/ui/desktop_aura/desktop_screen_wayland.cc',
'<(DEPTH)/ozone/ui/desktop_aura/desktop_screen_wayland.h',
'<(DEPTH)/ozone/ui/desktop_aura/desktop_window_tree_host_ozone.cc',
'<(DEPTH)/ozone/ui/desktop_aura/desktop_window_tree_host_ozone.h',
'<(DEPTH)/ozone/ui/desktop_aura/ozone_util.cc',
'<(DEPTH)/ozone/ui/desktop_aura/ozone_util.h',
'<(desktop_factory_ozone_list_cc_file)',
],
'external_ozone_platforms': [
'wayland'
],
'ozone_platform%': 'wayland',
},
}],
],
'target_defaults': {
'target_conditions': [
['_target_name=="views"', {
'actions': [
{
'action_name': 'generate_constructor_list',
'variables': {
'generator_path': '<(DEPTH)/ui/ozone/generate_constructor_list.py',
},
'inputs': [
'<(generator_path)',
'<(platform_list_txt_file)',
],
'outputs': [
'<(desktop_factory_ozone_list_cc_file)',
],
'action': [
'python',
'<(generator_path)',
'--platform_list=<(platform_list_txt_file)',
'--output_cc=<(desktop_factory_ozone_list_cc_file)',
'--namespace=views',
'--typename=DesktopFactoryOzone',
'--include="ui/views/widget/desktop_aura/desktop_factory_ozone.h"',
],
},
],
}],
],
},
}