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

Side by Side Diff: build/common.gypi

Issue 324403002: Do not define OS_CHROMEOS for untrusted NaCl code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « base/time/time_posix.cc ('k') | no next file » | 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 2429 matching lines...) Expand 10 before | Expand all | Expand 10 after
2440 }], 2440 }],
2441 ['use_x11==1', { 2441 ['use_x11==1', {
2442 'defines': ['USE_X11=1'], 2442 'defines': ['USE_X11=1'],
2443 }], 2443 }],
2444 ['use_clipboard_aurax11==1', { 2444 ['use_clipboard_aurax11==1', {
2445 'defines': ['USE_CLIPBOARD_AURAX11=1'], 2445 'defines': ['USE_CLIPBOARD_AURAX11=1'],
2446 }], 2446 }],
2447 ['enable_one_click_signin==1', { 2447 ['enable_one_click_signin==1', {
2448 'defines': ['ENABLE_ONE_CLICK_SIGNIN'], 2448 'defines': ['ENABLE_ONE_CLICK_SIGNIN'],
2449 }], 2449 }],
2450 ['chromeos==1', {
2451 'defines': ['OS_CHROMEOS=1'],
2452 }],
2453 ['use_xi2_mt!=0 and use_x11==1', { 2450 ['use_xi2_mt!=0 and use_x11==1', {
2454 'defines': ['USE_XI2_MT=<(use_xi2_mt)'], 2451 'defines': ['USE_XI2_MT=<(use_xi2_mt)'],
2455 }], 2452 }],
2456 ['image_loader_extension==1', { 2453 ['image_loader_extension==1', {
2457 'defines': ['IMAGE_LOADER_EXTENSION=1'], 2454 'defines': ['IMAGE_LOADER_EXTENSION=1'],
2458 }], 2455 }],
2459 ['profiling==1', { 2456 ['profiling==1', {
2460 'defines': ['ENABLE_PROFILING=1'], 2457 'defines': ['ENABLE_PROFILING=1'],
2461 }], 2458 }],
2462 ['remoting==1', { 2459 ['remoting==1', {
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
2778 }], 2775 }],
2779 ['>(nacl_untrusted_build)==1', { 2776 ['>(nacl_untrusted_build)==1', {
2780 'defines': [ 2777 'defines': [
2781 'USE_OPENSSL=1', 2778 'USE_OPENSSL=1',
2782 'USE_OPENSSL_CERTS=1', 2779 'USE_OPENSSL_CERTS=1',
2783 ], 2780 ],
2784 }], 2781 }],
2785 ['<(use_nss)==1 and >(nacl_untrusted_build)==0', { 2782 ['<(use_nss)==1 and >(nacl_untrusted_build)==0', {
2786 'defines': ['USE_NSS=1'], 2783 'defines': ['USE_NSS=1'],
2787 }], 2784 }],
2785 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', {
2786 'defines': ['OS_CHROMEOS=1'],
2787 }],
2788 ['enable_wexit_time_destructors==1', { 2788 ['enable_wexit_time_destructors==1', {
2789 'conditions': [ 2789 'conditions': [
2790 [ 'clang==1', { 2790 [ 'clang==1', {
2791 'cflags': [ 2791 'cflags': [
2792 '-Wexit-time-destructors', 2792 '-Wexit-time-destructors',
2793 ], 2793 ],
2794 'xcode_settings': { 2794 'xcode_settings': {
2795 'WARNING_CFLAGS': [ 2795 'WARNING_CFLAGS': [
2796 '-Wexit-time-destructors', 2796 '-Wexit-time-destructors',
2797 ], 2797 ],
(...skipping 2640 matching lines...) Expand 10 before | Expand all | Expand 10 after
5438 # settings in target dicts. SYMROOT is a special case, because many other 5438 # settings in target dicts. SYMROOT is a special case, because many other
5439 # Xcode variables depend on it, including variables such as 5439 # Xcode variables depend on it, including variables such as
5440 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5440 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5441 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5441 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5442 # files to appear (when present) in the UI as actual files and not red 5442 # files to appear (when present) in the UI as actual files and not red
5443 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5443 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5444 # and therefore SYMROOT, needs to be set at the project level. 5444 # and therefore SYMROOT, needs to be set at the project level.
5445 'SYMROOT': '<(DEPTH)/xcodebuild', 5445 'SYMROOT': '<(DEPTH)/xcodebuild',
5446 }, 5446 },
5447 } 5447 }
OLDNEW
« no previous file with comments | « base/time/time_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698