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

Side by Side Diff: base/base.gyp

Issue 113168: Add xdg mime support on Linux. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « no previous file | base/mime_util.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/common.gypi', 10 '../build/common.gypi',
(...skipping 22 matching lines...) Expand all
33 'third_party/nspr/prcpucfg_win.h', 33 'third_party/nspr/prcpucfg_win.h',
34 'third_party/nspr/prtime.cc', 34 'third_party/nspr/prtime.cc',
35 'third_party/nspr/prtime.h', 35 'third_party/nspr/prtime.h',
36 'third_party/nspr/prtypes.h', 36 'third_party/nspr/prtypes.h',
37 'third_party/nss/blapi.h', 37 'third_party/nss/blapi.h',
38 'third_party/nss/blapit.h', 38 'third_party/nss/blapit.h',
39 'third_party/nss/sha256.h', 39 'third_party/nss/sha256.h',
40 'third_party/nss/sha512.cc', 40 'third_party/nss/sha512.cc',
41 'third_party/purify/pure.h', 41 'third_party/purify/pure.h',
42 'third_party/purify/pure_api.c', 42 'third_party/purify/pure_api.c',
43 'third_party/xdg_mime/xdgmime.c',
44 'third_party/xdg_mime/xdgmime.h',
45 'third_party/xdg_mime/xdgmimealias.c',
46 'third_party/xdg_mime/xdgmimealias.h',
47 'third_party/xdg_mime/xdgmimecache.c',
48 'third_party/xdg_mime/xdgmimecache.h',
49 'third_party/xdg_mime/xdgmimeglob.c',
50 'third_party/xdg_mime/xdgmimeglob.h',
51 'third_party/xdg_mime/xdgmimeicon.c',
52 'third_party/xdg_mime/xdgmimeicon.h',
53 'third_party/xdg_mime/xdgmimeint.c',
54 'third_party/xdg_mime/xdgmimeint.h',
55 'third_party/xdg_mime/xdgmimemagic.c',
56 'third_party/xdg_mime/xdgmimemagic.h',
57 'third_party/xdg_mime/xdgmimeparent.c',
58 'third_party/xdg_mime/xdgmimeparent.h',
43 'atomicops_internals_x86_gcc.cc', 59 'atomicops_internals_x86_gcc.cc',
44 'at_exit.cc', 60 'at_exit.cc',
45 'at_exit.h', 61 'at_exit.h',
46 'atomic_ref_count.h', 62 'atomic_ref_count.h',
47 'atomic_sequence_num.h', 63 'atomic_sequence_num.h',
48 'atomicops.h', 64 'atomicops.h',
49 'atomicops_internals_x86_msvc.h', 65 'atomicops_internals_x86_msvc.h',
50 'base_drag_source.cc', 66 'base_drag_source.cc',
51 'base_drag_source.h', 67 'base_drag_source.h',
52 'base_drop_target.cc', 68 'base_drop_target.cc',
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 'message_pump_default.cc', 176 'message_pump_default.cc',
161 'message_pump_default.h', 177 'message_pump_default.h',
162 'message_pump_glib.cc', 178 'message_pump_glib.cc',
163 'message_pump_glib.h', 179 'message_pump_glib.h',
164 'message_pump_libevent.cc', 180 'message_pump_libevent.cc',
165 'message_pump_libevent.h', 181 'message_pump_libevent.h',
166 'message_pump_mac.h', 182 'message_pump_mac.h',
167 'message_pump_mac.mm', 183 'message_pump_mac.mm',
168 'message_pump_win.cc', 184 'message_pump_win.cc',
169 'message_pump_win.h', 185 'message_pump_win.h',
186 'mime_util.h',
187 'mime_util_linux.cc',
170 'native_library.h', 188 'native_library.h',
171 'native_library_linux.cc', 189 'native_library_linux.cc',
172 'native_library_mac.mm', 190 'native_library_mac.mm',
173 'native_library_win.cc', 191 'native_library_win.cc',
174 'non_thread_safe.cc', 192 'non_thread_safe.cc',
175 'non_thread_safe.h', 193 'non_thread_safe.h',
176 'nss_init.cc', 194 'nss_init.cc',
177 'nss_init.h', 195 'nss_init.h',
178 'object_watcher.cc', 196 'object_watcher.cc',
179 'object_watcher.h', 197 'object_watcher.h',
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 }, { # else branding!="Chrome" 377 }, { # else branding!="Chrome"
360 'inputs': ['../chrome/app/theme/chromium/BRANDING'] 378 'inputs': ['../chrome/app/theme/chromium/BRANDING']
361 }], 379 }],
362 ], 380 ],
363 'outputs': [ 381 'outputs': [
364 # Use a non-existant output so this action always runs and 382 # Use a non-existant output so this action always runs and
365 # generates version information, e.g. to capture revision 383 # generates version information, e.g. to capture revision
366 # changes, which aren't captured by file dependencies. 384 # changes, which aren't captured by file dependencies.
367 '<(SHARED_INTERMEDIATE_DIR)/base/file_version_info_linux.bogus ', 385 '<(SHARED_INTERMEDIATE_DIR)/base/file_version_info_linux.bogus ',
368 386
369 » » # And this is the real output, so that the build system knows 387 # And this is the real output, so that the build system knows
370 » » # what action generates it. 388 # what action generates it.
371 '<(SHARED_INTERMEDIATE_DIR)/base/file_version_info_linux.h', 389 '<(SHARED_INTERMEDIATE_DIR)/base/file_version_info_linux.h',
372 ], 390 ],
373 'action': [ 391 'action': [
374 '../chrome/tools/build/linux/version.sh', 392 '../chrome/tools/build/linux/version.sh',
375 '<(template_input_path)', '<(template_output_path)', 393 '<(template_input_path)', '<(template_output_path)',
376 ], 394 ],
377 }, 395 },
378 ], 396 ],
379 'include_dirs': [ 397 'include_dirs': [
380 '<(SHARED_INTERMEDIATE_DIR)', 398 '<(SHARED_INTERMEDIATE_DIR)',
(...skipping 14 matching lines...) Expand all
395 '-Wno-write-strings', 413 '-Wno-write-strings',
396 ], 414 ],
397 'link_settings': { 415 'link_settings': {
398 'libraries': [ 416 'libraries': [
399 # We need rt for clock_gettime(). 417 # We need rt for clock_gettime().
400 '-lrt', 418 '-lrt',
401 ], 419 ],
402 }, 420 },
403 }, 421 },
404 { # else: OS != "linux" 422 { # else: OS != "linux"
423 'sources/': [
424 ['exclude', '/xdg_mime/'],
425 ],
405 'sources!': [ 426 'sources!': [
406 'crypto/signature_verifier_nss.cc', 427 'crypto/signature_verifier_nss.cc',
407 'atomicops_internals_x86_gcc.cc', 428 'atomicops_internals_x86_gcc.cc',
408 'directory_watcher_inotify.cc', 429 'directory_watcher_inotify.cc',
409 'hmac_nss.cc', 430 'hmac_nss.cc',
410 'idle_timer_none.cc', 431 'idle_timer_none.cc',
411 'linux_util.cc', 432 'linux_util.cc',
412 'message_pump_glib.cc', 433 'message_pump_glib.cc',
413 'nss_init.cc', 434 'nss_init.cc',
414 'nss_init.h', 435 'nss_init.h',
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 'target_name': 'debug_message', 740 'target_name': 'debug_message',
720 'type': 'executable', 741 'type': 'executable',
721 'sources': [ 742 'sources': [
722 'debug_message.cc', 743 'debug_message.cc',
723 ], 744 ],
724 }, 745 },
725 ], 746 ],
726 }], 747 }],
727 ], 748 ],
728 } 749 }
OLDNEW
« no previous file with comments | « no previous file | base/mime_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698