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

Side by Side Diff: build/common.gypi

Issue 1466143002: arc-bridge: Enable ARC with a command-line flag (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Rebased to ToT Created 5 years 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
« no previous file with comments | « no previous file | build/config/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1545 matching lines...) Expand 10 before | Expand all | Expand 10 after
1556 'ozone_platform_headless%': 0, 1556 'ozone_platform_headless%': 0,
1557 1557
1558 # Experiment: http://crbug.com/426914 1558 # Experiment: http://crbug.com/426914
1559 'envoy%': 0, 1559 'envoy%': 0,
1560 1560
1561 # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path 1561 # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path
1562 # for robust login screen decoding. 1562 # for robust login screen decoding.
1563 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', 1563 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp',
1564 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', 1564 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp',
1565 1565
1566 # ARC instance disabled by default.
1567 'enable_arc%': 0,
1568
1569 'conditions': [ 1566 'conditions': [
1570 ['buildtype=="Official"', { 1567 ['buildtype=="Official"', {
1571 # Continue to embed build meta data in Official builds, basically the 1568 # Continue to embed build meta data in Official builds, basically the
1572 # time it was built. 1569 # time it was built.
1573 # TODO(maruel): This decision should be revisited because having an 1570 # TODO(maruel): This decision should be revisited because having an
1574 # official deterministic build has high value too but MSVC toolset can't 1571 # official deterministic build has high value too but MSVC toolset can't
1575 # generate anything deterministic with WPO enabled AFAIK. 1572 # generate anything deterministic with WPO enabled AFAIK.
1576 'dont_embed_build_metadata%': 0, 1573 'dont_embed_build_metadata%': 0,
1577 }], 1574 }],
1578 # Enable the Syzygy optimization step for the official builds. 1575 # Enable the Syzygy optimization step for the official builds.
(...skipping 1520 matching lines...) Expand 10 before | Expand all | Expand 10 after
3099 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { 3096 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', {
3100 'defines': ['USE_NSS_CERTS=1'], 3097 'defines': ['USE_NSS_CERTS=1'],
3101 }], 3098 }],
3102 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { 3099 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', {
3103 'defines': ['OS_CHROMEOS=1'], 3100 'defines': ['OS_CHROMEOS=1'],
3104 }], 3101 }],
3105 ['enable_wexit_time_destructors==1 and OS!="win"', { 3102 ['enable_wexit_time_destructors==1 and OS!="win"', {
3106 # TODO: Enable on Windows too, http://crbug.com/404525 3103 # TODO: Enable on Windows too, http://crbug.com/404525
3107 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, 3104 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']},
3108 }], 3105 }],
3109 ['<(enable_arc)==1', {
3110 'defines': ['ENABLE_ARC=1'],
3111 }],
3112 ['chromium_code==0', { 3106 ['chromium_code==0', {
3113 'variables': { 3107 'variables': {
3114 'clang_warning_flags': [ 3108 'clang_warning_flags': [
3115 # Lots of third-party libraries have unused variables. Instead of 3109 # Lots of third-party libraries have unused variables. Instead of
3116 # suppressing them individually, we just blanket suppress them here. 3110 # suppressing them individually, we just blanket suppress them here.
3117 '-Wno-unused-variable', 3111 '-Wno-unused-variable',
3118 ], 3112 ],
3119 }, 3113 },
3120 'conditions': [ 3114 'conditions': [
3121 [ 'os_posix==1 and OS!="mac" and OS!="ios"', { 3115 [ 'os_posix==1 and OS!="mac" and OS!="ios"', {
(...skipping 3255 matching lines...) Expand 10 before | Expand all | Expand 10 after
6377 # settings in target dicts. SYMROOT is a special case, because many other 6371 # settings in target dicts. SYMROOT is a special case, because many other
6378 # Xcode variables depend on it, including variables such as 6372 # Xcode variables depend on it, including variables such as
6379 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6373 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6380 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6374 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6381 # files to appear (when present) in the UI as actual files and not red 6375 # files to appear (when present) in the UI as actual files and not red
6382 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6376 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6383 # and therefore SYMROOT, needs to be set at the project level. 6377 # and therefore SYMROOT, needs to be set at the project level.
6384 'SYMROOT': '<(DEPTH)/xcodebuild', 6378 'SYMROOT': '<(DEPTH)/xcodebuild',
6385 }, 6379 },
6386 } 6380 }
OLDNEW
« no previous file with comments | « no previous file | build/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698