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 1527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1538 'ozone_platform_headless%': 0, | 1538 'ozone_platform_headless%': 0, |
1539 | 1539 |
1540 # Experiment: http://crbug.com/426914 | 1540 # Experiment: http://crbug.com/426914 |
1541 'envoy%': 0, | 1541 'envoy%': 0, |
1542 | 1542 |
1543 # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path | 1543 # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path |
1544 # for robust login screen decoding. | 1544 # for robust login screen decoding. |
1545 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', | 1545 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', |
1546 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', | 1546 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', |
1547 | 1547 |
| 1548 # ARC instance disabled by default. |
| 1549 'enable_arc%': 0, |
| 1550 |
1548 'conditions': [ | 1551 'conditions': [ |
1549 ['buildtype=="Official"', { | 1552 ['buildtype=="Official"', { |
1550 # Continue to embed build meta data in Official builds, basically the | 1553 # Continue to embed build meta data in Official builds, basically the |
1551 # time it was built. | 1554 # time it was built. |
1552 # TODO(maruel): This decision should be revisited because having an | 1555 # TODO(maruel): This decision should be revisited because having an |
1553 # official deterministic build has high value too but MSVC toolset can't | 1556 # official deterministic build has high value too but MSVC toolset can't |
1554 # generate anything deterministic with WPO enabled AFAIK. | 1557 # generate anything deterministic with WPO enabled AFAIK. |
1555 'dont_embed_build_metadata%': 0, | 1558 'dont_embed_build_metadata%': 0, |
1556 }], | 1559 }], |
1557 # Enable the Syzygy optimization step for the official builds. | 1560 # Enable the Syzygy optimization step for the official builds. |
(...skipping 1511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3069 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { | 3072 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { |
3070 'defines': ['USE_NSS_CERTS=1'], | 3073 'defines': ['USE_NSS_CERTS=1'], |
3071 }], | 3074 }], |
3072 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { | 3075 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { |
3073 'defines': ['OS_CHROMEOS=1'], | 3076 'defines': ['OS_CHROMEOS=1'], |
3074 }], | 3077 }], |
3075 ['enable_wexit_time_destructors==1 and OS!="win"', { | 3078 ['enable_wexit_time_destructors==1 and OS!="win"', { |
3076 # TODO: Enable on Windows too, http://crbug.com/404525 | 3079 # TODO: Enable on Windows too, http://crbug.com/404525 |
3077 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, | 3080 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, |
3078 }], | 3081 }], |
| 3082 ['<(enable_arc)==1', { |
| 3083 'defines': ['ENABLE_ARC=1'], |
| 3084 }], |
3079 ['chromium_code==0', { | 3085 ['chromium_code==0', { |
3080 'variables': { | 3086 'variables': { |
3081 'clang_warning_flags': [ | 3087 'clang_warning_flags': [ |
3082 # Lots of third-party libraries have unused variables. Instead of | 3088 # Lots of third-party libraries have unused variables. Instead of |
3083 # suppressing them individually, we just blanket suppress them here. | 3089 # suppressing them individually, we just blanket suppress them here. |
3084 '-Wno-unused-variable', | 3090 '-Wno-unused-variable', |
3085 ], | 3091 ], |
3086 }, | 3092 }, |
3087 'conditions': [ | 3093 'conditions': [ |
3088 [ 'os_posix==1 and OS!="mac" and OS!="ios"', { | 3094 [ 'os_posix==1 and OS!="mac" and OS!="ios"', { |
(...skipping 3255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6344 # settings in target dicts. SYMROOT is a special case, because many other | 6350 # settings in target dicts. SYMROOT is a special case, because many other |
6345 # Xcode variables depend on it, including variables such as | 6351 # Xcode variables depend on it, including variables such as |
6346 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6352 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6347 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6353 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6348 # files to appear (when present) in the UI as actual files and not red | 6354 # files to appear (when present) in the UI as actual files and not red |
6349 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6355 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6350 # and therefore SYMROOT, needs to be set at the project level. | 6356 # and therefore SYMROOT, needs to be set at the project level. |
6351 'SYMROOT': '<(DEPTH)/xcodebuild', | 6357 'SYMROOT': '<(DEPTH)/xcodebuild', |
6352 }, | 6358 }, |
6353 } | 6359 } |
OLD | NEW |