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

Side by Side Diff: build/common.gypi

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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
« no previous file with comments | « build/build_config.h ('k') | 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 # Default MIPS arch variant. This is set in the conditions block 183 # Default MIPS arch variant. This is set in the conditions block
184 # below for MIPS targets. 184 # below for MIPS targets.
185 'mips_arch_variant%': '', 185 'mips_arch_variant%': '',
186 186
187 'conditions': [ 187 'conditions': [
188 # Ash needs Aura. 188 # Ash needs Aura.
189 ['use_aura==0', { 189 ['use_aura==0', {
190 'use_ash%': 0, 190 'use_ash%': 0,
191 }], 191 }],
192 192
193 # Set default value of toolkit_views based on OS.
194 ['OS=="win" or chromeos==1 or use_aura==1', {
195 'toolkit_views%': 1,
196 }, {
197 'toolkit_views%': 0,
198 }],
199
200 # Embedded builds use aura without ash or views. 193 # Embedded builds use aura without ash or views.
201 ['embedded==1', { 194 ['embedded==1', {
202 'use_aura%': 1, 195 'use_aura%': 1,
203 'use_ash%': 0, 196 'use_ash%': 0,
204 'toolkit_views%': 0, 197 'toolkit_views%': 0,
205 }], 198 }],
206 199
207 # Enable HiDPI on Mac OS, Chrome OS and Windows. 200 # Enable HiDPI on Mac OS, Chrome OS and Windows.
208 ['OS=="mac" or chromeos==1 or OS=="win"', { 201 ['OS=="mac" or chromeos==1 or OS=="win"', {
209 'enable_hidpi%': 1, 202 'enable_hidpi%': 1,
(...skipping 2372 matching lines...) Expand 10 before | Expand all | Expand 10 after
2582 # things when their commandline changes). Nothing should ever read this 2575 # things when their commandline changes). Nothing should ever read this
2583 # define. 2576 # define.
2584 'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh --print-revision)'], 2577 'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh --print-revision)'],
2585 }], 2578 }],
2586 ['enable_rlz==1', { 2579 ['enable_rlz==1', {
2587 'defines': ['ENABLE_RLZ'], 2580 'defines': ['ENABLE_RLZ'],
2588 }], 2581 }],
2589 ['component=="shared_library"', { 2582 ['component=="shared_library"', {
2590 'defines': ['COMPONENT_BUILD'], 2583 'defines': ['COMPONENT_BUILD'],
2591 }], 2584 }],
2592 ['toolkit_views==1', {
2593 'defines': ['TOOLKIT_VIEWS=1'],
2594 }],
2595 ['ui_compositor_image_transport==1', { 2585 ['ui_compositor_image_transport==1', {
2596 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], 2586 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'],
2597 }], 2587 }],
2598 ['use_aura==1', { 2588 ['use_aura==1', {
2599 'defines': ['USE_AURA=1'], 2589 'defines': ['USE_AURA=1'],
2600 }], 2590 }],
2601 ['use_ash==1', { 2591 ['use_ash==1', {
2602 'defines': ['USE_ASH=1'], 2592 'defines': ['USE_ASH=1'],
2603 }], 2593 }],
2604 ['use_pango==1', { 2594 ['use_pango==1', {
(...skipping 3236 matching lines...) Expand 10 before | Expand all | Expand 10 after
5841 # settings in target dicts. SYMROOT is a special case, because many other 5831 # settings in target dicts. SYMROOT is a special case, because many other
5842 # Xcode variables depend on it, including variables such as 5832 # Xcode variables depend on it, including variables such as
5843 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5833 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5844 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5834 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5845 # files to appear (when present) in the UI as actual files and not red 5835 # files to appear (when present) in the UI as actual files and not red
5846 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5836 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5847 # and therefore SYMROOT, needs to be set at the project level. 5837 # and therefore SYMROOT, needs to be set at the project level.
5848 'SYMROOT': '<(DEPTH)/xcodebuild', 5838 'SYMROOT': '<(DEPTH)/xcodebuild',
5849 }, 5839 },
5850 } 5840 }
OLDNEW
« no previous file with comments | « build/build_config.h ('k') | build/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698