[email protected] | 73ae0f3e | 2013-04-08 20:38:15 | [diff] [blame] | 1 | # Copyright 2009 The Chromium Authors. All rights reserved. |
[email protected] | 878aa82 | 2012-08-09 10:55:04 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | { |
| 5 | 'variables': { |
| 6 | 'chromium_code': 1, |
boliu | 9739591 | 2015-10-01 01:43:30 | [diff] [blame] | 7 | 'system_webview_package_name%': 'com.android.webview', |
[email protected] | 878aa82 | 2012-08-09 10:55:04 | [diff] [blame] | 8 | }, |
| 9 | 'targets': [ |
| 10 | { |
[email protected] | 17237f1 | 2012-12-06 17:37:35 | [diff] [blame] | 11 | 'target_name': 'android_webview_pak', |
| 12 | 'type': 'none', |
| 13 | 'dependencies': [ |
[email protected] | a9ca8d5 | 2014-08-22 10:21:08 | [diff] [blame] | 14 | '<(DEPTH)/content/app/resources/content_resources.gyp:content_resources', |
[email protected] | 17237f1 | 2012-12-06 17:37:35 | [diff] [blame] | 15 | '<(DEPTH)/net/net.gyp:net_resources', |
[email protected] | 1400d1d | 2014-07-25 07:49:59 | [diff] [blame] | 16 | '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources', |
[email protected] | 1c0c3f4 | 2013-11-20 02:03:28 | [diff] [blame] | 17 | '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', |
[email protected] | 17237f1 | 2012-12-06 17:37:35 | [diff] [blame] | 18 | ], |
gsennton | 124ee91 | 2015-06-09 14:47:42 | [diff] [blame] | 19 | 'variables': { |
| 20 | 'conditions': [ |
| 21 | ['target_arch=="arm" or target_arch=="ia32" or target_arch=="mipsel"', { |
| 22 | 'arch_suffix':'32' |
| 23 | }], |
| 24 | ['target_arch=="arm64" or target_arch=="x64" or target_arch=="mips64el"', { |
| 25 | 'arch_suffix':'64' |
| 26 | }], |
| 27 | ], |
mnaganov | f082f6c | 2015-08-05 20:09:53 | [diff] [blame] | 28 | 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/android_webview', |
gsennton | 124ee91 | 2015-06-09 14:47:42 | [diff] [blame] | 29 | }, |
[email protected] | 17237f1 | 2012-12-06 17:37:35 | [diff] [blame] | 30 | 'actions': [ |
michaelbai | a29b0f4 | 2015-10-23 17:38:09 | [diff] [blame] | 31 | # GN version: //android_webview:generate_aw_resources |
[email protected] | 17237f1 | 2012-12-06 17:37:35 | [diff] [blame] | 32 | { |
mnaganov | 5691704 | 2015-08-07 16:48:33 | [diff] [blame] | 33 | 'action_name': 'generate_aw_resources', |
mnaganov | f082f6c | 2015-08-05 20:09:53 | [diff] [blame] | 34 | 'variables': { |
mnaganov | 5691704 | 2015-08-07 16:48:33 | [diff] [blame] | 35 | 'grit_grd_file': 'ui/aw_resources.grd', |
mnaganov | f082f6c | 2015-08-05 20:09:53 | [diff] [blame] | 36 | }, |
| 37 | 'includes': [ '../build/grit_action.gypi' ], |
| 38 | }, |
michaelbai | ef836d8 | 2015-10-30 05:04:19 | [diff] [blame] | 39 | # GN version: //android_webview:repack_pack |
mnaganov | f082f6c | 2015-08-05 20:09:53 | [diff] [blame] | 40 | { |
[email protected] | 17237f1 | 2012-12-06 17:37:35 | [diff] [blame] | 41 | 'action_name': 'repack_android_webview_pack', |
| 42 | 'variables': { |
| 43 | 'pak_inputs': [ |
erg | a3c614c9 | 2015-04-03 17:47:51 | [diff] [blame] | 44 | '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak', |
| 45 | '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_image_resources_100_percent.pak', |
[email protected] | a9ca8d5 | 2014-08-22 10:21:08 | [diff] [blame] | 46 | '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resources_100_percent.pak', |
[email protected] | 17237f1 | 2012-12-06 17:37:35 | [diff] [blame] | 47 | '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', |
| 48 | '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
[email protected] | a3c13435 | 2014-07-11 19:23:19 | [diff] [blame] | 49 | '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak', |
mnaganov | 5691704 | 2015-08-07 16:48:33 | [diff] [blame] | 50 | '<(grit_out_dir)/aw_resources.pak', |
[email protected] | 17237f1 | 2012-12-06 17:37:35 | [diff] [blame] | 51 | ], |
michaelbai | 46db496 | 2015-10-05 20:14:45 | [diff] [blame] | 52 | 'pak_output': '<(webview_chromium_pak_path)', |
[email protected] | 17237f1 | 2012-12-06 17:37:35 | [diff] [blame] | 53 | }, |
[email protected] | 01bdc920 | 2014-03-28 21:11:20 | [diff] [blame] | 54 | 'includes': [ '../build/repack_action.gypi' ], |
[email protected] | dd1c2a7 | 2014-07-29 18:11:33 | [diff] [blame] | 55 | }, |
michaelbai | a29b0f4 | 2015-10-23 17:38:09 | [diff] [blame] | 56 | # GN version: //android_webview:generate_aw_strings |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 57 | { |
mnaganov | 5691704 | 2015-08-07 16:48:33 | [diff] [blame] | 58 | 'action_name': 'generate_aw_strings', |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 59 | 'variables': { |
mnaganov | 5691704 | 2015-08-07 16:48:33 | [diff] [blame] | 60 | 'grit_grd_file': 'ui/aw_strings.grd', |
| 61 | }, |
| 62 | 'includes': [ '../build/grit_action.gypi' ], |
| 63 | }, |
michaelbai | a29b0f4 | 2015-10-23 17:38:09 | [diff] [blame] | 64 | # GN version: //android_webview:generate_components_strings |
mnaganov | 5691704 | 2015-08-07 16:48:33 | [diff] [blame] | 65 | { |
dgn | d89d568 | 2015-10-19 16:59:43 | [diff] [blame] | 66 | 'action_name': 'generate_components_strings', |
| 67 | 'variables': { |
| 68 | # components_strings contains strings from all components. WebView |
| 69 | # will never display most of them, so we try to limit the included |
| 70 | # strings |
| 71 | 'grit_whitelist': 'ui/grit_components_whitelist.txt', |
| 72 | 'grit_grd_file': '../components/components_strings.grd', |
| 73 | }, |
| 74 | 'includes': [ '../build/grit_action.gypi' ], |
| 75 | }, |
michaelbai | ef836d8 | 2015-10-30 05:04:19 | [diff] [blame] | 76 | # GN Version: //android_webview:repack_locales |
dgn | d89d568 | 2015-10-19 16:59:43 | [diff] [blame] | 77 | { |
mnaganov | 5691704 | 2015-08-07 16:48:33 | [diff] [blame] | 78 | 'action_name': 'android_webview_repack_locales', |
| 79 | 'variables': { |
| 80 | 'repack_locales': 'tools/webview_repack_locales.py', |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 81 | }, |
| 82 | 'inputs': [ |
mnaganov | 5691704 | 2015-08-07 16:48:33 | [diff] [blame] | 83 | '<(repack_locales)', |
| 84 | '<!@pymod_do_main(webview_repack_locales -i -p <(PRODUCT_DIR) -s <(SHARED_INTERMEDIATE_DIR) <(locales))' |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 85 | ], |
| 86 | 'outputs': [ |
mnaganov | 5691704 | 2015-08-07 16:48:33 | [diff] [blame] | 87 | '<!@pymod_do_main(webview_repack_locales -o -p <(PRODUCT_DIR) -s <(SHARED_INTERMEDIATE_DIR) <(locales))' |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 88 | ], |
| 89 | 'action': [ |
| 90 | 'python', |
mnaganov | 5691704 | 2015-08-07 16:48:33 | [diff] [blame] | 91 | '<(repack_locales)', |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 92 | '-p', '<(PRODUCT_DIR)', |
| 93 | '-s', '<(SHARED_INTERMEDIATE_DIR)', |
| 94 | '<@(locales)', |
| 95 | ], |
| 96 | }, |
michaelbai | cbcc7e6 | 2015-11-12 04:29:53 | [diff] [blame] | 97 | # GN version: //android_webview/rename_snapshot_blob |
gsennton | 124ee91 | 2015-06-09 14:47:42 | [diff] [blame] | 98 | { |
| 99 | 'action_name': 'rename_snapshot_blob', |
| 100 | 'inputs': [ |
| 101 | '<(PRODUCT_DIR)/snapshot_blob.bin', |
gsennton | 48f415f | 2015-02-10 10:32:14 | [diff] [blame] | 102 | ], |
gsennton | 124ee91 | 2015-06-09 14:47:42 | [diff] [blame] | 103 | 'outputs': [ |
| 104 | '<(PRODUCT_DIR)/snapshot_blob_<(arch_suffix).bin', |
| 105 | ], |
| 106 | 'action': [ |
| 107 | 'python', |
| 108 | '<(DEPTH)/build/cp.py', |
| 109 | '<@(_inputs)', |
| 110 | '<@(_outputs)', |
| 111 | ], |
| 112 | }, |
michaelbai | cbcc7e6 | 2015-11-12 04:29:53 | [diff] [blame] | 113 | # GN version: //android_webview/rename_natives_blob |
gsennton | 124ee91 | 2015-06-09 14:47:42 | [diff] [blame] | 114 | { |
| 115 | 'action_name': 'rename_natives_blob', |
| 116 | 'inputs': [ |
| 117 | '<(PRODUCT_DIR)/natives_blob.bin', |
| 118 | ], |
| 119 | 'outputs': [ |
| 120 | '<(PRODUCT_DIR)/natives_blob_<(arch_suffix).bin', |
| 121 | ], |
| 122 | 'action': [ |
| 123 | 'python', |
| 124 | '<(DEPTH)/build/cp.py', |
| 125 | '<@(_inputs)', |
| 126 | '<@(_outputs)', |
| 127 | ], |
| 128 | }, |
michaelbai | cbcc7e6 | 2015-11-12 04:29:53 | [diff] [blame] | 129 | # GN version: //android_webview/generate_webview_license_notice |
michaelbai | 966adab | 2015-10-30 20:33:32 | [diff] [blame] | 130 | { |
| 131 | 'action_name': 'generate_webview_license_notice', |
| 132 | 'inputs': [ |
| 133 | '<!@(python <(DEPTH)/android_webview/tools/webview_licenses.py notice_deps)', |
| 134 | '<(DEPTH)/android_webview/tools/licenses_notice.tmpl', |
| 135 | '<(DEPTH)/android_webview/tools/webview_licenses.py', |
| 136 | ], |
| 137 | 'outputs': [ |
| 138 | '<(webview_licenses_path)', |
| 139 | ], |
| 140 | 'action': [ |
| 141 | 'python', |
| 142 | '<(DEPTH)/android_webview/tools/webview_licenses.py', |
| 143 | 'notice', |
| 144 | '<(webview_licenses_path)', |
| 145 | ], |
| 146 | 'message': 'Generating WebView license notice', |
| 147 | }, |
[email protected] | c11f4fe | 2013-02-19 19:50:46 | [diff] [blame] | 148 | ], |
[email protected] | 17237f1 | 2012-12-06 17:37:35 | [diff] [blame] | 149 | }, |
michaelbai | cbcc7e6 | 2015-11-12 04:29:53 | [diff] [blame] | 150 | # GN version: //android_webview/locale_paks |
[email protected] | 17237f1 | 2012-12-06 17:37:35 | [diff] [blame] | 151 | { |
agrieve | bffa19f3 | 2015-06-25 19:55:34 | [diff] [blame] | 152 | 'target_name': 'android_webview_locale_paks', |
| 153 | 'type': 'none', |
| 154 | 'variables': { |
michaelbai | 46db496 | 2015-10-05 20:14:45 | [diff] [blame] | 155 | 'locale_pak_files': [ |
| 156 | '<@(webview_locales_input_common_paks)', |
| 157 | '<@(webview_locales_input_individual_paks)', |
| 158 | ], |
agrieve | bffa19f3 | 2015-06-25 19:55:34 | [diff] [blame] | 159 | }, |
| 160 | 'includes': [ |
agrieve | bffa19f3 | 2015-06-25 19:55:34 | [diff] [blame] | 161 | '../build/android/locale_pak_resources.gypi', |
| 162 | ], |
| 163 | }, |
| 164 | { |
michaelbai | 6da58b3a | 2015-10-19 21:35:57 | [diff] [blame] | 165 | # GN version: //android_webview:strings_grd |
[email protected] | 3111f0ee | 2014-08-21 11:19:19 | [diff] [blame] | 166 | 'target_name': 'android_webview_strings_grd', |
| 167 | 'android_unmangled_name': 1, |
| 168 | 'type': 'none', |
| 169 | 'variables': { |
| 170 | 'grd_file': '../android_webview/java/strings/android_webview_strings.grd', |
| 171 | }, |
| 172 | 'includes': [ |
| 173 | '../build/java_strings_grd.gypi', |
| 174 | ], |
| 175 | }, |
| 176 | { |
michaelbai | cbcc7e6 | 2015-11-12 04:29:53 | [diff] [blame] | 177 | # GN version: //android_webview/common:version |
torne | e72c9f4c | 2014-11-04 16:30:56 | [diff] [blame] | 178 | 'target_name': 'android_webview_version', |
| 179 | 'type': 'none', |
| 180 | 'direct_dependent_settings': { |
| 181 | 'include_dirs': [ |
| 182 | '<(SHARED_INTERMEDIATE_DIR)', |
| 183 | ], |
| 184 | }, |
| 185 | # Because generate_version generates a header, we must set the |
| 186 | # hard_dependency flag. |
| 187 | 'hard_dependency': 1, |
| 188 | 'actions': [ |
| 189 | { |
| 190 | 'action_name': 'generate_version', |
| 191 | 'includes': [ |
| 192 | '../build/util/version.gypi', |
| 193 | ], |
| 194 | 'variables': { |
| 195 | 'template_input_path': 'common/aw_version_info_values.h.version', |
| 196 | }, |
| 197 | 'inputs': [ |
| 198 | '<(version_py_path)', |
| 199 | '<(template_input_path)', |
| 200 | '<(version_path)', |
| 201 | '<(lastchange_path)', |
| 202 | ], |
| 203 | 'outputs': [ |
| 204 | '<(SHARED_INTERMEDIATE_DIR)/android_webview/common/aw_version_info_values.h', |
| 205 | ], |
| 206 | 'action': [ |
| 207 | 'python', |
| 208 | '<(version_py_path)', |
| 209 | '-f', '<(version_path)', |
| 210 | '-f', '<(lastchange_path)', |
| 211 | '<(template_input_path)', |
| 212 | '<@(_outputs)', |
| 213 | ], |
| 214 | 'message': 'Generating version information', |
| 215 | }, |
| 216 | ], |
| 217 | }, |
michaelbai | a29b0f4 | 2015-10-23 17:38:09 | [diff] [blame] | 218 | # GN version: //android_webview:common |
torne | e72c9f4c | 2014-11-04 16:30:56 | [diff] [blame] | 219 | { |
[email protected] | 4b31bbd | 2012-11-05 11:49:39 | [diff] [blame] | 220 | 'target_name': 'android_webview_common', |
| 221 | 'type': 'static_library', |
| 222 | 'dependencies': [ |
[email protected] | 9a344906 | 2012-11-14 14:05:14 | [diff] [blame] | 223 | '../android_webview/native/webview_native.gyp:webview_native', |
jbauman | a783bb0 | 2015-06-05 00:57:35 | [diff] [blame] | 224 | '../cc/cc.gyp:cc_surfaces', |
[email protected] | bf51cdd | 2013-01-23 23:32:27 | [diff] [blame] | 225 | '../components/components.gyp:auto_login_parser', |
[email protected] | 6c7dcb2f2 | 2013-06-22 00:57:48 | [diff] [blame] | 226 | '../components/components.gyp:autofill_content_renderer', |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 227 | '../components/components.gyp:breakpad_host', |
[email protected] | 649b5727 | 2014-05-09 14:54:44 | [diff] [blame] | 228 | '../components/components.gyp:cdm_browser', |
| 229 | '../components/components.gyp:cdm_renderer', |
paulmiller | 4b0981ed | 2016-01-15 20:24:37 | [diff] [blame] | 230 | '../components/components.gyp:component_metrics_proto', |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 231 | '../components/components.gyp:crash_component', |
megjablon | 3476e04 | 2014-10-14 19:21:59 | [diff] [blame] | 232 | '../components/components.gyp:data_reduction_proxy_core_browser', |
dgozman | 0115d2a26 | 2015-04-22 18:39:13 | [diff] [blame] | 233 | '../components/components.gyp:devtools_discovery', |
paulmiller | 5bc628b | 2016-01-05 00:50:19 | [diff] [blame] | 234 | '../components/components.gyp:metrics', |
| 235 | '../components/components.gyp:metrics_gpu', |
| 236 | '../components/components.gyp:metrics_net', |
| 237 | '../components/components.gyp:metrics_profiler', |
| 238 | '../components/components.gyp:metrics_ui', |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 239 | '../components/components.gyp:navigation_interception', |
dgn | 2fa98a5 | 2015-02-03 10:38:44 | [diff] [blame] | 240 | '../components/components.gyp:printing_common', |
timvolodine | 66cc354b | 2015-07-14 16:13:16 | [diff] [blame] | 241 | '../components/components.gyp:printing_browser', |
dgn | 2fa98a5 | 2015-02-03 10:38:44 | [diff] [blame] | 242 | '../components/components.gyp:printing_renderer', |
[email protected] | f2ab1b15 | 2013-01-25 04:38:41 | [diff] [blame] | 243 | '../components/components.gyp:visitedlink_browser', |
| 244 | '../components/components.gyp:visitedlink_renderer', |
[email protected] | 434a132 | 2013-01-12 23:04:31 | [diff] [blame] | 245 | '../components/components.gyp:web_contents_delegate_android', |
[email protected] | c955a8d | 2013-08-06 02:51:15 | [diff] [blame] | 246 | '../content/content.gyp:content_app_both', |
[email protected] | 63ab505 | 2014-08-04 10:44:11 | [diff] [blame] | 247 | '../content/content.gyp:content_browser', |
mkosiba | 3c766cc | 2015-01-09 13:10:22 | [diff] [blame] | 248 | '../gin/gin.gyp:gin', |
tfarina | 13f5f5e5 | 2014-12-20 05:42:04 | [diff] [blame] | 249 | '../gpu/blink/gpu_blink.gyp:gpu_blink', |
[email protected] | 845c4e3 | 2014-08-13 11:50:40 | [diff] [blame] | 250 | '../gpu/command_buffer/command_buffer.gyp:gles2_utils', |
[email protected] | 92dd7777 | 2013-08-01 23:57:56 | [diff] [blame] | 251 | '../gpu/gpu.gyp:command_buffer_service', |
samli | c838415e | 2014-12-05 05:14:58 | [diff] [blame] | 252 | '../gpu/gpu.gyp:gl_in_process_context', |
tfarina | 29c37c9 | 2015-04-25 13:10:45 | [diff] [blame] | 253 | '../gpu/gpu.gyp:gles2_c_lib', |
| 254 | '../gpu/gpu.gyp:gles2_implementation', |
| 255 | '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings', |
[email protected] | 632aaeb | 2014-05-09 09:25:15 | [diff] [blame] | 256 | '../media/media.gyp:media', |
toyoshim | c6475779 | 2015-04-30 14:52:02 | [diff] [blame] | 257 | '../media/midi/midi.gyp:midi', |
sgurun | 690d4d9 | 2016-01-22 20:06:05 | [diff] [blame] | 258 | '../net/net.gyp:net_extras', |
[email protected] | 4a0b0a54 | 2013-12-02 21:52:01 | [diff] [blame] | 259 | '../printing/printing.gyp:printing', |
[email protected] | 1027c8c | 2013-10-29 01:32:19 | [diff] [blame] | 260 | '../skia/skia.gyp:skia', |
[email protected] | 4a0b0a54 | 2013-12-02 21:52:01 | [diff] [blame] | 261 | '../third_party/WebKit/public/blink.gyp:blink', |
jdduke | 36fee7b | 2015-08-06 00:16:50 | [diff] [blame] | 262 | '../ui/events/events.gyp:gesture_detection', |
[email protected] | ee01711 | 2013-02-15 15:47:22 | [diff] [blame] | 263 | '../ui/gl/gl.gyp:gl', |
[email protected] | 1027c8c | 2013-10-29 01:32:19 | [diff] [blame] | 264 | '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs', |
markdittmer | 67b71ea | 2016-03-03 22:40:03 | [diff] [blame] | 265 | '../url/ipc/url_ipc.gyp:url_ipc', |
sgurun | d2a43060 | 2015-01-23 20:54:05 | [diff] [blame] | 266 | '../v8/tools/gyp/v8.gyp:v8', |
igsolla | 6c57b26 | 2015-02-06 16:31:01 | [diff] [blame] | 267 | 'android_webview_pak', |
torne | e72c9f4c | 2014-11-04 16:30:56 | [diff] [blame] | 268 | 'android_webview_version', |
dgn | ade0b5e2 | 2015-09-09 11:39:42 | [diff] [blame] | 269 | '../components/components.gyp:pref_registry', |
| 270 | '../components/url_formatter/url_formatter.gyp:url_formatter', |
[email protected] | 878aa82 | 2012-08-09 10:55:04 | [diff] [blame] | 271 | ], |
| 272 | 'include_dirs': [ |
[email protected] | 5dee889 | 2012-09-24 13:23:41 | [diff] [blame] | 273 | '..', |
| 274 | '../skia/config', |
[email protected] | a3c13435 | 2014-07-11 19:23:19 | [diff] [blame] | 275 | '<(SHARED_INTERMEDIATE_DIR)/ui/resources/', |
[email protected] | 878aa82 | 2012-08-09 10:55:04 | [diff] [blame] | 276 | ], |
[email protected] | 878aa82 | 2012-08-09 10:55:04 | [diff] [blame] | 277 | 'sources': [ |
[email protected] | f81fa20 | 2012-10-25 23:32:28 | [diff] [blame] | 278 | 'browser/aw_browser_context.cc', |
| 279 | 'browser/aw_browser_context.h', |
| 280 | 'browser/aw_browser_main_parts.cc', |
| 281 | 'browser/aw_browser_main_parts.h', |
[email protected] | 3908363 | 2014-06-10 21:15:53 | [diff] [blame] | 282 | 'browser/aw_browser_permission_request_delegate.h', |
dgn | ade0b5e2 | 2015-09-09 11:39:42 | [diff] [blame] | 283 | 'browser/aw_browser_policy_connector.cc', |
| 284 | 'browser/aw_browser_policy_connector.h', |
[email protected] | f81fa20 | 2012-10-25 23:32:28 | [diff] [blame] | 285 | 'browser/aw_content_browser_client.cc', |
| 286 | 'browser/aw_content_browser_client.h', |
tobiasjs | 1c63c2f | 2016-04-05 11:30:03 | [diff] [blame] | 287 | 'browser/aw_contents_client_bridge_base.cc', |
| 288 | 'browser/aw_contents_client_bridge_base.h', |
[email protected] | e83c53f | 2012-10-01 23:38:46 | [diff] [blame] | 289 | 'browser/aw_contents_io_thread_client.h', |
[email protected] | aa54a92 | 2012-09-14 04:41:13 | [diff] [blame] | 290 | 'browser/aw_cookie_access_policy.cc', |
| 291 | 'browser/aw_cookie_access_policy.h', |
dgozman | 0115d2a26 | 2015-04-22 18:39:13 | [diff] [blame] | 292 | 'browser/aw_dev_tools_discovery_provider.cc', |
| 293 | 'browser/aw_dev_tools_discovery_provider.h', |
[email protected] | c347c436 | 2012-12-05 06:05:31 | [diff] [blame] | 294 | 'browser/aw_download_manager_delegate.cc', |
| 295 | 'browser/aw_download_manager_delegate.h', |
[email protected] | 1140180 | 2013-05-08 16:16:37 | [diff] [blame] | 296 | 'browser/aw_form_database_service.cc', |
| 297 | 'browser/aw_form_database_service.h', |
[email protected] | 6172484 | 2013-08-07 09:46:09 | [diff] [blame] | 298 | 'browser/aw_gl_surface.cc', |
| 299 | 'browser/aw_gl_surface.h', |
[email protected] | 1478eec | 2012-09-14 19:28:49 | [diff] [blame] | 300 | 'browser/aw_http_auth_handler_base.cc', |
[email protected] | aa54a92 | 2012-09-14 04:41:13 | [diff] [blame] | 301 | 'browser/aw_http_auth_handler_base.h', |
[email protected] | 44100446 | 2013-04-05 02:05:39 | [diff] [blame] | 302 | 'browser/aw_javascript_dialog_manager.cc', |
| 303 | 'browser/aw_javascript_dialog_manager.h', |
tserng | 67e9830 | 2015-08-05 19:01:45 | [diff] [blame] | 304 | 'browser/aw_locale_manager.h', |
[email protected] | aa54a92 | 2012-09-14 04:41:13 | [diff] [blame] | 305 | 'browser/aw_login_delegate.cc', |
| 306 | 'browser/aw_login_delegate.h', |
gunsch | 2288c53 | 2015-04-30 03:58:45 | [diff] [blame] | 307 | 'browser/aw_media_client_android.cc', |
| 308 | 'browser/aw_media_client_android.h', |
sgurun | d2a43060 | 2015-01-23 20:54:05 | [diff] [blame] | 309 | 'browser/aw_message_port_message_filter.cc', |
| 310 | 'browser/aw_message_port_message_filter.h', |
| 311 | 'browser/aw_message_port_service.h', |
paulmiller | 5bc628b | 2016-01-05 00:50:19 | [diff] [blame] | 312 | 'browser/aw_metrics_service_client.cc', |
tobiasjs | 1c63c2f | 2016-04-05 11:30:03 | [diff] [blame] | 313 | 'browser/aw_metrics_service_client.h', |
mlamouri | 4e37202 | 2015-03-29 14:51:06 | [diff] [blame] | 314 | 'browser/aw_permission_manager.cc', |
| 315 | 'browser/aw_permission_manager.h', |
[email protected] | 9f8797b | 2013-09-27 00:18:13 | [diff] [blame] | 316 | 'browser/aw_pref_store.cc', |
| 317 | 'browser/aw_pref_store.h', |
timvolodine | 66cc354b | 2015-07-14 16:13:16 | [diff] [blame] | 318 | 'browser/aw_print_manager.cc', |
| 319 | 'browser/aw_print_manager.h', |
sgurun | ee20aa9a | 2015-01-14 20:59:43 | [diff] [blame] | 320 | 'browser/aw_printing_message_filter.cc', |
| 321 | 'browser/aw_printing_message_filter.h', |
[email protected] | 2a3a059 | 2013-02-22 18:53:04 | [diff] [blame] | 322 | 'browser/aw_quota_manager_bridge.cc', |
| 323 | 'browser/aw_quota_manager_bridge.h', |
[email protected] | f81fa20 | 2012-10-25 23:32:28 | [diff] [blame] | 324 | 'browser/aw_quota_permission_context.cc', |
| 325 | 'browser/aw_quota_permission_context.h', |
tfarina | 29c37c9 | 2015-04-25 13:10:45 | [diff] [blame] | 326 | 'browser/aw_render_thread_context_provider.cc', |
| 327 | 'browser/aw_render_thread_context_provider.h', |
[email protected] | b05596b | 2013-12-10 18:43:23 | [diff] [blame] | 328 | 'browser/aw_resource_context.cc', |
| 329 | 'browser/aw_resource_context.h', |
tobiasjs | 1c63c2f | 2016-04-05 11:30:03 | [diff] [blame] | 330 | 'browser/aw_result_codes.h', |
hush | 8e5bcae | 2014-12-12 21:12:27 | [diff] [blame] | 331 | 'browser/aw_ssl_host_state_delegate.cc', |
| 332 | 'browser/aw_ssl_host_state_delegate.h', |
[email protected] | 9f8797b | 2013-09-27 00:18:13 | [diff] [blame] | 333 | 'browser/aw_web_preferences_populater.cc', |
| 334 | 'browser/aw_web_preferences_populater.h', |
[email protected] | 2306376 | 2014-02-26 01:01:56 | [diff] [blame] | 335 | 'browser/browser_view_renderer.cc', |
[email protected] | ee01711 | 2013-02-15 15:47:22 | [diff] [blame] | 336 | 'browser/browser_view_renderer.h', |
[email protected] | e4a0b19 | 2014-02-27 01:47:05 | [diff] [blame] | 337 | 'browser/browser_view_renderer_client.h', |
boliu | b887d327 | 2015-03-19 00:29:26 | [diff] [blame] | 338 | 'browser/child_frame.cc', |
| 339 | 'browser/child_frame.h', |
[email protected] | a0a15ed | 2014-05-09 23:16:42 | [diff] [blame] | 340 | 'browser/deferred_gpu_command_service.cc', |
| 341 | 'browser/deferred_gpu_command_service.h', |
[email protected] | 55750b3 | 2012-09-21 14:05:03 | [diff] [blame] | 342 | 'browser/find_helper.cc', |
| 343 | 'browser/find_helper.h', |
tobiasjs | 1c63c2f | 2016-04-05 11:30:03 | [diff] [blame] | 344 | 'browser/gl_view_renderer_manager.cc', |
| 345 | 'browser/gl_view_renderer_manager.h', |
[email protected] | 2306376 | 2014-02-26 01:01:56 | [diff] [blame] | 346 | 'browser/hardware_renderer.cc', |
| 347 | 'browser/hardware_renderer.h', |
[email protected] | b8da3a3 | 2013-01-22 23:54:08 | [diff] [blame] | 348 | 'browser/icon_helper.cc', |
| 349 | 'browser/icon_helper.h', |
[email protected] | 1737386 | 2012-11-22 16:21:26 | [diff] [blame] | 350 | 'browser/input_stream.h', |
[email protected] | 2a3a059 | 2013-02-22 18:53:04 | [diff] [blame] | 351 | 'browser/jni_dependency_factory.h', |
[email protected] | 1737386 | 2012-11-22 16:21:26 | [diff] [blame] | 352 | 'browser/net/android_stream_reader_url_request_job.cc', |
| 353 | 'browser/net/android_stream_reader_url_request_job.h', |
mmenke | a7b331e9 | 2016-02-25 17:14:46 | [diff] [blame] | 354 | 'browser/net/aw_cookie_store_wrapper.cc', |
| 355 | 'browser/net/aw_cookie_store_wrapper.h', |
tserng | 67e9830 | 2015-08-05 19:01:45 | [diff] [blame] | 356 | 'browser/net/aw_http_user_agent_settings.cc', |
tobiasjs | 1c63c2f | 2016-04-05 11:30:03 | [diff] [blame] | 357 | 'browser/net/aw_http_user_agent_settings.h', |
timvolodine | bbaeb5b | 2016-03-02 19:58:47 | [diff] [blame] | 358 | 'browser/net/aw_network_change_notifier.cc', |
| 359 | 'browser/net/aw_network_change_notifier.h', |
| 360 | 'browser/net/aw_network_change_notifier_factory.cc', |
| 361 | 'browser/net/aw_network_change_notifier_factory.h', |
[email protected] | 22c5f086 | 2012-09-07 05:43:10 | [diff] [blame] | 362 | 'browser/net/aw_network_delegate.cc', |
| 363 | 'browser/net/aw_network_delegate.h', |
Mikhail Naganov | 0f79c57 | 2015-10-01 21:38:27 | [diff] [blame] | 364 | 'browser/net/aw_request_interceptor.cc', |
| 365 | 'browser/net/aw_request_interceptor.h', |
[email protected] | f81fa20 | 2012-10-25 23:32:28 | [diff] [blame] | 366 | 'browser/net/aw_url_request_context_getter.cc', |
| 367 | 'browser/net/aw_url_request_context_getter.h', |
[email protected] | 5c84539 | 2012-10-24 10:07:56 | [diff] [blame] | 368 | 'browser/net/aw_url_request_job_factory.cc', |
| 369 | 'browser/net/aw_url_request_job_factory.h', |
Mikhail Naganov | 0f79c57 | 2015-10-01 21:38:27 | [diff] [blame] | 370 | 'browser/net/aw_web_resource_response.h', |
[email protected] | 32f72e6f | 2012-11-01 13:53:14 | [diff] [blame] | 371 | 'browser/net/init_native_callback.h', |
[email protected] | 1737386 | 2012-11-22 16:21:26 | [diff] [blame] | 372 | 'browser/net/input_stream_reader.cc', |
| 373 | 'browser/net/input_stream_reader.h', |
sgurun | 690d4d9 | 2016-01-22 20:06:05 | [diff] [blame] | 374 | 'browser/net/token_binding_manager.cc', |
| 375 | 'browser/net/token_binding_manager.h', |
| 376 | 'browser/net_disk_cache_remover.cc', |
| 377 | 'browser/net_disk_cache_remover.h', |
[email protected] | bd532459 | 2014-07-31 09:09:33 | [diff] [blame] | 378 | 'browser/parent_compositor_draw_constraints.cc', |
| 379 | 'browser/parent_compositor_draw_constraints.h', |
[email protected] | 8705654b | 2014-05-24 01:16:19 | [diff] [blame] | 380 | 'browser/parent_output_surface.cc', |
| 381 | 'browser/parent_output_surface.h', |
tobiasjs | 1c63c2f | 2016-04-05 11:30:03 | [diff] [blame] | 382 | 'browser/render_thread_manager.cc', |
| 383 | 'browser/render_thread_manager.h', |
[email protected] | fada28b | 2012-09-01 01:33:03 | [diff] [blame] | 384 | 'browser/renderer_host/aw_render_view_host_ext.cc', |
| 385 | 'browser/renderer_host/aw_render_view_host_ext.h', |
[email protected] | c1a47df | 2012-08-30 00:29:56 | [diff] [blame] | 386 | 'browser/renderer_host/aw_resource_dispatcher_host_delegate.cc', |
| 387 | 'browser/renderer_host/aw_resource_dispatcher_host_delegate.h', |
[email protected] | 55750b3 | 2012-09-21 14:05:03 | [diff] [blame] | 388 | 'browser/scoped_allow_wait_for_legacy_web_view_api.h', |
[email protected] | 2c1fc5a | 2013-07-12 06:40:49 | [diff] [blame] | 389 | 'browser/scoped_app_gl_state_restore.cc', |
| 390 | 'browser/scoped_app_gl_state_restore.h', |
[email protected] | f81fa20 | 2012-10-25 23:32:28 | [diff] [blame] | 391 | 'common/android_webview_message_generator.cc', |
| 392 | 'common/android_webview_message_generator.h', |
| 393 | 'common/aw_content_client.cc', |
| 394 | 'common/aw_content_client.h', |
mnaganov | db95992b | 2015-08-24 15:41:15 | [diff] [blame] | 395 | 'common/aw_descriptors.h', |
[email protected] | a7198a1 | 2012-11-08 18:34:05 | [diff] [blame] | 396 | 'common/aw_hit_test_data.cc', |
| 397 | 'common/aw_hit_test_data.h', |
sgurun | d2a43060 | 2015-01-23 20:54:05 | [diff] [blame] | 398 | 'common/aw_message_port_messages.h', |
[email protected] | f81fa20 | 2012-10-25 23:32:28 | [diff] [blame] | 399 | 'common/aw_resource.h', |
[email protected] | 8a59280 | 2014-07-02 07:31:33 | [diff] [blame] | 400 | 'common/aw_switches.cc', |
| 401 | 'common/aw_switches.h', |
[email protected] | 56028815 | 2014-02-24 15:39:17 | [diff] [blame] | 402 | 'common/devtools_instrumentation.h', |
[email protected] | f81fa20 | 2012-10-25 23:32:28 | [diff] [blame] | 403 | 'common/render_view_messages.cc', |
| 404 | 'common/render_view_messages.h', |
| 405 | 'common/url_constants.cc', |
| 406 | 'common/url_constants.h', |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 407 | 'crash_reporter/aw_microdump_crash_reporter.cc', |
primiano | 2d3f4b2 | 2015-02-09 18:59:50 | [diff] [blame] | 408 | 'crash_reporter/aw_microdump_crash_reporter.h', |
[email protected] | c1a47df | 2012-08-30 00:29:56 | [diff] [blame] | 409 | 'lib/aw_browser_dependency_factory_impl.cc', |
| 410 | 'lib/aw_browser_dependency_factory_impl.h', |
[email protected] | c1a47df | 2012-08-30 00:29:56 | [diff] [blame] | 411 | 'lib/main/aw_main_delegate.cc', |
| 412 | 'lib/main/aw_main_delegate.h', |
michaelbai | 5237cb89a | 2015-02-21 01:29:40 | [diff] [blame] | 413 | 'lib/main/webview_jni_onload.cc', |
| 414 | 'lib/main/webview_jni_onload.h', |
[email protected] | a978921b | 2012-11-09 11:31:17 | [diff] [blame] | 415 | 'public/browser/draw_gl.h', |
[email protected] | 710b260 | 2012-10-11 21:41:09 | [diff] [blame] | 416 | 'renderer/aw_content_renderer_client.cc', |
| 417 | 'renderer/aw_content_renderer_client.h', |
mlamouri | 007f9d7 | 2015-02-27 16:27:25 | [diff] [blame] | 418 | 'renderer/aw_content_settings_client.cc', |
| 419 | 'renderer/aw_content_settings_client.h', |
[email protected] | 6853d16a | 2013-11-27 14:35:05 | [diff] [blame] | 420 | 'renderer/aw_key_systems.cc', |
| 421 | 'renderer/aw_key_systems.h', |
sgurun | d2a43060 | 2015-01-23 20:54:05 | [diff] [blame] | 422 | 'renderer/aw_message_port_client.cc', |
| 423 | 'renderer/aw_message_port_client.h', |
dgn | 2fa98a5 | 2015-02-03 10:38:44 | [diff] [blame] | 424 | 'renderer/aw_print_web_view_helper_delegate.cc', |
| 425 | 'renderer/aw_print_web_view_helper_delegate.h', |
[email protected] | b165655 | 2014-06-09 19:59:38 | [diff] [blame] | 426 | 'renderer/aw_render_frame_ext.cc', |
| 427 | 'renderer/aw_render_frame_ext.h', |
tobiasjs | 1c63c2f | 2016-04-05 11:30:03 | [diff] [blame] | 428 | 'renderer/aw_render_process_observer.cc', |
| 429 | 'renderer/aw_render_process_observer.h', |
[email protected] | fada28b | 2012-09-01 01:33:03 | [diff] [blame] | 430 | 'renderer/aw_render_view_ext.cc', |
| 431 | 'renderer/aw_render_view_ext.h', |
[email protected] | 0cce1ab5 | 2014-06-05 22:05:59 | [diff] [blame] | 432 | 'renderer/print_render_frame_observer.cc', |
| 433 | 'renderer/print_render_frame_observer.h', |
[email protected] | 5d730a3 | 2012-08-23 19:11:23 | [diff] [blame] | 434 | ], |
the_jk | 911ca66 | 2015-10-20 19:19:57 | [diff] [blame] | 435 | 'conditions': [ |
| 436 | ['configuration_policy==1', { |
| 437 | 'dependencies': [ |
| 438 | '../components/components.gyp:policy', |
| 439 | '../components/components.gyp:policy_component', |
| 440 | ], |
| 441 | }], |
| 442 | ], |
[email protected] | 878aa82 | 2012-08-09 10:55:04 | [diff] [blame] | 443 | }, |
michaelbai | cbcc7e6 | 2015-11-12 04:29:53 | [diff] [blame] | 444 | # GN version: //android_webview:libwebviewchromium |
hjd | aefb279 | 2014-09-09 11:44:02 | [diff] [blame] | 445 | { |
| 446 | 'target_name': 'libwebviewchromium', |
| 447 | 'includes': [ |
| 448 | 'libwebviewchromium.gypi', |
| 449 | ], |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 450 | }, |
| 451 | { |
michaelbai | 6da58b3a | 2015-10-19 21:35:57 | [diff] [blame] | 452 | # GN version: //android_webview:android_webview_java |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 453 | 'target_name': 'android_webview_java', |
| 454 | 'type': 'none', |
| 455 | 'dependencies': [ |
michaelbai | 1be24f4 | 2015-07-23 23:05:31 | [diff] [blame] | 456 | '../android_webview/native/webview_native.gyp:android_webview_aw_permission_request_resource', |
gunsch | 3ea3179 | 2015-05-07 22:24:12 | [diff] [blame] | 457 | '../components/components.gyp:external_video_surface_java', |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 458 | '../components/components.gyp:navigation_interception_java', |
| 459 | '../components/components.gyp:web_contents_delegate_android_java', |
| 460 | '../content/content.gyp:content_java', |
| 461 | '../ui/android/ui_android.gyp:ui_java', |
agrieve | bffa19f3 | 2015-06-25 19:55:34 | [diff] [blame] | 462 | 'android_webview_locale_paks', |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 463 | 'android_webview_strings_grd', |
| 464 | ], |
| 465 | 'variables': { |
| 466 | 'java_in_dir': '../android_webview/java', |
| 467 | 'has_java_resources': 1, |
| 468 | 'R_package': 'org.chromium.android_webview', |
| 469 | 'R_package_relpath': 'org/chromium/android_webview', |
mnaganov | cdb0803 | 2016-01-19 19:24:47 | [diff] [blame] | 470 | # for lint; do not use the system webview's manifest because it's a template |
| 471 | 'android_manifest_path': '../android_webview/test/shell/AndroidManifest.xml', |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 472 | }, |
the_jk | 911ca66 | 2015-10-20 19:19:57 | [diff] [blame] | 473 | 'conditions': [ |
| 474 | ['configuration_policy==1', { |
| 475 | 'dependencies': [ |
| 476 | '../components/components.gyp:policy_java', |
| 477 | ], |
| 478 | }], |
| 479 | ], |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 480 | 'includes': [ '../build/java.gypi' ], |
| 481 | }, |
michaelbai | cbcc7e6 | 2015-11-12 04:29:53 | [diff] [blame] | 482 | # GN version: //android_webview/glue |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 483 | { |
michaelbai | f35c6621 | 2015-09-18 21:01:08 | [diff] [blame] | 484 | 'target_name': 'system_webview_glue_java', |
| 485 | 'variables': { |
| 486 | 'android_sdk_jar': '../third_party/android_platform/webview/frameworks_6.0.jar', |
| 487 | 'java_in_dir': 'glue/java', |
| 488 | }, |
| 489 | 'includes': [ 'apk/system_webview_glue_common.gypi' ], |
| 490 | }, |
michaelbai | 654587d | 2015-12-09 02:30:55 | [diff] [blame] | 491 | ], |
| 492 | 'conditions': [ |
| 493 | ['use_webview_internal_framework==0', { |
| 494 | 'targets': [ |
| 495 | # GN version: //android_webview:system_webview_apk |
| 496 | { |
| 497 | 'target_name': 'system_webview_apk', |
| 498 | 'dependencies': [ |
| 499 | 'system_webview_glue_java', |
| 500 | ], |
| 501 | 'variables': { |
| 502 | 'apk_name': 'SystemWebView', |
| 503 | 'android_sdk_jar': '../third_party/android_platform/webview/frameworks_6.0.jar', |
| 504 | 'java_in_dir': '../build/android/empty', |
| 505 | 'resource_dir': 'apk/java/res', |
| 506 | 'android_manifest_template_vars': ['package=<(system_webview_package_name)'], |
| 507 | }, |
| 508 | 'includes': [ 'apk/system_webview_apk_common.gypi' ], |
| 509 | }, |
michaelbai | f35c6621 | 2015-09-18 21:01:08 | [diff] [blame] | 510 | ], |
michaelbai | 654587d | 2015-12-09 02:30:55 | [diff] [blame] | 511 | }] |
[email protected] | 3774c0db | 2014-03-31 13:34:18 | [diff] [blame] | 512 | ], |
torne | 7fa1c76 | 2015-03-31 14:16:52 | [diff] [blame] | 513 | 'includes': [ |
| 514 | 'android_webview_tests.gypi', |
michaelbai | 46db496 | 2015-10-05 20:14:45 | [diff] [blame] | 515 | 'apk/system_webview_paks.gypi', |
[email protected] | 878aa82 | 2012-08-09 10:55:04 | [diff] [blame] | 516 | ], |
| 517 | } |