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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 '--config-variable', | 99 '--config-variable', |
100 'use_prebuilt_instrumented_libraries=<(use_prebuilt_instrumented_librari
es)', | 100 'use_prebuilt_instrumented_libraries=<(use_prebuilt_instrumented_librari
es)', |
101 '--config-variable', 'use_openssl=<(use_openssl)', | 101 '--config-variable', 'use_openssl=<(use_openssl)', |
102 '--config-variable', 'use_ozone=<(use_ozone)', | 102 '--config-variable', 'use_ozone=<(use_ozone)', |
103 '--config-variable', 'use_x11=<(use_x11)', | 103 '--config-variable', 'use_x11=<(use_x11)', |
104 '--config-variable', 'v8_use_external_startup_data=<(v8_use_external_sta
rtup_data)', | 104 '--config-variable', 'v8_use_external_startup_data=<(v8_use_external_sta
rtup_data)', |
105 ], | 105 ], |
106 'conditions': [ | 106 'conditions': [ |
107 # Note: When gyp merges lists, it appends them to the old value. | 107 # Note: When gyp merges lists, it appends them to the old value. |
108 ['OS=="mac"', { | 108 ['OS=="mac"', { |
109 # <(mac_product_name) can contain a space, so don't use FOO=<(FOO) | |
110 # form. | |
111 'action': [ | 109 'action': [ |
112 '--extra-variable', 'mac_product_name', '<(mac_product_name)', | 110 '--extra-variable', 'mac_product_name=<(mac_product_name)', |
113 ], | 111 ], |
114 }], | 112 }], |
115 ["test_isolation_outdir!=''", { | 113 ["test_isolation_outdir!=''", { |
116 'action': [ '--isolate-server', '<(test_isolation_outdir)' ], | 114 'action': [ '--isolate-server', '<(test_isolation_outdir)' ], |
117 }], | 115 }], |
118 ["test_isolation_mode == 'prepare'", { | 116 ["test_isolation_mode == 'prepare'", { |
119 'outputs': [ | 117 'outputs': [ |
120 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated.gen.json', | 118 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated.gen.json', |
121 ], | 119 ], |
122 }, { | 120 }, { |
123 'outputs': [ | 121 'outputs': [ |
124 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', | 122 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', |
125 ], | 123 ], |
126 }], | 124 }], |
127 ], | 125 ], |
128 }, | 126 }, |
129 ], | 127 ], |
130 } | 128 } |
OLD | NEW |