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 2193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2204 }], | 2204 }], |
2205 ['use_ozone==1', { | 2205 ['use_ozone==1', { |
2206 'defines': ['USE_OZONE=1'], | 2206 'defines': ['USE_OZONE=1'], |
2207 }], | 2207 }], |
2208 ['use_default_render_theme==1', { | 2208 ['use_default_render_theme==1', { |
2209 'defines': ['USE_DEFAULT_RENDER_THEME=1'], | 2209 'defines': ['USE_DEFAULT_RENDER_THEME=1'], |
2210 }], | 2210 }], |
2211 ['use_libjpeg_turbo==1', { | 2211 ['use_libjpeg_turbo==1', { |
2212 'defines': ['USE_LIBJPEG_TURBO=1'], | 2212 'defines': ['USE_LIBJPEG_TURBO=1'], |
2213 }], | 2213 }], |
2214 ['use_nss==1', { | |
2215 'defines': ['USE_NSS=1'], | |
2216 }], | |
2217 ['use_x11==1', { | 2214 ['use_x11==1', { |
2218 'defines': ['USE_X11=1'], | 2215 'defines': ['USE_X11=1'], |
2219 }], | 2216 }], |
2220 ['use_clipboard_aurax11==1', { | 2217 ['use_clipboard_aurax11==1', { |
2221 'defines': ['USE_CLIPBOARD_AURAX11=1'], | 2218 'defines': ['USE_CLIPBOARD_AURAX11=1'], |
2222 }], | 2219 }], |
2223 ['enable_one_click_signin==1', { | 2220 ['enable_one_click_signin==1', { |
2224 'defines': ['ENABLE_ONE_CLICK_SIGNIN'], | 2221 'defines': ['ENABLE_ONE_CLICK_SIGNIN'], |
2225 }], | 2222 }], |
2226 ['toolkit_uses_gtk==1 and toolkit_views==0', { | 2223 ['toolkit_uses_gtk==1 and toolkit_views==0', { |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2360 ['tracing_like_official_build!=0', { | 2357 ['tracing_like_official_build!=0', { |
2361 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], | 2358 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], |
2362 }], # tracing_like_official_build!=0 | 2359 }], # tracing_like_official_build!=0 |
2363 ['win_use_allocator_shim==0', { | 2360 ['win_use_allocator_shim==0', { |
2364 'conditions': [ | 2361 'conditions': [ |
2365 ['OS=="win"', { | 2362 ['OS=="win"', { |
2366 'defines': ['NO_TCMALLOC'], | 2363 'defines': ['NO_TCMALLOC'], |
2367 }], | 2364 }], |
2368 ], | 2365 ], |
2369 }], | 2366 }], |
2370 ['use_openssl==1', { | |
2371 'defines': [ | |
2372 'USE_OPENSSL=1', | |
2373 ], | |
2374 }], | |
2375 ['enable_eglimage==1', { | 2367 ['enable_eglimage==1', { |
2376 'defines': [ | 2368 'defines': [ |
2377 'ENABLE_EGLIMAGE=1', | 2369 'ENABLE_EGLIMAGE=1', |
2378 ], | 2370 ], |
2379 }], | 2371 }], |
2380 ['syzyasan==1', { | 2372 ['syzyasan==1', { |
2381 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs. | 2373 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs. |
2382 'msvs_settings': { | 2374 'msvs_settings': { |
2383 'VCLinkerTool': { | 2375 'VCLinkerTool': { |
2384 'Profile': 'true', | 2376 'Profile': 'true', |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2516 'defines': ['ENABLE_HANGOUT_SERVICES_EXTENSION=1'], | 2508 'defines': ['ENABLE_HANGOUT_SERVICES_EXTENSION=1'], |
2517 }], | 2509 }], |
2518 ['enable_ipc_fuzzer==1', { | 2510 ['enable_ipc_fuzzer==1', { |
2519 'defines': ['ENABLE_IPC_FUZZER=1'], | 2511 'defines': ['ENABLE_IPC_FUZZER=1'], |
2520 }], | 2512 }], |
2521 ['video_hole==1', { | 2513 ['video_hole==1', { |
2522 'defines': ['VIDEO_HOLE=1'], | 2514 'defines': ['VIDEO_HOLE=1'], |
2523 }], | 2515 }], |
2524 ], # conditions for 'target_defaults' | 2516 ], # conditions for 'target_defaults' |
2525 'target_conditions': [ | 2517 'target_conditions': [ |
| 2518 ['<(use_openssl)==1 or >(nacl_untrusted_build)==1', { |
| 2519 'defines': ['USE_OPENSSL=1'], |
| 2520 }], |
| 2521 ['<(use_nss)==1 and >(nacl_untrusted_build)==0', { |
| 2522 'defines': ['USE_NSS=1'], |
| 2523 }], |
2526 ['enable_wexit_time_destructors==1', { | 2524 ['enable_wexit_time_destructors==1', { |
2527 'conditions': [ | 2525 'conditions': [ |
2528 [ 'clang==1', { | 2526 [ 'clang==1', { |
2529 'cflags': [ | 2527 'cflags': [ |
2530 '-Wexit-time-destructors', | 2528 '-Wexit-time-destructors', |
2531 ], | 2529 ], |
2532 'xcode_settings': { | 2530 'xcode_settings': { |
2533 'WARNING_CFLAGS': [ | 2531 'WARNING_CFLAGS': [ |
2534 '-Wexit-time-destructors', | 2532 '-Wexit-time-destructors', |
2535 ], | 2533 ], |
(...skipping 2516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5052 # settings in target dicts. SYMROOT is a special case, because many other | 5050 # settings in target dicts. SYMROOT is a special case, because many other |
5053 # Xcode variables depend on it, including variables such as | 5051 # Xcode variables depend on it, including variables such as |
5054 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5052 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5055 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5053 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5056 # files to appear (when present) in the UI as actual files and not red | 5054 # files to appear (when present) in the UI as actual files and not red |
5057 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5055 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5058 # and therefore SYMROOT, needs to be set at the project level. | 5056 # and therefore SYMROOT, needs to be set at the project level. |
5059 'SYMROOT': '<(DEPTH)/xcodebuild', | 5057 'SYMROOT': '<(DEPTH)/xcodebuild', |
5060 }, | 5058 }, |
5061 } | 5059 } |
OLD | NEW |