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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 # provide a build speedup of 20-25%. There are a couple of | 256 # provide a build speedup of 20-25%. There are a couple of |
257 # small workarounds you may need to use when using VS 2008 (but | 257 # small workarounds you may need to use when using VS 2008 (but |
258 # not 2010), see | 258 # not 2010), see |
259 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders | 259 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders |
260 # for details. | 260 # for details. |
261 'chromium_win_pch%': 0, | 261 'chromium_win_pch%': 0, |
262 | 262 |
263 # Enable plug-in installation by default. | 263 # Enable plug-in installation by default. |
264 'enable_plugin_installation%': 1, | 264 'enable_plugin_installation%': 1, |
265 | 265 |
| 266 # Enable protector service by default. |
| 267 'enable_protector_service%': 1, |
| 268 |
266 # Specifies whether to use canvas_skia.cc in place of platform | 269 # Specifies whether to use canvas_skia.cc in place of platform |
267 # specific implementations of gfx::Canvas. Affects text drawing in the | 270 # specific implementations of gfx::Canvas. Affects text drawing in the |
268 # Chrome UI. | 271 # Chrome UI. |
269 # TODO(asvitkine): Enable this on all platforms and delete this flag. | 272 # TODO(asvitkine): Enable this on all platforms and delete this flag. |
270 # http://crbug.com/105550 | 273 # http://crbug.com/105550 |
271 'use_canvas_skia%': 0, | 274 'use_canvas_skia%': 0, |
272 | 275 |
273 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work | 276 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work |
274 # with one of those tools. | 277 # with one of those tools. |
275 'build_for_tool%': '', | 278 'build_for_tool%': '', |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 ['OS=="win" and MSVS_VERSION=="2010"', { | 401 ['OS=="win" and MSVS_VERSION=="2010"', { |
399 'chromium_win_pch%': 1 | 402 'chromium_win_pch%': 1 |
400 }], | 403 }], |
401 | 404 |
402 ['use_aura==1 or chromeos==1 or OS=="android"', { | 405 ['use_aura==1 or chromeos==1 or OS=="android"', { |
403 'enable_plugin_installation%': 0, | 406 'enable_plugin_installation%': 0, |
404 }, { | 407 }, { |
405 'enable_plugin_installation%': 1, | 408 'enable_plugin_installation%': 1, |
406 }], | 409 }], |
407 | 410 |
| 411 ['OS=="android"', { |
| 412 'enable_protector_service%': 0, |
| 413 }, { |
| 414 'enable_protector_service%': 1, |
| 415 }], |
| 416 |
408 # linux_use_gold_binary: whether to use the binary checked into | 417 # linux_use_gold_binary: whether to use the binary checked into |
409 # third_party/gold. | 418 # third_party/gold. |
410 ['OS=="linux"', { | 419 ['OS=="linux"', { |
411 'linux_use_gold_binary%': 1, | 420 'linux_use_gold_binary%': 1, |
412 }, { | 421 }, { |
413 'linux_use_gold_binary%': 0, | 422 'linux_use_gold_binary%': 0, |
414 }], | 423 }], |
415 | 424 |
416 # linux_use_gold_flags: whether to use build flags that rely on gold. | 425 # linux_use_gold_flags: whether to use build flags that rely on gold. |
417 # On by default for x64 Linux. Temporarily off for ChromeOS as | 426 # On by default for x64 Linux. Temporarily off for ChromeOS as |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 'input_speech%': '<(input_speech)', | 499 'input_speech%': '<(input_speech)', |
491 'notifications%': '<(notifications)', | 500 'notifications%': '<(notifications)', |
492 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 501 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
493 'asan%': '<(asan)', | 502 'asan%': '<(asan)', |
494 'asan_blacklist%': '<(asan_blacklist)', | 503 'asan_blacklist%': '<(asan_blacklist)', |
495 'order_text_section%': '<(order_text_section)', | 504 'order_text_section%': '<(order_text_section)', |
496 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 505 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
497 'enable_web_intents%': '<(enable_web_intents)', | 506 'enable_web_intents%': '<(enable_web_intents)', |
498 'enable_web_intents_tag%': '<(enable_web_intents_tag)', | 507 'enable_web_intents_tag%': '<(enable_web_intents_tag)', |
499 'enable_plugin_installation%': '<(enable_plugin_installation)', | 508 'enable_plugin_installation%': '<(enable_plugin_installation)', |
| 509 'enable_protector_service%': '<(enable_protector_service)', |
500 'enable_themes%': '<(enable_themes)', | 510 'enable_themes%': '<(enable_themes)', |
501 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 511 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
502 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 512 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
503 'use_canvas_skia%': '<(use_canvas_skia)', | 513 'use_canvas_skia%': '<(use_canvas_skia)', |
504 'tests_run%': '<(tests_run)', | 514 'tests_run%': '<(tests_run)', |
505 'enable_automation%': '<(enable_automation)', | 515 'enable_automation%': '<(enable_automation)', |
506 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', | 516 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', |
507 | 517 |
508 # Whether to build for Wayland display server | 518 # Whether to build for Wayland display server |
509 'use_wayland%': 0, | 519 'use_wayland%': 0, |
(...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1365 }], | 1375 }], |
1366 ['OS=="win" and branding=="Chrome"', { | 1376 ['OS=="win" and branding=="Chrome"', { |
1367 'defines': ['ENABLE_SWIFTSHADER'], | 1377 'defines': ['ENABLE_SWIFTSHADER'], |
1368 }], | 1378 }], |
1369 ['enable_dart==1', { | 1379 ['enable_dart==1', { |
1370 'defines': ['WEBKIT_USING_DART=1'], | 1380 'defines': ['WEBKIT_USING_DART=1'], |
1371 }], | 1381 }], |
1372 ['enable_plugin_installation==1', { | 1382 ['enable_plugin_installation==1', { |
1373 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], | 1383 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], |
1374 }], | 1384 }], |
| 1385 ['enable_protector_service==1', { |
| 1386 'defines': ['ENABLE_PROTECTOR_SERVICE=1'], |
| 1387 }], |
1375 ['enable_themes==1', { | 1388 ['enable_themes==1', { |
1376 'defines': ['ENABLE_THEMES=1'], | 1389 'defines': ['ENABLE_THEMES=1'], |
1377 }], | 1390 }], |
1378 ['enable_automation==1', { | 1391 ['enable_automation==1', { |
1379 'defines': ['ENABLE_AUTOMATION=1'], | 1392 'defines': ['ENABLE_AUTOMATION=1'], |
1380 }], | 1393 }], |
1381 ], # conditions for 'target_defaults' | 1394 ], # conditions for 'target_defaults' |
1382 'target_conditions': [ | 1395 'target_conditions': [ |
1383 ['enable_wexit_time_destructors==1', { | 1396 ['enable_wexit_time_destructors==1', { |
1384 'conditions': [ | 1397 'conditions': [ |
(...skipping 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2955 # settings in target dicts. SYMROOT is a special case, because many other | 2968 # settings in target dicts. SYMROOT is a special case, because many other |
2956 # Xcode variables depend on it, including variables such as | 2969 # Xcode variables depend on it, including variables such as |
2957 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2970 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2958 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2971 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2959 # files to appear (when present) in the UI as actual files and not red | 2972 # files to appear (when present) in the UI as actual files and not red |
2960 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2973 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2961 # and therefore SYMROOT, needs to be set at the project level. | 2974 # and therefore SYMROOT, needs to be set at the project level. |
2962 'SYMROOT': '<(DEPTH)/xcodebuild', | 2975 'SYMROOT': '<(DEPTH)/xcodebuild', |
2963 }, | 2976 }, |
2964 } | 2977 } |
OLD | NEW |