OLD | NEW |
1 # Copyright 2009 The Chromium Authors. All rights reserved. | 1 # Copyright 2009 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 { | 4 { |
5 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 }, | 7 }, |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'android_webview_pak', | 10 'target_name': 'android_webview_pak', |
(...skipping 13 matching lines...) Expand all Loading... |
24 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resource
s_100_percent.pak', | 24 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resource
s_100_percent.pak', |
25 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', | 25 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', |
26 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', | 26 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
27 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', | 27 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', |
28 ], | 28 ], |
29 'pak_output': '<(PRODUCT_DIR)/android_webview_assets/webviewchromium
.pak', | 29 'pak_output': '<(PRODUCT_DIR)/android_webview_assets/webviewchromium
.pak', |
30 }, | 30 }, |
31 'includes': [ '../build/repack_action.gypi' ], | 31 'includes': [ '../build/repack_action.gypi' ], |
32 }, | 32 }, |
33 { | 33 { |
34 'action_name': 'add_en_US_pak_locale', | 34 'action_name': 'android_webview_locales_rename_paks', |
35 'variables': { | 35 'variables': { |
36 'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/content/app/strings/conte
nt_strings_en-US.pak'], | 36 'rename_locales': 'tools/webview_locales_rename_paks.py', |
37 'pak_output': '<(PRODUCT_DIR)/android_webview_assets/en-US.pak', | |
38 }, | 37 }, |
39 'includes': [ '../build/repack_action.gypi' ], | 38 'inputs': [ |
| 39 '<(rename_locales)', |
| 40 '<!@pymod_do_main(webview_locales_rename_paks -i -p <(PRODUCT_DIR) -
s <(SHARED_INTERMEDIATE_DIR) <(locales))' |
| 41 ], |
| 42 'outputs': [ |
| 43 '<!@pymod_do_main(webview_locales_rename_paks -o -p <(PRODUCT_DIR) -
s <(SHARED_INTERMEDIATE_DIR) <(locales))' |
| 44 ], |
| 45 'action': [ |
| 46 'python', |
| 47 '<(rename_locales)', |
| 48 '-p', '<(PRODUCT_DIR)', |
| 49 '-s', '<(SHARED_INTERMEDIATE_DIR)', |
| 50 '<@(locales)', |
| 51 ], |
40 } | 52 } |
41 ], | 53 ], |
42 }, | 54 }, |
43 { | 55 { |
44 'target_name': 'android_webview_strings_grd', | 56 'target_name': 'android_webview_strings_grd', |
45 'android_unmangled_name': 1, | 57 'android_unmangled_name': 1, |
46 'type': 'none', | 58 'type': 'none', |
47 'variables': { | 59 'variables': { |
48 'grd_file': '../android_webview/java/strings/android_webview_strings.grd
', | 60 'grd_file': '../android_webview/java/strings/android_webview_strings.grd
', |
49 }, | 61 }, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 '../gpu/gpu.gyp:gles2_implementation', | 127 '../gpu/gpu.gyp:gles2_implementation', |
116 '../gpu/gpu.gyp:gl_in_process_context', | 128 '../gpu/gpu.gyp:gl_in_process_context', |
117 '../media/media.gyp:media', | 129 '../media/media.gyp:media', |
118 '../printing/printing.gyp:printing', | 130 '../printing/printing.gyp:printing', |
119 '../skia/skia.gyp:skia', | 131 '../skia/skia.gyp:skia', |
120 '../third_party/WebKit/public/blink.gyp:blink', | 132 '../third_party/WebKit/public/blink.gyp:blink', |
121 '../ui/gl/gl.gyp:gl', | 133 '../ui/gl/gl.gyp:gl', |
122 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs', | 134 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs', |
123 '../v8/tools/gyp/v8.gyp:v8', | 135 '../v8/tools/gyp/v8.gyp:v8', |
124 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', | 136 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', |
125 'android_webview_pak', | |
126 'android_webview_version', | 137 'android_webview_version', |
127 ], | 138 ], |
128 'include_dirs': [ | 139 'include_dirs': [ |
129 '..', | 140 '..', |
130 '../skia/config', | 141 '../skia/config', |
131 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/', | 142 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/', |
132 ], | 143 ], |
133 'sources': [ | 144 'sources': [ |
134 'browser/aw_browser_context.cc', | 145 'browser/aw_browser_context.cc', |
135 'browser/aw_browser_context.h', | 146 'browser/aw_browser_context.h', |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 'renderer/aw_render_frame_ext.h', | 271 'renderer/aw_render_frame_ext.h', |
261 'renderer/aw_render_view_ext.cc', | 272 'renderer/aw_render_view_ext.cc', |
262 'renderer/aw_render_view_ext.h', | 273 'renderer/aw_render_view_ext.h', |
263 'renderer/print_web_view_helper.cc', | 274 'renderer/print_web_view_helper.cc', |
264 'renderer/print_web_view_helper.h', | 275 'renderer/print_web_view_helper.h', |
265 'renderer/print_web_view_helper_android.cc', | 276 'renderer/print_web_view_helper_android.cc', |
266 'renderer/print_web_view_helper_linux.cc', | 277 'renderer/print_web_view_helper_linux.cc', |
267 'renderer/print_render_frame_observer.cc', | 278 'renderer/print_render_frame_observer.cc', |
268 'renderer/print_render_frame_observer.h', | 279 'renderer/print_render_frame_observer.h', |
269 ], | 280 ], |
| 281 'conditions': [ |
| 282 ['android_webview_build==0', { |
| 283 'dependencies': [ 'android_webview_pak', ], |
| 284 }], |
| 285 ], |
270 }, | 286 }, |
271 { | 287 { |
272 'target_name': 'libwebviewchromium', | 288 'target_name': 'libwebviewchromium', |
273 'includes': [ | 289 'includes': [ |
274 'libwebviewchromium.gypi', | 290 'libwebviewchromium.gypi', |
275 ], | 291 ], |
276 } | 292 } |
277 ], | 293 ], |
278 'conditions': [ | 294 'conditions': [ |
279 ['android_webview_build==0', { | 295 ['android_webview_build==0', { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 '../ui/android/ui_android.gyp:ui_strings_grd', | 359 '../ui/android/ui_android.gyp:ui_strings_grd', |
344 'android_webview_jarjar_content_resources', | 360 'android_webview_jarjar_content_resources', |
345 'android_webview_jarjar_ui_resources', | 361 'android_webview_jarjar_ui_resources', |
346 'android_webview_strings_grd', | 362 'android_webview_strings_grd', |
347 ], | 363 ], |
348 }, | 364 }, |
349 ], | 365 ], |
350 }], | 366 }], |
351 ], | 367 ], |
352 } | 368 } |
OLD | NEW |