OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 # Build the rezip build tool. | 5 # Build the rezip build tool. |
6 { | 6 { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'rezip', | |
10 'type': 'executable', | |
11 'toolsets': [ 'host' ], | |
12 'dependencies': [ | |
13 '<(DEPTH)/third_party/zlib/zlib.gyp:minizip', | |
14 ], | |
15 'include_dirs': [ | |
16 '<(DEPTH)', | |
17 ], | |
18 'sources': [ | |
19 'rezip/rezip.cc', | |
20 ], | |
21 }, | |
22 { | |
23 'target_name': 'rezip_apk_jar', | 9 'target_name': 'rezip_apk_jar', |
24 'type': 'none', | 10 'type': 'none', |
25 'variables': { | 11 'variables': { |
26 'java_in_dir': 'rezip', | 12 'java_in_dir': 'rezip', |
27 'compile_stamp': '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/compile.sta
mp', | 13 'compile_stamp': '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/compile.sta
mp', |
28 'javac_jar_path': '<(PRODUCT_DIR)/lib.java/rezip_apk.jar', | 14 'javac_jar_path': '<(PRODUCT_DIR)/lib.java/rezip_apk.jar', |
29 }, | 15 }, |
30 'actions': [ | 16 'actions': [ |
31 { | 17 { |
32 'action_name': 'javac_<(_target_name)', | 18 'action_name': 'javac_<(_target_name)', |
(...skipping 16 matching lines...) Expand all Loading... |
49 '--classes-dir=<(SHARED_INTERMEDIATE_DIR)/<(_target_name)', | 35 '--classes-dir=<(SHARED_INTERMEDIATE_DIR)/<(_target_name)', |
50 '--jar-path=<(javac_jar_path)', | 36 '--jar-path=<(javac_jar_path)', |
51 '--stamp=<(compile_stamp)', | 37 '--stamp=<(compile_stamp)', |
52 '>@(java_sources)', | 38 '>@(java_sources)', |
53 ] | 39 ] |
54 }, | 40 }, |
55 ], | 41 ], |
56 } | 42 } |
57 ], | 43 ], |
58 } | 44 } |
OLD | NEW |