| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 'success_stamp': '<(PRODUCT_DIR)/<(_target_name).stamp', |
| 52 'source_files': [ |
| 53 '<@(remoting_key_tester_js_files)', |
| 54 'webapp/js_proto/chrome_proto.js', |
| 55 'webapp/js_proto/chrome_event_proto.js', |
| 56 ], |
| 57 'script_args': [ |
| 58 '--success-stamp', '<(success_stamp)', |
| 59 '--out_file', '<(success_stamp)', |
| 60 ] |
| 52 }, | 61 }, |
| 53 'actions': [ | 62 'includes': ['compile_js.gypi'], |
| 54 { | |
| 55 'action_name': 'jscompile remoting_key_tester', | |
| 56 'inputs': [ | |
| 57 '<@(remoting_key_tester_js_files)', | |
| 58 'webapp/js_proto/chrome_proto.js', | |
| 59 'webapp/js_proto/chrome_event_proto.js', | |
| 60 ], | |
| 61 'outputs': [ | |
| 62 '<(success_stamp)', | |
| 63 ], | |
| 64 'action': [ | |
| 65 'python', '../third_party/closure_compiler/compile.py', | |
| 66 '--strict', | |
| 67 '--no-single-file', | |
| 68 '--success-stamp', '<(success_stamp)', | |
| 69 '<@(remoting_key_tester_js_files)', | |
| 70 'webapp/js_proto/chrome_proto.js', | |
| 71 'webapp/js_proto/chrome_event_proto.js', | |
| 72 ], | |
| 73 }, | |
| 74 ], # actions | |
| 75 }], | 63 }], |
| 76 ], | 64 ], |
| 77 }, # end of target 'remoting_key_tester_jscompile' | 65 }, # end of target 'remoting_key_tester_jscompile' |
| 78 | 66 |
| 79 { | 67 { |
| 80 'target_name': 'remoting_key_tester_pexe', | 68 'target_name': 'remoting_key_tester_pexe', |
| 81 'type': 'none', | 69 'type': 'none', |
| 82 'sources': [ | 70 'sources': [ |
| 83 'tools/javascript_key_tester/pnacl/remoting_key_tester.cc', | 71 'tools/javascript_key_tester/pnacl/remoting_key_tester.cc', |
| 84 ], | 72 ], |
| 85 'variables': { | 73 'variables': { |
| 86 'nexe_target': 'remoting_key_tester', | 74 'nexe_target': 'remoting_key_tester', |
| 87 'build_glibc': 0, | 75 'build_glibc': 0, |
| 88 'build_newlib': 0, | 76 'build_newlib': 0, |
| 89 'build_pnacl_newlib': 1, | 77 'build_pnacl_newlib': 1, |
| 90 'extra_deps_pnacl_newlib': [ | 78 'extra_deps_pnacl_newlib': [ |
| 91 '>(tc_lib_dir_pnacl_newlib)/libppapi.a', | 79 '>(tc_lib_dir_pnacl_newlib)/libppapi.a', |
| 92 '>(tc_lib_dir_pnacl_newlib)/libppapi_cpp.a', | 80 '>(tc_lib_dir_pnacl_newlib)/libppapi_cpp.a', |
| 93 ], | 81 ], |
| 94 }, | 82 }, |
| 95 'link_flags': [ | 83 'link_flags': [ |
| 96 '-lppapi_stub', | 84 '-lppapi_stub', |
| 97 '-lppapi_cpp', | 85 '-lppapi_cpp', |
| 98 ], | 86 ], |
| 99 }, # end of target 'remoting_key_tester_pexe' | 87 }, # end of target 'remoting_key_tester_pexe' |
| 100 ], | 88 ], |
| 101 }] | 89 }] |
| 102 ], | 90 ], |
| 103 } | 91 } |
| OLD | NEW |