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

Side by Side Diff: build/isolate.gypi

Issue 132233030: Add support for component=shared_library for base_unittests_run. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comments about use_system_ssl Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « build/android/pylib/gtest/setup.py ('k') | build/linux/system.isolate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 # This file is meant to be included into a target to provide a rule 5 # This file is meant to be included into a target to provide a rule
6 # to "build" .isolate files into a .isolated file. 6 # to "build" .isolate files into a .isolated file.
7 # 7 #
8 # To use this, create a gyp target with the following form: 8 # To use this, create a gyp target with the following form:
9 # 'conditions': [ 9 # 'conditions': [
10 # ['test_isolation_mode != "noop"', { 10 # ['test_isolation_mode != "noop"', {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 # the switch-over to running tests on Swarm is completed. 62 # the switch-over to running tests on Swarm is completed.
63 #'<@(isolate_dependency_tracked)', 63 #'<@(isolate_dependency_tracked)',
64 ], 64 ],
65 'outputs': [ 65 'outputs': [
66 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', 66 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated',
67 ], 67 ],
68 'action': [ 68 'action': [
69 'python', 69 'python',
70 '<(DEPTH)/tools/swarming_client/isolate.py', 70 '<(DEPTH)/tools/swarming_client/isolate.py',
71 '<(test_isolation_mode)', 71 '<(test_isolation_mode)',
72 '--result', '<@(_outputs)',
73 '--isolate', '<(RULE_INPUT_PATH)',
74
72 # Variables should use the -V FOO=<(FOO) form so frequent values, 75 # Variables should use the -V FOO=<(FOO) form so frequent values,
73 # like '0' or '1', aren't stripped out by GYP. 76 # like '0' or '1', aren't stripped out by GYP. Run 'isolate.py help' for
74 » # This list needs to be kept in sync with the cmd line options 77 # more details.
75 » # in src/build/android/pylib/gtest/setup.py. 78 #
79 # This list needs to be kept in sync with the cmd line options
80 # in src/build/android/pylib/gtest/setup.py.
81
82 # Path variables are used to replace file paths when loading a .isolate
83 # file
76 '--path-variable', 'PRODUCT_DIR', '<(PRODUCT_DIR) ', 84 '--path-variable', 'PRODUCT_DIR', '<(PRODUCT_DIR) ',
85
86 # Extra variables are replaced on the 'command' entry and on paths in
87 # the .isolate file but are not considered relative paths.
88 '--extra-variable', 'version_full=<(version_full)',
89
77 '--config-variable', 'OS=<(OS)', 90 '--config-variable', 'OS=<(OS)',
91 '--config-variable', 'component=<(component)',
78 # TODO(kbr): move this to chrome_tests.gypi:gles2_conform_tests_run 92 # TODO(kbr): move this to chrome_tests.gypi:gles2_conform_tests_run
79 # once support for user-defined config variables is added. 93 # once support for user-defined config variables is added.
80 '--config-variable', 94 '--config-variable',
81 'internal_gles2_conform_tests=<(internal_gles2_conform_tests)', 95 'internal_gles2_conform_tests=<(internal_gles2_conform_tests)',
82 '--config-variable', 'icu_use_data_file_flag=<(icu_use_data_file_flag)', 96 '--config-variable', 'icu_use_data_file_flag=<(icu_use_data_file_flag)',
83 '--extra-variable', 'version_full=<(version_full)', 97 '--config-variable', 'use_openssl=<(use_openssl)',
84 '--result', '<@(_outputs)',
85 '--isolate', '<(RULE_INPUT_PATH)',
86 ], 98 ],
87 'conditions': [ 99 'conditions': [
88 # Note: When gyp merges lists, it appends them to the old value. 100 # Note: When gyp merges lists, it appends them to the old value.
89 ['OS=="mac"', { 101 ['OS=="mac"', {
90 # <(mac_product_name) can contain a space, so don't use FOO=<(FOO) 102 # <(mac_product_name) can contain a space, so don't use FOO=<(FOO)
91 # form. 103 # form.
92 'action': [ 104 'action': [
93 '--extra-variable', 'mac_product_name', '<(mac_product_name)', 105 '--extra-variable', 'mac_product_name', '<(mac_product_name)',
94 ], 106 ],
95 }], 107 }],
(...skipping 11 matching lines...) Expand all
107 ['test_isolation_fail_on_missing == 0', { 119 ['test_isolation_fail_on_missing == 0', {
108 'action': ['--ignore_broken_items'], 120 'action': ['--ignore_broken_items'],
109 }, 121 },
110 ], 122 ],
111 ], 123 ],
112 124
113 'msvs_cygwin_shell': 0, 125 'msvs_cygwin_shell': 0,
114 }, 126 },
115 ], 127 ],
116 } 128 }
OLDNEW
« no previous file with comments | « build/android/pylib/gtest/setup.py ('k') | build/linux/system.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698