Linux: Depend on liberation-fonts package for RPMs.
[chromium-blink-merge.git] / android_webview / apk / system_webview_glue_common.gypi
blob9b15be41da752ccb303e4e3980de8abf7815912f
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
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     'never_lint': 1,
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)'],
19   },
20   'actions': [
21     # Generate ResourceRewriter.java
22     {
23       'action_name': 'generate_resource_rewriter',
24       'message': 'generate ResourceRewriter for <(_target_name)',
25       'inputs':[
26         '<(DEPTH)/build/android/gyp/util/build_utils.py',
27         '<(DEPTH)/build/android/gyp/generate_resource_rewriter.py',
28         '>@(dependencies_res_zip_paths)',
29       ],
30       'outputs': [
31         '<(resource_rewriter_path)',
32       ],
33       'action': [
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)',
38       ],
39     },
40   ],
41   'includes': [ '../../build/java.gypi' ],