Chromium Code Reviews| 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 2174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2185 }], | 2185 }], |
| 2186 ['use_ozone==1', { | 2186 ['use_ozone==1', { |
| 2187 'defines': ['USE_OZONE=1'], | 2187 'defines': ['USE_OZONE=1'], |
| 2188 }], | 2188 }], |
| 2189 ['use_default_render_theme==1', { | 2189 ['use_default_render_theme==1', { |
| 2190 'defines': ['USE_DEFAULT_RENDER_THEME=1'], | 2190 'defines': ['USE_DEFAULT_RENDER_THEME=1'], |
| 2191 }], | 2191 }], |
| 2192 ['use_libjpeg_turbo==1', { | 2192 ['use_libjpeg_turbo==1', { |
| 2193 'defines': ['USE_LIBJPEG_TURBO=1'], | 2193 'defines': ['USE_LIBJPEG_TURBO=1'], |
| 2194 }], | 2194 }], |
| 2195 ['use_nss==1', { | |
| 2196 'defines': ['USE_NSS=1'], | |
| 2197 }], | |
| 2198 ['use_x11==1', { | 2195 ['use_x11==1', { |
| 2199 'defines': ['USE_X11=1'], | 2196 'defines': ['USE_X11=1'], |
| 2200 }], | 2197 }], |
| 2201 ['use_clipboard_aurax11==1', { | 2198 ['use_clipboard_aurax11==1', { |
| 2202 'defines': ['USE_CLIPBOARD_AURAX11=1'], | 2199 'defines': ['USE_CLIPBOARD_AURAX11=1'], |
| 2203 }], | 2200 }], |
| 2204 ['enable_one_click_signin==1', { | 2201 ['enable_one_click_signin==1', { |
| 2205 'defines': ['ENABLE_ONE_CLICK_SIGNIN'], | 2202 'defines': ['ENABLE_ONE_CLICK_SIGNIN'], |
| 2206 }], | 2203 }], |
| 2207 ['toolkit_uses_gtk==1 and toolkit_views==0', { | 2204 ['toolkit_uses_gtk==1 and toolkit_views==0', { |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2344 ['tracing_like_official_build!=0', { | 2341 ['tracing_like_official_build!=0', { |
| 2345 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], | 2342 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], |
| 2346 }], # tracing_like_official_build!=0 | 2343 }], # tracing_like_official_build!=0 |
| 2347 ['win_use_allocator_shim==0', { | 2344 ['win_use_allocator_shim==0', { |
| 2348 'conditions': [ | 2345 'conditions': [ |
| 2349 ['OS=="win"', { | 2346 ['OS=="win"', { |
| 2350 'defines': ['NO_TCMALLOC'], | 2347 'defines': ['NO_TCMALLOC'], |
| 2351 }], | 2348 }], |
| 2352 ], | 2349 ], |
| 2353 }], | 2350 }], |
| 2354 ['use_openssl==1', { | |
| 2355 'defines': [ | |
| 2356 'USE_OPENSSL=1', | |
| 2357 ], | |
| 2358 }], | |
| 2359 ['enable_eglimage==1', { | 2351 ['enable_eglimage==1', { |
| 2360 'defines': [ | 2352 'defines': [ |
| 2361 'ENABLE_EGLIMAGE=1', | 2353 'ENABLE_EGLIMAGE=1', |
| 2362 ], | 2354 ], |
| 2363 }], | 2355 }], |
| 2364 ['syzyasan==1', { | 2356 ['syzyasan==1', { |
| 2365 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs. | 2357 # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs. |
| 2366 'msvs_settings': { | 2358 'msvs_settings': { |
| 2367 'VCLinkerTool': { | 2359 'VCLinkerTool': { |
| 2368 'Profile': 'true', | 2360 'Profile': 'true', |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2500 'defines': ['ENABLE_HANGOUT_SERVICES_EXTENSION=1'], | 2492 'defines': ['ENABLE_HANGOUT_SERVICES_EXTENSION=1'], |
| 2501 }], | 2493 }], |
| 2502 ['enable_ipc_fuzzer==1', { | 2494 ['enable_ipc_fuzzer==1', { |
| 2503 'defines': ['ENABLE_IPC_FUZZER=1'], | 2495 'defines': ['ENABLE_IPC_FUZZER=1'], |
| 2504 }], | 2496 }], |
| 2505 ['video_hole==1', { | 2497 ['video_hole==1', { |
| 2506 'defines': ['VIDEO_HOLE=1'], | 2498 'defines': ['VIDEO_HOLE=1'], |
| 2507 }], | 2499 }], |
| 2508 ], # conditions for 'target_defaults' | 2500 ], # conditions for 'target_defaults' |
| 2509 'target_conditions': [ | 2501 'target_conditions': [ |
| 2502 ['<(use_openssl)==1 or >(nacl_untrusted_build)==1', { | |
| 2503 'defines': ['USE_OPENSSL=1'], | |
|
Ryan Sleevi
2014/03/06 21:48:02
You will need to update DEPS for this - deps/third
Sergey Ulanov
2014/03/11 01:07:50
Done.
| |
| 2504 }], | |
| 2505 ['<(use_nss)==1 and >(nacl_untrusted_build)==0', { | |
| 2506 'defines': ['USE_NSS=1'], | |
| 2507 }], | |
| 2510 ['enable_wexit_time_destructors==1', { | 2508 ['enable_wexit_time_destructors==1', { |
| 2511 'conditions': [ | 2509 'conditions': [ |
| 2512 [ 'clang==1', { | 2510 [ 'clang==1', { |
| 2513 'cflags': [ | 2511 'cflags': [ |
| 2514 '-Wexit-time-destructors', | 2512 '-Wexit-time-destructors', |
| 2515 ], | 2513 ], |
| 2516 'xcode_settings': { | 2514 'xcode_settings': { |
| 2517 'WARNING_CFLAGS': [ | 2515 'WARNING_CFLAGS': [ |
| 2518 '-Wexit-time-destructors', | 2516 '-Wexit-time-destructors', |
| 2519 ], | 2517 ], |
| (...skipping 2513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5033 # settings in target dicts. SYMROOT is a special case, because many other | 5031 # settings in target dicts. SYMROOT is a special case, because many other |
| 5034 # Xcode variables depend on it, including variables such as | 5032 # Xcode variables depend on it, including variables such as |
| 5035 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5033 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5036 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5034 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5037 # files to appear (when present) in the UI as actual files and not red | 5035 # files to appear (when present) in the UI as actual files and not red |
| 5038 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5036 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5039 # and therefore SYMROOT, needs to be set at the project level. | 5037 # and therefore SYMROOT, needs to be set at the project level. |
| 5040 'SYMROOT': '<(DEPTH)/xcodebuild', | 5038 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5041 }, | 5039 }, |
| 5042 } | 5040 } |
| OLD | NEW |