OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 Google Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 18 matching lines...) Expand all Loading... |
29 # | 29 # |
30 { | 30 { |
31 'includes': [ | 31 'includes': [ |
32 '../Source/build/features.gypi', | 32 '../Source/build/features.gypi', |
33 ], | 33 ], |
34 'variables': { | 34 'variables': { |
35 'blink_mojo_sources': [ | 35 'blink_mojo_sources': [ |
36 'platform/modules/bluetooth/web_bluetooth.mojom', | 36 'platform/modules/bluetooth/web_bluetooth.mojom', |
37 'platform/modules/geolocation/geolocation.mojom', | 37 'platform/modules/geolocation/geolocation.mojom', |
38 'platform/modules/notifications/notification.mojom', | 38 'platform/modules/notifications/notification.mojom', |
39 'platform/modules/payments/payment_request.mojom', | |
40 'platform/modules/permissions/permission.mojom', | 39 'platform/modules/permissions/permission.mojom', |
41 'platform/modules/permissions/permission_status.mojom', | 40 'platform/modules/permissions/permission_status.mojom', |
42 ], | 41 ], |
| 42 'blink_android_mojo_sources': [ |
| 43 'platform/modules/payments/payment_request.mojom', |
| 44 ], |
43 }, | 45 }, |
44 'targets': [ | 46 'targets': [ |
45 { | 47 { |
46 # GN version: //third_party/WebKit/public:blink | 48 # GN version: //third_party/WebKit/public:blink |
47 'target_name': 'blink', | 49 'target_name': 'blink', |
48 'type': 'none', | 50 'type': 'none', |
49 'dependencies': [ | 51 'dependencies': [ |
50 'mojo_bindings', | 52 'mojo_bindings', |
51 '../Source/platform/blink_platform.gyp:blink_platform', | 53 '../Source/platform/blink_platform.gyp:blink_platform', |
52 '../Source/web/web.gyp:blink_web', | 54 '../Source/web/web.gyp:blink_web', |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 'export_dependent_settings': [ | 93 'export_dependent_settings': [ |
92 '../Source/platform/blink_platform_tests.gyp:blink_platform_test
_support', | 94 '../Source/platform/blink_platform_tests.gyp:blink_platform_test
_support', |
93 '../Source/web/web.gyp:blink_web_test_support', | 95 '../Source/web/web.gyp:blink_web_test_support', |
94 ], | 96 ], |
95 }, | 97 }, |
96 { | 98 { |
97 # GN version: //third_party/WebKit/public:mojo_bindings_blink | 99 # GN version: //third_party/WebKit/public:mojo_bindings_blink |
98 'target_name': 'mojo_bindings_blink_mojom', | 100 'target_name': 'mojo_bindings_blink_mojom', |
99 'type': 'none', | 101 'type': 'none', |
100 'variables': { | 102 'variables': { |
101 'mojom_files': ['<@(blink_mojo_sources)'], | 103 'mojom_files': [ |
| 104 '<@(blink_mojo_sources)', |
| 105 '<@(blink_android_mojo_sources)', |
| 106 ], |
102 'mojom_variant': 'wtf', | 107 'mojom_variant': 'wtf', |
103 'for_blink': 'true', | 108 'for_blink': 'true', |
104 }, | 109 }, |
105 'includes': [ | 110 'includes': [ |
106 '../../../mojo/mojom_bindings_generator_explicit.gypi', | 111 '../../../mojo/mojom_bindings_generator_explicit.gypi', |
107 ], | 112 ], |
108 }, | 113 }, |
109 { | 114 { |
110 # GN version: //third_party/WebKit/public:mojo_bindings | 115 # GN version: //third_party/WebKit/public:mojo_bindings |
111 'target_name': 'mojo_bindings_mojom', | 116 'target_name': 'mojo_bindings_mojom', |
112 'type': 'none', | 117 'type': 'none', |
113 'variables': { | 118 'variables': { |
114 'mojom_files': ['<@(blink_mojo_sources)'], | 119 'mojom_files': ['<@(blink_mojo_sources)'], |
115 }, | 120 }, |
116 'includes': [ | 121 'includes': [ |
117 '../../../mojo/mojom_bindings_generator_explicit.gypi', | 122 '../../../mojo/mojom_bindings_generator_explicit.gypi', |
118 ], | 123 ], |
119 }, | 124 }, |
120 { | 125 { |
121 'target_name': 'mojo_bindings', | 126 'target_name': 'mojo_bindings', |
122 'type': 'static_library', | 127 'type': 'static_library', |
123 'dependencies': [ | 128 'dependencies': [ |
124 'mojo_bindings_blink_mojom', | 129 'mojo_bindings_blink_mojom', |
125 'mojo_bindings_mojom', | 130 'mojo_bindings_mojom', |
126 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', | 131 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
127 ], | 132 ], |
128 }, | 133 }, |
129 ], | 134 ], |
| 135 'conditions': [ |
| 136 ['OS == "android"', { |
| 137 'targets': [ |
| 138 { |
| 139 'target_name': 'android_mojo_bindings_mojom', |
| 140 'type': 'none', |
| 141 'variables': { |
| 142 'mojom_files': ['<@(blink_android_mojo_sources)'], |
| 143 }, |
| 144 'includes': [ |
| 145 '../../../mojo/mojom_bindings_generator_explicit.gypi', |
| 146 ], |
| 147 }, |
| 148 { |
| 149 # GN version: //third_party/WebKit/public:android_mojo_bindi
ngs_java |
| 150 'target_name': 'android_mojo_bindings_java', |
| 151 'type': 'static_library', |
| 152 'dependencies': [ |
| 153 'android_mojo_bindings_mojom', |
| 154 '../../../mojo/mojo_public.gyp:mojo_bindings_java', |
| 155 ], |
| 156 }, |
| 157 ], |
| 158 }], |
| 159 ], |
130 } | 160 } |
OLD | NEW |