| OLD | NEW |
| (Empty) | |
| 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. |
| 4 { |
| 5 'targets' :[ |
| 6 { |
| 7 'target_name': 'document_image_extractor', |
| 8 'type': 'none', |
| 9 'variables': { 'CLOSURE_DIR': '<(DEPTH)/third_party/closure_compiler', }, |
| 10 'actions': [ |
| 11 { |
| 12 # This action optionally takes these arguments: |
| 13 # - depends: scripts that the source file depends on being included al
ready |
| 14 # - externs: files that describe globals used by |source| |
| 15 'action_name': 'Compile enhanced bookmarks image extractor JavaScript'
, |
| 16 'variables': { |
| 17 'source_file': 'get_salient_image_url.js', |
| 18 'out_file': '<(SHARED_INTERMEDIATE_DIR)/closure/<!(python <(CLOSURE_
DIR)/build/outputs.py <@(source_file))', |
| 19 }, |
| 20 'inputs': [ |
| 21 '<(CLOSURE_DIR)/compile.py', |
| 22 '<(CLOSURE_DIR)/processor.py', |
| 23 '<(CLOSURE_DIR)/build/inputs.py', |
| 24 '<(CLOSURE_DIR)/build/outputs.py', |
| 25 '<(CLOSURE_DIR)/compiler/compiler.jar', |
| 26 '<(CLOSURE_DIR)/runner/runner.jar', |
| 27 '<!@(python <(CLOSURE_DIR)/build/inputs.py <(source_file))', |
| 28 ], |
| 29 'outputs': [ |
| 30 '<(out_file)', |
| 31 ], |
| 32 'action': [ |
| 33 'python', |
| 34 '<(CLOSURE_DIR)/compile.py', |
| 35 '<@(document_image_extractor_js_files)', |
| 36 '<(source_file)', |
| 37 '--out_file', '<(out_file)', |
| 38 '--no-single-file', |
| 39 '--output_wrapper', '(function(){%output% return GetSalientImageUrl(
);})();', |
| 40 ], |
| 41 } |
| 42 ], |
| 43 'includes': [ |
| 44 '../../../third_party/document_image_extractor/document_image_extractor_
files.gypi' |
| 45 ], |
| 46 }, |
| 47 { |
| 48 'target_name': 'dom_initializer', |
| 49 'type': 'none', |
| 50 'variables': { 'CLOSURE_DIR': '<(DEPTH)/third_party/closure_compiler', }, |
| 51 'actions': [ |
| 52 { |
| 53 # This action optionally takes these arguments: |
| 54 # - depends: scripts that the source file depends on being included al
ready |
| 55 # - externs: files that describe globals used by |source| |
| 56 'action_name': 'Compile enhanced bookmarks dom initializer JavaScript'
, |
| 57 'variables': { |
| 58 'source_file': 'dom_initializer.js', |
| 59 'out_file': '<(SHARED_INTERMEDIATE_DIR)/closure/<!(python <(CLOSURE_
DIR)/build/outputs.py <@(source_file))', |
| 60 }, |
| 61 'inputs': [ |
| 62 '<(CLOSURE_DIR)/compile.py', |
| 63 '<(CLOSURE_DIR)/processor.py', |
| 64 '<(CLOSURE_DIR)/build/inputs.py', |
| 65 '<(CLOSURE_DIR)/build/outputs.py', |
| 66 '<(CLOSURE_DIR)/compiler/compiler.jar', |
| 67 '<(CLOSURE_DIR)/runner/runner.jar', |
| 68 '<!@(python <(CLOSURE_DIR)/build/inputs.py <(source_file))', |
| 69 ], |
| 70 'outputs': [ |
| 71 '<(out_file)', |
| 72 ], |
| 73 'action': [ |
| 74 'python', |
| 75 '<(CLOSURE_DIR)/compile.py', |
| 76 '<@(dom_controller_js_files)', |
| 77 '<(source_file)', |
| 78 '--out_file', '<(out_file)', |
| 79 '--no-single-file', |
| 80 '--output_wrapper', '(function(){%output%})();', |
| 81 ] |
| 82 } |
| 83 ], |
| 84 'includes': [ |
| 85 '../../../third_party/document_image_extractor/dom_controller_files.gypi
' |
| 86 ], |
| 87 }, |
| 88 ], |
| 89 } |
| OLD | NEW |