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