forked from crosswalk-project/crosswalk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxwalk_application.gypi
119 lines (114 loc) · 3.61 KB
/
xwalk_application.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
'targets': [
{
'target_name': 'xwalk_application_lib',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'../crypto/crypto.gyp:crypto',
'../ipc/ipc.gyp:ipc',
'../sql/sql.gyp:sql',
'../ui/ui.gyp:ui',
'../url/url.gyp:url_lib',
'../third_party/WebKit/public/blink.gyp:blink',
'../third_party/zlib/google/zip.gyp:zip',
'xwalk_application_resources',
],
'sources': [
'browser/application_process_manager.cc',
'browser/application_process_manager.h',
'browser/application_protocols.cc',
'browser/application_protocols.h',
'browser/application_service.cc',
'browser/application_service.h',
'browser/application_store.cc',
'browser/application_store.h',
'browser/application_system.cc',
'browser/application_system.h',
'browser/installer/xpk_extractor.cc',
'browser/installer/xpk_extractor.h',
'browser/installer/xpk_package.cc',
'browser/installer/xpk_package.h',
'common/application.cc',
'common/application.h',
'common/application_file_util.cc',
'common/application_file_util.h',
'common/application_manifest_constants.cc',
'common/application_manifest_constants.h',
'common/application_resource.cc',
'common/application_resource.h',
'common/constants.cc',
'common/constants.h',
'common/db_store.cc',
'common/db_store.h',
'common/db_store_sqlite_impl.cc',
'common/db_store_sqlite_impl.h',
'common/id_util.cc',
'common/id_util.h',
'common/install_warning.h',
'common/manifest.cc',
'common/manifest.h',
'common/manifest_handler.cc',
'common/manifest_handler.h',
'extension/application_extension.cc',
'extension/application_extension.h',
'renderer/application_native_module.cc',
'renderer/application_native_module.h',
],
'conditions': [
[ 'tizen_mobile == 1', {
'dependencies': [
'../third_party/libxml/libxml.gyp:libxml',
'build/system.gyp:tizen',
'tizen/xwalk_tizen.gypi:xwalk_tizen_lib',
],
'sources': [
'browser/installer/tizen/packageinfo_constants.cc',
'browser/installer/tizen/packageinfo_constants.h',
'browser/installer/tizen/package_installer.cc',
'browser/installer/tizen/package_installer.h',
],
}],
],
'include_dirs': [
'../..',
],
},
{
'target_name': 'xwalk_application_resources',
'type': 'none',
'dependencies': [
'generate_xwalk_application_resources',
],
'variables': {
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/xwalk',
},
'includes': [ '../../build/grit_target.gypi' ],
'copies': [
{
'destination': '<(PRODUCT_DIR)',
'files': [
'<(SHARED_INTERMEDIATE_DIR)/xwalk/xwalk_application_resources.pak'
],
},
],
},
{
'target_name': 'generate_xwalk_application_resources',
'type': 'none',
'variables': {
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/xwalk',
},
'actions': [
{
'action_name': 'xwalk_application_resources',
'variables': {
'grit_resource_ids': 'resources/resource_ids',
'grit_grd_file': 'application_resources.grd',
},
'includes': [ '../../build/grit_action.gypi' ],
},
],
},
],
}