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 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 # specific implementations of CanvasSkia. Affects text drawing in the | 271 # specific implementations of CanvasSkia. Affects text drawing in the |
272 # Chrome UI. | 272 # Chrome UI. |
273 # TODO(asvitkine): Enable this on all platforms and delete this flag. | 273 # TODO(asvitkine): Enable this on all platforms and delete this flag. |
274 # http://crbug.com/105550 | 274 # http://crbug.com/105550 |
275 'use_canvas_skia_skia%': 0, | 275 'use_canvas_skia_skia%': 0, |
276 | 276 |
277 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work | 277 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work |
278 # with one of those tools. | 278 # with one of those tools. |
279 'build_for_tool%': '', | 279 'build_for_tool%': '', |
280 | 280 |
| 281 # Whether tests targets should be run, archived or just have the |
| 282 # dependencies verified. All the tests targets have the '_run' suffix, |
| 283 # e.g. base_unittests_run runs the target base_unittests. The test target |
| 284 # always calls tools/isolate/isolate.py. See the script's --help for more |
| 285 # information and the valid --mode values. Meant to be overriden with |
| 286 # GYP_DEFINES. |
| 287 'tests_run%': 'check', |
| 288 |
281 'conditions': [ | 289 'conditions': [ |
282 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of | 290 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of |
283 # the 'conditions' clause. Initial attempts resulted in chromium and | 291 # the 'conditions' clause. Initial attempts resulted in chromium and |
284 # webkit disagreeing on its setting. | 292 # webkit disagreeing on its setting. |
285 ['OS=="mac"', { | 293 ['OS=="mac"', { |
286 'use_skia%': '<(use_skia_on_mac)', | 294 'use_skia%': '<(use_skia_on_mac)', |
287 # Mac uses clang by default, so turn on the plugin as well. | 295 # Mac uses clang by default, so turn on the plugin as well. |
288 'clang_use_chrome_plugins%': 1, | 296 'clang_use_chrome_plugins%': 1, |
289 }, { | 297 }, { |
290 'use_skia%': 1, | 298 'use_skia%': 1, |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 'asan%': '<(asan)', | 473 'asan%': '<(asan)', |
466 'asan_blacklist%': '<(asan_blacklist)', | 474 'asan_blacklist%': '<(asan_blacklist)', |
467 'order_text_section%': '<(order_text_section)', | 475 'order_text_section%': '<(order_text_section)', |
468 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 476 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
469 'enable_web_intents%': '<(enable_web_intents)', | 477 'enable_web_intents%': '<(enable_web_intents)', |
470 'enable_web_intents_tag%': '<(enable_web_intents_tag)', | 478 'enable_web_intents_tag%': '<(enable_web_intents_tag)', |
471 'enable_plugin_installation%': '<(enable_plugin_installation)', | 479 'enable_plugin_installation%': '<(enable_plugin_installation)', |
472 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 480 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
473 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 481 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
474 'use_canvas_skia_skia%': '<(use_canvas_skia_skia)', | 482 'use_canvas_skia_skia%': '<(use_canvas_skia_skia)', |
| 483 'tests_run%': '<(tests_run)', |
| 484 |
475 # Whether to build for Wayland display server | 485 # Whether to build for Wayland display server |
476 'use_wayland%': 0, | 486 'use_wayland%': 0, |
477 | 487 |
478 # Use system yasm instead of bundled one. | 488 # Use system yasm instead of bundled one. |
479 'use_system_yasm%': 0, | 489 'use_system_yasm%': 0, |
480 | 490 |
481 # Default to enabled PIE; this is important for ASLR but we may need to be | 491 # Default to enabled PIE; this is important for ASLR but we may need to be |
482 # able to turn it off for various reasons. | 492 # able to turn it off for various reasons. |
483 'linux_disable_pie%': 0, | 493 'linux_disable_pie%': 0, |
484 | 494 |
(...skipping 2386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2871 # settings in target dicts. SYMROOT is a special case, because many other | 2881 # settings in target dicts. SYMROOT is a special case, because many other |
2872 # Xcode variables depend on it, including variables such as | 2882 # Xcode variables depend on it, including variables such as |
2873 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2883 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2874 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2884 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2875 # files to appear (when present) in the UI as actual files and not red | 2885 # files to appear (when present) in the UI as actual files and not red |
2876 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2886 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2877 # and therefore SYMROOT, needs to be set at the project level. | 2887 # and therefore SYMROOT, needs to be set at the project level. |
2878 'SYMROOT': '<(DEPTH)/xcodebuild', | 2888 'SYMROOT': '<(DEPTH)/xcodebuild', |
2879 }, | 2889 }, |
2880 } | 2890 } |
OLD | NEW |