Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(637)

Side by Side Diff: build/android/instr_action.gypi

Issue 2101243005: Add a snapshot of flutter/engine/src/build to our sdk (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add README.dart Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/android/install_emulator_deps.py ('k') | build/android/java_cpp_enum.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2013 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 # This file is meant to be included into an action to provide a rule that
6 # instruments either java class files, or jars.
7
8 {
9 'variables': {
10 'instr_type%': 'jar',
11 'input_path%': '',
12 'output_path%': '',
13 'stamp_path%': '',
14 'extra_instr_args': [
15 '--coverage-file=<(_target_name).em',
16 '--sources-file=<(_target_name)_sources.txt',
17 ],
18 'emma_jar': '<(android_sdk_root)/tools/lib/emma.jar',
19 'conditions': [
20 ['emma_instrument != 0', {
21 'extra_instr_args': [
22 '--sources=<(java_in_dir)/src >(additional_src_dirs) >(generated_src_d irs)',
23 '--src-root=<(DEPTH)',
24 '--emma-jar=<(emma_jar)',
25 '--filter-string=<(emma_filter)',
26 ],
27 'conditions': [
28 ['instr_type == "jar"', {
29 'instr_action': 'instrument_jar',
30 }, {
31 'instr_action': 'instrument_classes',
32 }]
33 ],
34 }, {
35 'instr_action': 'copy',
36 'extra_instr_args': [],
37 }]
38 ]
39 },
40 'inputs': [
41 '<(DEPTH)/build/android/gyp/emma_instr.py',
42 '<(DEPTH)/build/android/gyp/util/build_utils.py',
43 '<(DEPTH)/build/android/pylib/utils/command_option_parser.py',
44 ],
45 'action': [
46 'python', '<(DEPTH)/build/android/gyp/emma_instr.py',
47 '<(instr_action)',
48 '--input-path=<(input_path)',
49 '--output-path=<(output_path)',
50 '--stamp=<(stamp_path)',
51 '<@(extra_instr_args)',
52 ]
53 }
OLDNEW
« no previous file with comments | « build/android/install_emulator_deps.py ('k') | build/android/java_cpp_enum.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698