OLD | NEW |
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 '--extra-variable', 'version_full=<(version_full)', | 88 '--extra-variable', 'version_full=<(version_full)', |
89 | 89 |
90 '--config-variable', 'OS=<(OS)', | 90 '--config-variable', 'OS=<(OS)', |
91 '--config-variable', 'chromeos=<(chromeos)', | 91 '--config-variable', 'chromeos=<(chromeos)', |
92 '--config-variable', 'component=<(component)', | 92 '--config-variable', 'component=<(component)', |
93 # TODO(kbr): move this to chrome_tests.gypi:gles2_conform_tests_run | 93 # TODO(kbr): move this to chrome_tests.gypi:gles2_conform_tests_run |
94 # once support for user-defined config variables is added. | 94 # once support for user-defined config variables is added. |
95 '--config-variable', | 95 '--config-variable', |
96 'internal_gles2_conform_tests=<(internal_gles2_conform_tests)', | 96 'internal_gles2_conform_tests=<(internal_gles2_conform_tests)', |
97 '--config-variable', 'icu_use_data_file_flag=<(icu_use_data_file_flag)', | 97 '--config-variable', 'icu_use_data_file_flag=<(icu_use_data_file_flag)', |
| 98 '--config-variable', 'libpeer_target_type=<(libpeer_target_type)', |
98 '--config-variable', 'use_openssl=<(use_openssl)', | 99 '--config-variable', 'use_openssl=<(use_openssl)', |
99 ], | 100 ], |
100 'conditions': [ | 101 'conditions': [ |
101 # Note: When gyp merges lists, it appends them to the old value. | 102 # Note: When gyp merges lists, it appends them to the old value. |
102 ['OS=="mac"', { | 103 ['OS=="mac"', { |
103 # <(mac_product_name) can contain a space, so don't use FOO=<(FOO) | 104 # <(mac_product_name) can contain a space, so don't use FOO=<(FOO) |
104 # form. | 105 # form. |
105 'action': [ | 106 'action': [ |
106 '--extra-variable', 'mac_product_name', '<(mac_product_name)', | 107 '--extra-variable', 'mac_product_name', '<(mac_product_name)', |
107 ], | 108 ], |
108 }], | 109 }], |
109 ["test_isolation_outdir!=''", { | 110 ["test_isolation_outdir!=''", { |
110 'action': [ '--isolate-server', '<(test_isolation_outdir)' ], | 111 'action': [ '--isolate-server', '<(test_isolation_outdir)' ], |
111 }], | 112 }], |
112 ['test_isolation_fail_on_missing == 0', { | 113 ['test_isolation_fail_on_missing == 0', { |
113 'action': ['--ignore_broken_items'], | 114 'action': ['--ignore_broken_items'], |
114 }], | 115 }], |
115 ], | 116 ], |
116 }, | 117 }, |
117 ], | 118 ], |
118 } | 119 } |
OLD | NEW |