| 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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 | 466 |
| 467 # linux_use_gold_flags: whether to use build flags that rely on gold. | 467 # linux_use_gold_flags: whether to use build flags that rely on gold. |
| 468 # On by default for x64 Linux. Temporarily off for ChromeOS as | 468 # On by default for x64 Linux. Temporarily off for ChromeOS as |
| 469 # it failed on a buildbot. | 469 # it failed on a buildbot. |
| 470 ['OS=="linux" and chromeos==0', { | 470 ['OS=="linux" and chromeos==0', { |
| 471 'linux_use_gold_flags%': 1, | 471 'linux_use_gold_flags%': 1, |
| 472 }, { | 472 }, { |
| 473 'linux_use_gold_flags%': 0, | 473 'linux_use_gold_flags%': 0, |
| 474 }], | 474 }], |
| 475 | 475 |
| 476 # Enable automation on platforms other than Android. | 476 # Enable automation and printing on platforms other than Android. |
| 477 ['OS=="android"', { | 477 ['OS=="android"', { |
| 478 'enable_automation%': 0, | 478 'enable_automation%': 0, |
| 479 'enable_printing%': 0, |
| 479 }, { | 480 }, { |
| 480 'enable_automation%': 1, | 481 'enable_automation%': 1, |
| 482 'enable_printing%': 1, |
| 481 }], | 483 }], |
| 482 | 484 |
| 483 # Enable Skia UI text drawing incrementally on different platforms. | 485 # Enable Skia UI text drawing incrementally on different platforms. |
| 484 # http://crbug.com/105550 | 486 # http://crbug.com/105550 |
| 485 # | 487 # |
| 486 # On Aura, this allows per-tile painting to be used in the browser | 488 # On Aura, this allows per-tile painting to be used in the browser |
| 487 # compositor. | 489 # compositor. |
| 488 ['OS!="mac" and OS!="android"', { | 490 ['OS!="mac" and OS!="android"', { |
| 489 'use_canvas_skia%': 1, | 491 'use_canvas_skia%': 1, |
| 490 }], | 492 }], |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 'enable_session_service%': '<(enable_session_service)', | 554 'enable_session_service%': '<(enable_session_service)', |
| 553 'enable_themes%': '<(enable_themes)', | 555 'enable_themes%': '<(enable_themes)', |
| 554 'enable_background%': '<(enable_background)', | 556 'enable_background%': '<(enable_background)', |
| 555 'enable_promo_resource_service%': '<(enable_promo_resource_service)', | 557 'enable_promo_resource_service%': '<(enable_promo_resource_service)', |
| 556 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 558 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
| 557 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 559 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
| 558 'use_canvas_skia%': '<(use_canvas_skia)', | 560 'use_canvas_skia%': '<(use_canvas_skia)', |
| 559 'test_isolation_mode%': '<(test_isolation_mode)', | 561 'test_isolation_mode%': '<(test_isolation_mode)', |
| 560 'test_isolation_outdir%': '<(test_isolation_outdir)', | 562 'test_isolation_outdir%': '<(test_isolation_outdir)', |
| 561 'enable_automation%': '<(enable_automation)', | 563 'enable_automation%': '<(enable_automation)', |
| 564 'enable_printing%': '<(enable_printing)', |
| 562 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', | 565 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', |
| 563 'enable_task_manager%': '<(enable_task_manager)', | 566 'enable_task_manager%': '<(enable_task_manager)', |
| 564 'platformsdk_path%': '<(platformsdk_path)', | 567 'platformsdk_path%': '<(platformsdk_path)', |
| 565 'wix_path%': '<(wix_path)', | 568 'wix_path%': '<(wix_path)', |
| 566 'android_upstream_bringup%': '<(android_upstream_bringup)', | 569 'android_upstream_bringup%': '<(android_upstream_bringup)', |
| 567 | 570 |
| 568 # Use system yasm instead of bundled one. | 571 # Use system yasm instead of bundled one. |
| 569 'use_system_yasm%': 0, | 572 'use_system_yasm%': 0, |
| 570 | 573 |
| 571 # Default to enabled PIE; this is important for ASLR but we may need to be | 574 # Default to enabled PIE; this is important for ASLR but we may need to be |
| (...skipping 925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1497 }], | 1500 }], |
| 1498 ['enable_background==1', { | 1501 ['enable_background==1', { |
| 1499 'defines': ['ENABLE_BACKGROUND=1'], | 1502 'defines': ['ENABLE_BACKGROUND=1'], |
| 1500 }], | 1503 }], |
| 1501 ['enable_promo_resource_service==1', { | 1504 ['enable_promo_resource_service==1', { |
| 1502 'defines': ['ENABLE_PROMO_RESOURCE_SERVICE=1'], | 1505 'defines': ['ENABLE_PROMO_RESOURCE_SERVICE=1'], |
| 1503 }], | 1506 }], |
| 1504 ['enable_automation==1', { | 1507 ['enable_automation==1', { |
| 1505 'defines': ['ENABLE_AUTOMATION=1'], | 1508 'defines': ['ENABLE_AUTOMATION=1'], |
| 1506 }], | 1509 }], |
| 1510 ['enable_printing==1', { |
| 1511 'defines': ['ENABLE_PRINTING=1'], |
| 1512 }], |
| 1507 ], # conditions for 'target_defaults' | 1513 ], # conditions for 'target_defaults' |
| 1508 'target_conditions': [ | 1514 'target_conditions': [ |
| 1509 ['enable_wexit_time_destructors==1', { | 1515 ['enable_wexit_time_destructors==1', { |
| 1510 'conditions': [ | 1516 'conditions': [ |
| 1511 [ 'clang==1', { | 1517 [ 'clang==1', { |
| 1512 'cflags': [ | 1518 'cflags': [ |
| 1513 '-Wexit-time-destructors', | 1519 '-Wexit-time-destructors', |
| 1514 ], | 1520 ], |
| 1515 'xcode_settings': { | 1521 'xcode_settings': { |
| 1516 'WARNING_CFLAGS': [ | 1522 'WARNING_CFLAGS': [ |
| (...skipping 1595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3112 # settings in target dicts. SYMROOT is a special case, because many other | 3118 # settings in target dicts. SYMROOT is a special case, because many other |
| 3113 # Xcode variables depend on it, including variables such as | 3119 # Xcode variables depend on it, including variables such as |
| 3114 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3120 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 3115 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3121 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 3116 # files to appear (when present) in the UI as actual files and not red | 3122 # files to appear (when present) in the UI as actual files and not red |
| 3117 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3123 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 3118 # and therefore SYMROOT, needs to be set at the project level. | 3124 # and therefore SYMROOT, needs to be set at the project level. |
| 3119 'SYMROOT': '<(DEPTH)/xcodebuild', | 3125 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 3120 }, | 3126 }, |
| 3121 } | 3127 } |
| OLD | NEW |