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.
5 # This is shared between system_webview_glue_java and system_webview_glue_next_java
9 '<(DEPTH)/android_webview/android_webview.gyp:android_webview_java',
10 '<(DEPTH)/android_webview/android_webview.gyp:android_webview_pak',
14 'resource_rewriter_package': 'com.android.webview.chromium',
15 'resource_rewriter_dir': '<(intermediate_dir)/resource_rewriter',
16 'resource_rewriter_path': '<(resource_rewriter_dir)/com/android/webview/chromium/ResourceRewriter.java',
17 'additional_input_paths': ['<(resource_rewriter_path)'],
18 'generated_src_dirs': ['<(resource_rewriter_dir)'],
21 # Generate ResourceRewriter.java
23 'action_name': 'generate_resource_rewriter',
24 'message': 'generate ResourceRewriter for <(_target_name)',
26 '<(DEPTH)/build/android/gyp/util/build_utils.py',
27 '<(DEPTH)/build/android/gyp/generate_resource_rewriter.py',
28 '>@(dependencies_res_zip_paths)',
31 '<(resource_rewriter_path)',
34 'python', '<(DEPTH)/build/android/gyp/generate_resource_rewriter.py',
35 '--package-name', '<(resource_rewriter_package)',
36 '--dep-packages', '>(additional_res_packages)',
37 '--output-dir', '<(resource_rewriter_dir)',
41 'includes': [ '../../build/java.gypi' ],