OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 '../build/common_untrusted.gypi', | 7 '../build/common_untrusted.gypi', |
8 ], | 8 ], |
9 | 9 |
10 'variables': { | 10 'variables': { |
(...skipping 30 matching lines...) Expand all Loading... |
41 } | 41 } |
42 ], | 42 ], |
43 }, # end of target 'remoting_key_tester' | 43 }, # end of target 'remoting_key_tester' |
44 | 44 |
45 { | 45 { |
46 'target_name': 'remoting_key_tester_jscompile', | 46 'target_name': 'remoting_key_tester_jscompile', |
47 'type': 'none', | 47 'type': 'none', |
48 'conditions': [ | 48 'conditions': [ |
49 ['run_jscompile != 0', { | 49 ['run_jscompile != 0', { |
50 'variables': { | 50 'variables': { |
51 'success_stamp': '<(PRODUCT_DIR)/<(_target_name).stamp', | 51 'source_files': [ |
| 52 '<@(remoting_key_tester_js_files)', |
| 53 ], |
| 54 'out_file': '<(PRODUCT_DIR)/<(_target_name).stamp', |
52 }, | 55 }, |
53 'actions': [ | 56 'includes': ['compile_js.gypi'], |
54 { | |
55 'action_name': 'jscompile remoting_key_tester', | |
56 'inputs': [ | |
57 '<@(remoting_key_tester_js_files)', | |
58 ], | |
59 'outputs': [ | |
60 '<(success_stamp)', | |
61 ], | |
62 'action': [ | |
63 'python', '../third_party/closure_compiler/compile.py', | |
64 '--strict', | |
65 '--no-single-file', | |
66 '--externs', '<(DEPTH)/third_party/closure_compiler/externs/
chrome_extensions.js', | |
67 '--success-stamp', '<(success_stamp)', | |
68 '<@(remoting_key_tester_js_files)', | |
69 ], | |
70 }, | |
71 ], # actions | |
72 }], | 57 }], |
73 ], | 58 ], |
74 }, # end of target 'remoting_key_tester_jscompile' | 59 }, # end of target 'remoting_key_tester_jscompile' |
75 | 60 |
76 { | 61 { |
77 'target_name': 'remoting_key_tester_pexe', | 62 'target_name': 'remoting_key_tester_pexe', |
78 'type': 'none', | 63 'type': 'none', |
79 'sources': [ | 64 'sources': [ |
80 'tools/javascript_key_tester/pnacl/remoting_key_tester.cc', | 65 'tools/javascript_key_tester/pnacl/remoting_key_tester.cc', |
81 ], | 66 ], |
82 'variables': { | 67 'variables': { |
83 'nexe_target': 'remoting_key_tester', | 68 'nexe_target': 'remoting_key_tester', |
84 'build_glibc': 0, | 69 'build_glibc': 0, |
85 'build_newlib': 0, | 70 'build_newlib': 0, |
86 'build_pnacl_newlib': 1, | 71 'build_pnacl_newlib': 1, |
87 'extra_deps_pnacl_newlib': [ | 72 'extra_deps_pnacl_newlib': [ |
88 '>(tc_lib_dir_pnacl_newlib)/libppapi.a', | 73 '>(tc_lib_dir_pnacl_newlib)/libppapi.a', |
89 '>(tc_lib_dir_pnacl_newlib)/libppapi_cpp.a', | 74 '>(tc_lib_dir_pnacl_newlib)/libppapi_cpp.a', |
90 ], | 75 ], |
91 }, | 76 }, |
92 'link_flags': [ | 77 'link_flags': [ |
93 '-lppapi_stub', | 78 '-lppapi_stub', |
94 '-lppapi_cpp', | 79 '-lppapi_cpp', |
95 ], | 80 ], |
96 }, # end of target 'remoting_key_tester_pexe' | 81 }, # end of target 'remoting_key_tester_pexe' |
97 ], | 82 ], |
98 }] | 83 }] |
99 ], | 84 ], |
100 } | 85 } |
OLD | NEW |