Delay default apps installation on Chrome OS for first time sign-in
[chromium-blink-merge.git] / build / android / rezip.gyp
blob111517763ab19b910738779ca6a5da4296726d2e
1 # Copyright 2014 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 # Build the rezip build tool.
7   'targets': [
8     {
9       # GN: //build/android/rezip:rezip
10       'target_name': 'rezip_apk_jar',
11       'type': 'none',
12       'variables': {
13         'java_in_dir': 'rezip',
14         'compile_stamp': '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/compile.stamp',
15         'javac_jar_path': '<(PRODUCT_DIR)/lib.java/rezip_apk.jar',
16       },
17       'actions': [
18         {
19           'action_name': 'javac_<(_target_name)',
20           'message': 'Compiling <(_target_name) java sources',
21           'variables': {
22             'java_sources': ['>!@(find >(java_in_dir) -name "*.java")'],
23           },
24           'inputs': [
25             '<(DEPTH)/build/android/gyp/util/build_utils.py',
26             '<(DEPTH)/build/android/gyp/javac.py',
27             '>@(java_sources)',
28           ],
29           'outputs': [
30             '<(compile_stamp)',
31             '<(javac_jar_path)',
32           ],
33           'action': [
34             'python', '<(DEPTH)/build/android/gyp/javac.py',
35             '--classpath=',
36             '--classes-dir=<(SHARED_INTERMEDIATE_DIR)/<(_target_name)',
37             '--jar-path=<(javac_jar_path)',
38             '--stamp=<(compile_stamp)',
39             '>@(java_sources)',
40           ]
41         },
42       ],
43     }
44   ],