Chromium Code Reviews| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 93 '--config-variable', 'target_arch=<(target_arch)', | 93 '--config-variable', 'target_arch=<(target_arch)', |
| 94 '--config-variable', 'tsan=<(tsan)', | 94 '--config-variable', 'tsan=<(tsan)', |
| 95 '--config-variable', 'use_custom_libcxx=<(use_custom_libcxx)', | 95 '--config-variable', 'use_custom_libcxx=<(use_custom_libcxx)', |
| 96 '--config-variable', 'use_instrumented_libraries=<(use_instrumented_libr aries)', | 96 '--config-variable', 'use_instrumented_libraries=<(use_instrumented_libr aries)', |
| 97 '--config-variable', | 97 '--config-variable', |
| 98 'use_prebuilt_instrumented_libraries=<(use_prebuilt_instrumented_librari es)', | 98 'use_prebuilt_instrumented_libraries=<(use_prebuilt_instrumented_librari es)', |
| 99 '--config-variable', 'use_openssl=<(use_openssl)', | 99 '--config-variable', 'use_openssl=<(use_openssl)', |
| 100 '--config-variable', 'use_ozone=<(use_ozone)', | 100 '--config-variable', 'use_ozone=<(use_ozone)', |
| 101 '--config-variable', 'use_x11=<(use_x11)', | 101 '--config-variable', 'use_x11=<(use_x11)', |
| 102 '--config-variable', 'v8_use_external_startup_data=<(v8_use_external_sta rtup_data)', | 102 '--config-variable', 'v8_use_external_startup_data=<(v8_use_external_sta rtup_data)', |
| 103 '--config-variable', 'branding=<(branding)', | |
|
M-A Ruel
2015/04/07 20:57:51
Remove
| |
| 104 '--config-variable', 'enable_pepper_cdms=<(enable_pepper_cdms)', | |
| 103 ], | 105 ], |
| 104 'conditions': [ | 106 'conditions': [ |
| 105 # 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. |
| 106 ['OS=="mac"', { | 108 ['OS=="mac"', { |
| 107 # <(mac_product_name) can contain a space, so don't use FOO=<(FOO) | 109 # <(mac_product_name) can contain a space, so don't use FOO=<(FOO) |
| 108 # form. | 110 # form. |
| 109 'action': [ | 111 'action': [ |
| 110 '--extra-variable', 'mac_product_name', '<(mac_product_name)', | 112 '--extra-variable', 'mac_product_name', '<(mac_product_name)', |
| 111 ], | 113 ], |
| 112 }], | 114 }], |
| 113 ["test_isolation_outdir!=''", { | 115 ["test_isolation_outdir!=''", { |
| 114 'action': [ '--isolate-server', '<(test_isolation_outdir)' ], | 116 'action': [ '--isolate-server', '<(test_isolation_outdir)' ], |
| 115 }], | 117 }], |
| 116 ["test_isolation_mode == 'prepare'", { | 118 ["test_isolation_mode == 'prepare'", { |
| 117 'outputs': [ | 119 'outputs': [ |
| 118 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated.gen.json', | 120 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated.gen.json', |
| 119 ], | 121 ], |
| 120 }, { | 122 }, { |
| 121 'outputs': [ | 123 'outputs': [ |
| 122 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', | 124 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', |
| 123 ], | 125 ], |
| 124 }], | 126 }], |
| 125 ], | 127 ], |
| 126 }, | 128 }, |
| 127 ], | 129 ], |
| 128 } | 130 } |
| OLD | NEW |