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

Side by Side Diff: build/common.gypi

Issue 12304013: Introduce Image loader extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup. Created 7 years, 10 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
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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 # Set to 1 to enable fast builds. It disables debug info for fastest 195 # Set to 1 to enable fast builds. It disables debug info for fastest
196 # compilation. 196 # compilation.
197 'fastbuild%': 0, 197 'fastbuild%': 0,
198 198
199 # Set to 1 to enable dcheck in release without having to use the flag. 199 # Set to 1 to enable dcheck in release without having to use the flag.
200 'dcheck_always_on%': 0, 200 'dcheck_always_on%': 0,
201 201
202 # Disable file manager component extension by default. 202 # Disable file manager component extension by default.
203 'file_manager_extension%': 0, 203 'file_manager_extension%': 0,
204 204
205 # Disable image loader component extension by default.
206 'image_loader_extension%': 0,
207
205 # Python version. 208 # Python version.
206 'python_ver%': '2.6', 209 'python_ver%': '2.6',
207 210
208 # Set ARM-v7 compilation flags 211 # Set ARM-v7 compilation flags
209 'armv7%': 0, 212 'armv7%': 0,
210 213
211 # Set Neon compilation flags (only meaningful if armv7==1). 214 # Set Neon compilation flags (only meaningful if armv7==1).
212 'arm_neon%': 1, 215 'arm_neon%': 1,
213 216
214 # The system root for cross-compiles. Default: none. 217 # The system root for cross-compiles. Default: none.
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 'use_gnome_keyring%': 0, 469 'use_gnome_keyring%': 0,
467 }, { 470 }, {
468 'use_gnome_keyring%': 1, 471 'use_gnome_keyring%': 1,
469 }], 472 }],
470 473
471 ['toolkit_uses_gtk==1 or OS=="mac" or OS=="ios"', { 474 ['toolkit_uses_gtk==1 or OS=="mac" or OS=="ios"', {
472 # GTK+, Mac and iOS want Title Case strings 475 # GTK+, Mac and iOS want Title Case strings
473 'use_titlecase_in_grd_files%': 1, 476 'use_titlecase_in_grd_files%': 1,
474 }], 477 }],
475 478
476 # Enable file manager extension on Chrome OS. 479 # Enable file manager and image loader extensions on Chrome OS.
477 ['chromeos==1', { 480 ['chromeos==1', {
478 'file_manager_extension%': 1, 481 'file_manager_extension%': 1,
482 'image_loader_extension%': 1,
479 }, { 483 }, {
480 'file_manager_extension%': 0, 484 'file_manager_extension%': 0,
485 'image_loader_extension%': 0,
481 }], 486 }],
482 487
483 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { 488 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', {
484 'enable_one_click_signin%': 1, 489 'enable_one_click_signin%': 1,
485 }], 490 }],
486 491
487 ['OS=="android"', { 492 ['OS=="android"', {
488 'enable_automation%': 0, 493 'enable_automation%': 0,
489 'enable_extensions%': 0, 494 'enable_extensions%': 0,
490 'enable_google_now%': 0, 495 'enable_google_now%': 0,
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 'use_x11%': '<(use_x11)', 682 'use_x11%': '<(use_x11)',
678 'use_gnome_keyring%': '<(use_gnome_keyring)', 683 'use_gnome_keyring%': '<(use_gnome_keyring)',
679 'linux_fpic%': '<(linux_fpic)', 684 'linux_fpic%': '<(linux_fpic)',
680 'enable_pepper_threading%': '<(enable_pepper_threading)', 685 'enable_pepper_threading%': '<(enable_pepper_threading)',
681 'chromeos%': '<(chromeos)', 686 'chromeos%': '<(chromeos)',
682 'enable_viewport%': '<(enable_viewport)', 687 'enable_viewport%': '<(enable_viewport)',
683 'enable_hidpi%': '<(enable_hidpi)', 688 'enable_hidpi%': '<(enable_hidpi)',
684 'enable_touch_ui%': '<(enable_touch_ui)', 689 'enable_touch_ui%': '<(enable_touch_ui)',
685 'use_xi2_mt%':'<(use_xi2_mt)', 690 'use_xi2_mt%':'<(use_xi2_mt)',
686 'file_manager_extension%': '<(file_manager_extension)', 691 'file_manager_extension%': '<(file_manager_extension)',
692 'image_loader_extension%': '<(image_loader_extension)',
687 'inside_chromium_build%': '<(inside_chromium_build)', 693 'inside_chromium_build%': '<(inside_chromium_build)',
688 'fastbuild%': '<(fastbuild)', 694 'fastbuild%': '<(fastbuild)',
689 'dcheck_always_on%': '<(dcheck_always_on)', 695 'dcheck_always_on%': '<(dcheck_always_on)',
690 'python_ver%': '<(python_ver)', 696 'python_ver%': '<(python_ver)',
691 'armv7%': '<(armv7)', 697 'armv7%': '<(armv7)',
692 'arm_neon%': '<(arm_neon)', 698 'arm_neon%': '<(arm_neon)',
693 'sysroot%': '<(sysroot)', 699 'sysroot%': '<(sysroot)',
694 'system_libdir%': '<(system_libdir)', 700 'system_libdir%': '<(system_libdir)',
695 'component%': '<(component)', 701 'component%': '<(component)',
696 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', 702 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)',
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
1367 }], 1373 }],
1368 ['use_ash==1', { 1374 ['use_ash==1', {
1369 'grit_defines': ['-D', 'use_ash'], 1375 'grit_defines': ['-D', 'use_ash'],
1370 }], 1376 }],
1371 ['use_nss==1', { 1377 ['use_nss==1', {
1372 'grit_defines': ['-D', 'use_nss'], 1378 'grit_defines': ['-D', 'use_nss'],
1373 }], 1379 }],
1374 ['file_manager_extension==1', { 1380 ['file_manager_extension==1', {
1375 'grit_defines': ['-D', 'file_manager_extension'], 1381 'grit_defines': ['-D', 'file_manager_extension'],
1376 }], 1382 }],
1383 ['image_loader_extension==1', {
1384 'grit_defines': ['-D', 'image_loader_extension'],
1385 }],
1377 ['remoting==1', { 1386 ['remoting==1', {
1378 'grit_defines': ['-D', 'remoting'], 1387 'grit_defines': ['-D', 'remoting'],
1379 }], 1388 }],
1380 ['use_titlecase_in_grd_files==1', { 1389 ['use_titlecase_in_grd_files==1', {
1381 'grit_defines': ['-D', 'use_titlecase'], 1390 'grit_defines': ['-D', 'use_titlecase'],
1382 }], 1391 }],
1383 ['use_third_party_translations==1', { 1392 ['use_third_party_translations==1', {
1384 'grit_defines': ['-D', 'use_third_party_translations'], 1393 'grit_defines': ['-D', 'use_third_party_translations'],
1385 'locales': [ 1394 'locales': [
1386 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', 1395 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia',
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1714 }], 1723 }],
1715 ['google_tv==1', { 1724 ['google_tv==1', {
1716 'defines': ['GOOGLE_TV=1'], 1725 'defines': ['GOOGLE_TV=1'],
1717 }], 1726 }],
1718 ['use_xi2_mt!=0', { 1727 ['use_xi2_mt!=0', {
1719 'defines': ['USE_XI2_MT=<(use_xi2_mt)'], 1728 'defines': ['USE_XI2_MT=<(use_xi2_mt)'],
1720 }], 1729 }],
1721 ['file_manager_extension==1', { 1730 ['file_manager_extension==1', {
1722 'defines': ['FILE_MANAGER_EXTENSION=1'], 1731 'defines': ['FILE_MANAGER_EXTENSION=1'],
1723 }], 1732 }],
1733 ['image_loader_extension==1', {
1734 'defines': ['IMAGE_LOADER_EXTENSION=1'],
1735 }],
1724 ['profiling==1', { 1736 ['profiling==1', {
1725 'defines': ['ENABLE_PROFILING=1'], 1737 'defines': ['ENABLE_PROFILING=1'],
1726 }], 1738 }],
1727 ['OS=="linux" and glibcxx_debug==1', { 1739 ['OS=="linux" and glibcxx_debug==1', {
1728 'defines': ['_GLIBCXX_DEBUG=1',], 1740 'defines': ['_GLIBCXX_DEBUG=1',],
1729 'cflags_cc+': ['-g'], 1741 'cflags_cc+': ['-g'],
1730 }], 1742 }],
1731 ['remoting==1', { 1743 ['remoting==1', {
1732 'defines': ['ENABLE_REMOTING=1'], 1744 'defines': ['ENABLE_REMOTING=1'],
1733 }], 1745 }],
(...skipping 2317 matching lines...) Expand 10 before | Expand all | Expand 10 after
4051 # settings in target dicts. SYMROOT is a special case, because many other 4063 # settings in target dicts. SYMROOT is a special case, because many other
4052 # Xcode variables depend on it, including variables such as 4064 # Xcode variables depend on it, including variables such as
4053 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4065 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4054 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4066 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4055 # files to appear (when present) in the UI as actual files and not red 4067 # files to appear (when present) in the UI as actual files and not red
4056 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4068 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4057 # and therefore SYMROOT, needs to be set at the project level. 4069 # and therefore SYMROOT, needs to be set at the project level.
4058 'SYMROOT': '<(DEPTH)/xcodebuild', 4070 'SYMROOT': '<(DEPTH)/xcodebuild',
4059 }, 4071 },
4060 } 4072 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_resources.grd » ('j') | chrome/browser/resources/image_loader/client.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698