Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: build/common.gypi

Issue 9699054: rlz: Hook up on mac, switch to chrome's network stack on win. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 'build_for_tool%': '', 275 'build_for_tool%': '',
276 276
277 # Whether tests targets should be run, archived or just have the 277 # Whether tests targets should be run, archived or just have the
278 # dependencies verified. All the tests targets have the '_run' suffix, 278 # dependencies verified. All the tests targets have the '_run' suffix,
279 # e.g. base_unittests_run runs the target base_unittests. The test target 279 # e.g. base_unittests_run runs the target base_unittests. The test target
280 # always calls tools/isolate/isolate.py. See the script's --help for more 280 # always calls tools/isolate/isolate.py. See the script's --help for more
281 # information and the valid --mode values. Meant to be overriden with 281 # information and the valid --mode values. Meant to be overriden with
282 # GYP_DEFINES. 282 # GYP_DEFINES.
283 'tests_run%': 'check', 283 'tests_run%': 'check',
284 284
285 # Force rlz to use chrome's networking stack.
286 'force_rlz_use_chrome_net%': 1,
287
285 'conditions': [ 288 'conditions': [
286 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of 289 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of
287 # the 'conditions' clause. Initial attempts resulted in chromium and 290 # the 'conditions' clause. Initial attempts resulted in chromium and
288 # webkit disagreeing on its setting. 291 # webkit disagreeing on its setting.
289 ['OS=="mac"', { 292 ['OS=="mac"', {
290 'use_skia%': 1, 293 'use_skia%': 1,
291 # Mac uses clang by default, so turn on the plugin as well. 294 # Mac uses clang by default, so turn on the plugin as well.
292 'clang_use_chrome_plugins%': 1, 295 'clang_use_chrome_plugins%': 1,
293 }, { 296 }, {
294 'use_skia%': 1, 297 'use_skia%': 1,
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', 496 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)',
494 'enable_web_intents%': '<(enable_web_intents)', 497 'enable_web_intents%': '<(enable_web_intents)',
495 'enable_web_intents_tag%': '<(enable_web_intents_tag)', 498 'enable_web_intents_tag%': '<(enable_web_intents_tag)',
496 'enable_plugin_installation%': '<(enable_plugin_installation)', 499 'enable_plugin_installation%': '<(enable_plugin_installation)',
497 'enable_themes%': '<(enable_themes)', 500 'enable_themes%': '<(enable_themes)',
498 'linux_use_gold_binary%': '<(linux_use_gold_binary)', 501 'linux_use_gold_binary%': '<(linux_use_gold_binary)',
499 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 502 'linux_use_gold_flags%': '<(linux_use_gold_flags)',
500 'use_canvas_skia%': '<(use_canvas_skia)', 503 'use_canvas_skia%': '<(use_canvas_skia)',
501 'tests_run%': '<(tests_run)', 504 'tests_run%': '<(tests_run)',
502 'enable_automation%': '<(enable_automation)', 505 'enable_automation%': '<(enable_automation)',
506 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)',
503 507
504 # Whether to build for Wayland display server 508 # Whether to build for Wayland display server
505 'use_wayland%': 0, 509 'use_wayland%': 0,
506 510
507 # Use system yasm instead of bundled one. 511 # Use system yasm instead of bundled one.
508 'use_system_yasm%': 0, 512 'use_system_yasm%': 0,
509 513
510 # Default to enabled PIE; this is important for ASLR but we may need to be 514 # Default to enabled PIE; this is important for ASLR but we may need to be
511 # able to turn it off for various reasons. 515 # able to turn it off for various reasons.
512 'linux_disable_pie%': 0, 516 'linux_disable_pie%': 0,
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 }, 1136 },
1133 'conditions': [ 1137 'conditions': [
1134 ['OS=="win" and "<(msbuild_toolset)"!=""', { 1138 ['OS=="win" and "<(msbuild_toolset)"!=""', {
1135 'msbuild_toolset': '<(msbuild_toolset)', 1139 'msbuild_toolset': '<(msbuild_toolset)',
1136 }], 1140 }],
1137 ['branding=="Chrome"', { 1141 ['branding=="Chrome"', {
1138 'defines': ['GOOGLE_CHROME_BUILD'], 1142 'defines': ['GOOGLE_CHROME_BUILD'],
1139 }, { # else: branding!="Chrome" 1143 }, { # else: branding!="Chrome"
1140 'defines': ['CHROMIUM_BUILD'], 1144 'defines': ['CHROMIUM_BUILD'],
1141 }], 1145 }],
1146 ['branding=="Chrome" and (OS=="win" or OS=="mac")', {
1147 'defines': ['ENABLE_RLZ'],
1148 }],
1142 ['component=="shared_library"', { 1149 ['component=="shared_library"', {
1143 'defines': ['COMPONENT_BUILD'], 1150 'defines': ['COMPONENT_BUILD'],
1144 }], 1151 }],
1145 ['component=="shared_library" and incremental_chrome_dll==1', { 1152 ['component=="shared_library" and incremental_chrome_dll==1', {
1146 # TODO(dpranke): We can't incrementally link chrome when 1153 # TODO(dpranke): We can't incrementally link chrome when
1147 # content is being built as a DLL because chrome links in 1154 # content is being built as a DLL because chrome links in
1148 # webkit_glue and webkit_glue depends on symbols defined in 1155 # webkit_glue and webkit_glue depends on symbols defined in
1149 # content. We can remove this when we fix glue. 1156 # content. We can remove this when we fix glue.
1150 # See http://code.google.com/p/chromium/issues/detail?id=98755 . 1157 # See http://code.google.com/p/chromium/issues/detail?id=98755 .
1151 'defines': ['COMPILE_CONTENT_STATICALLY'], 1158 'defines': ['COMPILE_CONTENT_STATICALLY'],
(...skipping 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after
2943 # settings in target dicts. SYMROOT is a special case, because many other 2950 # settings in target dicts. SYMROOT is a special case, because many other
2944 # Xcode variables depend on it, including variables such as 2951 # Xcode variables depend on it, including variables such as
2945 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2952 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2946 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2953 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2947 # files to appear (when present) in the UI as actual files and not red 2954 # files to appear (when present) in the UI as actual files and not red
2948 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2955 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2949 # and therefore SYMROOT, needs to be set at the project level. 2956 # and therefore SYMROOT, needs to be set at the project level.
2950 'SYMROOT': '<(DEPTH)/xcodebuild', 2957 'SYMROOT': '<(DEPTH)/xcodebuild',
2951 }, 2958 },
2952 } 2959 }
OLDNEW
« no previous file with comments | « DEPS ('k') | chrome/browser/browser_shutdown.cc » ('j') | chrome/browser/rlz/rlz.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698