OLD | NEW |
| (Empty) |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 # | |
5 # This is shared between system_webview_glue_java and system_webview_glue_next_j
ava | |
6 { | |
7 'type': 'none', | |
8 'dependencies': [ | |
9 '<(DEPTH)/android_webview/android_webview.gyp:android_webview_java', | |
10 '<(DEPTH)/android_webview/android_webview.gyp:android_webview_pak', | |
11 ], | |
12 'variables': { | |
13 'resource_rewriter_package': 'com.android.webview.chromium', | |
14 'resource_rewriter_dir': '<(intermediate_dir)/resource_rewriter', | |
15 'resource_rewriter_path': '<(resource_rewriter_dir)/com/android/webview/chro
mium/ResourceRewriter.java', | |
16 'additional_input_paths': ['<(resource_rewriter_path)'], | |
17 'generated_src_dirs': ['<(resource_rewriter_dir)'], | |
18 }, | |
19 'actions': [ | |
20 # Generate ResourceRewriter.java | |
21 { | |
22 'action_name': 'generate_resource_rewriter', | |
23 'message': 'generate ResourceRewriter for <(_target_name)', | |
24 'inputs':[ | |
25 '<(DEPTH)/build/android/gyp/util/build_utils.py', | |
26 '<(DEPTH)/build/android/gyp/generate_resource_rewriter.py', | |
27 '>@(dependencies_res_zip_paths)', | |
28 ], | |
29 'outputs': [ | |
30 '<(resource_rewriter_path)', | |
31 ], | |
32 'action': [ | |
33 'python', '<(DEPTH)/build/android/gyp/generate_resource_rewriter.py', | |
34 '--package-name', '<(resource_rewriter_package)', | |
35 '--dep-packages', '>(additional_res_packages)', | |
36 '--output-dir', '<(resource_rewriter_dir)', | |
37 ], | |
38 }, | |
39 ], | |
40 'includes': [ '../../build/java.gypi' ], | |
41 } | |
OLD | NEW |