| OLD | NEW | 
|    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     'use_system_sqlite%': 0, |    7     'use_system_sqlite%': 0, | 
|    8     'required_sqlite_version': '3.6.1', |    8     'required_sqlite_version': '3.6.1', | 
|    9   }, |    9   }, | 
|   10   'target_defaults': { |   10   'target_defaults': { | 
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   56           }, |   56           }, | 
|   57         }, { # else: OS != "linux" or ! use_system_sqlite |   57         }, { # else: OS != "linux" or ! use_system_sqlite | 
|   58           'product_name': 'sqlite3', |   58           'product_name': 'sqlite3', | 
|   59           'type': '<(library)', |   59           'type': '<(library)', | 
|   60           'msvs_guid': '6EAD4A4B-2BBC-4974-8E45-BB5C16CC2AC9', |   60           'msvs_guid': '6EAD4A4B-2BBC-4974-8E45-BB5C16CC2AC9', | 
|   61           'sources': [ |   61           'sources': [ | 
|   62             # This list contains all .h, .c, and .cc files in the directories |   62             # This list contains all .h, .c, and .cc files in the directories | 
|   63             # ext, preprocessed, and src, with the exception of src/lempar.c, |   63             # ext, preprocessed, and src, with the exception of src/lempar.c, | 
|   64             # src/shell*, and src/test*.  Exclusions are applied below in the |   64             # src/shell*, and src/test*.  Exclusions are applied below in the | 
|   65             # sources/ and sources! sections. |   65             # sources/ and sources! sections. | 
|   66             'ext/async/sqlite3async.c', |   66             'src/ext/async/sqlite3async.c', | 
|   67             'ext/async/sqlite3async.h', |   67             'src/ext/async/sqlite3async.h', | 
|   68             'ext/fts1/ft_hash.c', |   68             'src/ext/fts1/ft_hash.c', | 
|   69             'ext/fts1/ft_hash.h', |   69             'src/ext/fts1/ft_hash.h', | 
|   70             'ext/fts1/fts1.c', |   70             'src/ext/fts1/fts1.c', | 
|   71             'ext/fts1/fts1.h', |   71             'src/ext/fts1/fts1.h', | 
|   72             'ext/fts1/fts1_hash.c', |   72             'src/ext/fts1/fts1_hash.c', | 
|   73             'ext/fts1/fts1_hash.h', |   73             'src/ext/fts1/fts1_hash.h', | 
|   74             'ext/fts1/fts1_porter.c', |   74             'src/ext/fts1/fts1_porter.c', | 
|   75             'ext/fts1/fts1_tokenizer.h', |   75             'src/ext/fts1/fts1_tokenizer.h', | 
|   76             'ext/fts1/fts1_tokenizer1.c', |   76             'src/ext/fts1/fts1_tokenizer1.c', | 
|   77             'ext/fts1/fulltext.c', |   77             'src/ext/fts1/fulltext.c', | 
|   78             'ext/fts1/fulltext.h', |   78             'src/ext/fts1/fulltext.h', | 
|   79             'ext/fts1/simple_tokenizer.c', |   79             'src/ext/fts1/simple_tokenizer.c', | 
|   80             'ext/fts1/tokenizer.h', |   80             'src/ext/fts1/tokenizer.h', | 
|   81             'ext/fts2/fts2.c', |   81             'src/ext/fts2/fts2.c', | 
|   82             'ext/fts2/fts2.h', |   82             'src/ext/fts2/fts2.h', | 
|   83             'ext/fts2/fts2_hash.c', |   83             'src/ext/fts2/fts2_hash.c', | 
|   84             'ext/fts2/fts2_hash.h', |   84             'src/ext/fts2/fts2_hash.h', | 
|   85             'ext/fts2/fts2_icu.c', |   85             'src/ext/fts2/fts2_icu.c', | 
|   86             'ext/fts2/fts2_porter.c', |   86             'src/ext/fts2/fts2_porter.c', | 
|   87             'ext/fts2/fts2_tokenizer.c', |   87             'src/ext/fts2/fts2_tokenizer.c', | 
|   88             'ext/fts2/fts2_tokenizer.h', |   88             'src/ext/fts2/fts2_tokenizer.h', | 
|   89             'ext/fts2/fts2_tokenizer1.c', |   89             'src/ext/fts2/fts2_tokenizer1.c', | 
|   90             'ext/fts3/fts3.c', |   90             'src/ext/fts3/fts3.c', | 
|   91             'ext/fts3/fts3.h', |   91             'src/ext/fts3/fts3.h', | 
|   92             'ext/fts3/fts3_expr.c', |   92             'src/ext/fts3/fts3_expr.c', | 
|   93             'ext/fts3/fts3_expr.h', |   93             'src/ext/fts3/fts3_expr.h', | 
|   94             'ext/fts3/fts3_hash.c', |   94             'src/ext/fts3/fts3_hash.c', | 
|   95             'ext/fts3/fts3_hash.h', |   95             'src/ext/fts3/fts3_hash.h', | 
|   96             'ext/fts3/fts3_icu.c', |   96             'src/ext/fts3/fts3_icu.c', | 
|   97             'ext/fts3/fts3_porter.c', |   97             'src/ext/fts3/fts3_porter.c', | 
|   98             'ext/fts3/fts3_tokenizer.c', |   98             'src/ext/fts3/fts3_tokenizer.c', | 
|   99             'ext/fts3/fts3_tokenizer.h', |   99             'src/ext/fts3/fts3_tokenizer.h', | 
|  100             'ext/fts3/fts3_tokenizer1.c', |  100             'src/ext/fts3/fts3_tokenizer1.c', | 
|  101             'ext/icu/icu.c', |  101             'src/ext/icu/icu.c', | 
|  102             'ext/icu/sqliteicu.h', |  102             'src/ext/icu/sqliteicu.h', | 
|  103             'ext/rtree/rtree.c', |  103             'src/ext/rtree/rtree.c', | 
|  104             'ext/rtree/rtree.h', |  104             'src/ext/rtree/rtree.h', | 
|  105             'preprocessed/keywordhash.h', |  105             'src/preprocessed/keywordhash.h', | 
|  106             'preprocessed/opcodes.c', |  106             'src/preprocessed/opcodes.c', | 
|  107             'preprocessed/opcodes.h', |  107             'src/preprocessed/opcodes.h', | 
|  108             'preprocessed/parse.c', |  108             'src/preprocessed/parse.c', | 
|  109             'preprocessed/parse.h', |  109             'src/preprocessed/parse.h', | 
|  110             'preprocessed/sqlite3.h', |  110             'src/preprocessed/sqlite3.h', | 
|  111             'src/alter.c', |  111             'src/src/alter.c', | 
|  112             'src/analyze.c', |  112             'src/src/analyze.c', | 
|  113             'src/attach.c', |  113             'src/src/attach.c', | 
|  114             'src/auth.c', |  114             'src/src/auth.c', | 
|  115             'src/backup.c', |  115             'src/src/backup.c', | 
|  116             'src/bitvec.c', |  116             'src/src/bitvec.c', | 
|  117             'src/btmutex.c', |  117             'src/src/btmutex.c', | 
|  118             'src/btree.c', |  118             'src/src/btree.c', | 
|  119             'src/btree.h', |  119             'src/src/btree.h', | 
|  120             'src/btreeInt.h', |  120             'src/src/btreeInt.h', | 
|  121             'src/build.c', |  121             'src/src/build.c', | 
|  122             'src/callback.c', |  122             'src/src/callback.c', | 
|  123             'src/complete.c', |  123             'src/src/complete.c', | 
|  124             'src/date.c', |  124             'src/src/date.c', | 
|  125             'src/delete.c', |  125             'src/src/delete.c', | 
|  126             'src/expr.c', |  126             'src/src/expr.c', | 
|  127             'src/fault.c', |  127             'src/src/fault.c', | 
|  128             'src/func.c', |  128             'src/src/func.c', | 
|  129             'src/global.c', |  129             'src/src/global.c', | 
|  130             'src/hash.c', |  130             'src/src/hash.c', | 
|  131             'src/hash.h', |  131             'src/src/hash.h', | 
|  132             'src/hwtime.h', |  132             'src/src/hwtime.h', | 
|  133             'src/insert.c', |  133             'src/src/insert.c', | 
|  134             'src/journal.c', |  134             'src/src/journal.c', | 
|  135             'src/legacy.c', |  135             'src/src/legacy.c', | 
|  136             'src/loadext.c', |  136             'src/src/loadext.c', | 
|  137             'src/main.c', |  137             'src/src/main.c', | 
|  138             'src/malloc.c', |  138             'src/src/malloc.c', | 
|  139             'src/mem0.c', |  139             'src/src/mem0.c', | 
|  140             'src/mem1.c', |  140             'src/src/mem1.c', | 
|  141             'src/mem2.c', |  141             'src/src/mem2.c', | 
|  142             'src/mem3.c', |  142             'src/src/mem3.c', | 
|  143             'src/mem5.c', |  143             'src/src/mem5.c', | 
|  144             'src/memjournal.c', |  144             'src/src/memjournal.c', | 
|  145             'src/mutex.c', |  145             'src/src/mutex.c', | 
|  146             'src/mutex.h', |  146             'src/src/mutex.h', | 
|  147             'src/mutex_noop.c', |  147             'src/src/mutex_noop.c', | 
|  148             'src/mutex_os2.c', |  148             'src/src/mutex_os2.c', | 
|  149             'src/mutex_unix.c', |  149             'src/src/mutex_unix.c', | 
|  150             'src/mutex_w32.c', |  150             'src/src/mutex_w32.c', | 
|  151             'src/notify.c', |  151             'src/src/notify.c', | 
|  152             'src/os.c', |  152             'src/src/os.c', | 
|  153             'src/os.h', |  153             'src/src/os.h', | 
|  154             'src/os_common.h', |  154             'src/src/os_common.h', | 
|  155             'src/os_os2.c', |  155             'src/src/os_os2.c', | 
|  156             'src/os_symbian.cc', |  156             'src/src/os_symbian.cc', | 
|  157             'src/os_unix.c', |  157             'src/src/os_unix.c', | 
|  158             'src/os_win.c', |  158             'src/src/os_win.c', | 
|  159             'src/pager.c', |  159             'src/src/pager.c', | 
|  160             'src/pager.h', |  160             'src/src/pager.h', | 
|  161             'src/pcache.c', |  161             'src/src/pcache.c', | 
|  162             'src/pcache.h', |  162             'src/src/pcache.h', | 
|  163             'src/pcache1.c', |  163             'src/src/pcache1.c', | 
|  164             'src/pragma.c', |  164             'src/src/pragma.c', | 
|  165             'src/prepare.c', |  165             'src/src/prepare.c', | 
|  166             'src/printf.c', |  166             'src/src/printf.c', | 
|  167             'src/random.c', |  167             'src/src/random.c', | 
|  168             'src/resolve.c', |  168             'src/src/resolve.c', | 
|  169             'src/rowset.c', |  169             'src/src/rowset.c', | 
|  170             'src/select.c', |  170             'src/src/select.c', | 
|  171             'src/sqlite3ext.h', |  171             'src/src/sqlite3ext.h', | 
|  172             'src/sqliteInt.h', |  172             'src/src/sqliteInt.h', | 
|  173             'src/sqliteLimit.h', |  173             'src/src/sqliteLimit.h', | 
|  174             'src/status.c', |  174             'src/src/status.c', | 
|  175             'src/table.c', |  175             'src/src/table.c', | 
|  176             'src/tclsqlite.c', |  176             'src/src/tclsqlite.c', | 
|  177             'src/tokenize.c', |  177             'src/src/tokenize.c', | 
|  178             'src/trigger.c', |  178             'src/src/trigger.c', | 
|  179             'src/update.c', |  179             'src/src/update.c', | 
|  180             'src/utf.c', |  180             'src/src/utf.c', | 
|  181             'src/util.c', |  181             'src/src/util.c', | 
|  182             'src/vacuum.c', |  182             'src/src/vacuum.c', | 
|  183             'src/vdbe.c', |  183             'src/src/vdbe.c', | 
|  184             'src/vdbe.h', |  184             'src/src/vdbe.h', | 
|  185             'src/vdbeInt.h', |  185             'src/src/vdbeInt.h', | 
|  186             'src/vdbeapi.c', |  186             'src/src/vdbeapi.c', | 
|  187             'src/vdbeaux.c', |  187             'src/src/vdbeaux.c', | 
|  188             'src/vdbeblob.c', |  188             'src/src/vdbeblob.c', | 
|  189             'src/vdbemem.c', |  189             'src/src/vdbemem.c', | 
|  190             'src/vtab.c', |  190             'src/src/vtab.c', | 
|  191             'src/walker.c', |  191             'src/src/walker.c', | 
|  192             'src/where.c', |  192             'src/src/where.c', | 
|  193           ], |  193           ], | 
|  194           'sources/': [ |  194           'sources/': [ | 
|  195             ['exclude', '^ext/(fts1|rtree)/'], |  195             ['exclude', '^src/ext/(fts1|rtree)/'], | 
|  196             ['exclude', '(symbian|os2|noop)\\.cc?$'], |  196             ['exclude', '(symbian|os2|noop)\\.cc?$'], | 
|  197           ], |  197           ], | 
|  198           'sources!': [ |  198           'sources!': [ | 
|  199             'src/journal.c', |  199             'src/src/journal.c', | 
|  200             'src/tclsqlite.c', |  200             'src/src/tclsqlite.c', | 
|  201           ], |  201           ], | 
|  202           'include_dirs': [ |  202           'include_dirs': [ | 
|  203             'ext/icu', |  203             'src/ext/icu', | 
|  204             'preprocessed', |  204             'src/preprocessed', | 
|  205             'src', |  205             'src/src', | 
|  206           ], |  206           ], | 
|  207           'dependencies': [ |  207           'dependencies': [ | 
|  208             '../icu/icu.gyp:icui18n', |  208             '../icu/icu.gyp:icui18n', | 
|  209             '../icu/icu.gyp:icuuc', |  209             '../icu/icu.gyp:icuuc', | 
|  210           ], |  210           ], | 
|  211           'direct_dependent_settings': { |  | 
|  212             'include_dirs': [ |  | 
|  213               'preprocessed', |  | 
|  214             ], |  | 
|  215           }, |  | 
|  216           'msvs_disabled_warnings': [ |  211           'msvs_disabled_warnings': [ | 
|  217               4018, 4244, |  212               4018, 4244, | 
|  218           ], |  213           ], | 
|  219           'conditions': [ |  214           'conditions': [ | 
|  220             ['OS=="win"', { |  215             ['OS=="win"', { | 
|  221               'sources/': [['exclude', '_unix\\.cc?$']], |  216               'sources/': [['exclude', '_unix\\.cc?$']], | 
|  222             }, {  # else: OS!="win" |  217             }, {  # else: OS!="win" | 
|  223               'sources/': [['exclude', '_(w32|win)\\.cc?$']], |  218               'sources/': [['exclude', '_(w32|win)\\.cc?$']], | 
|  224             }], |  219             }], | 
|  225           ], |  220           ], | 
|  226         }], |  221         }], | 
|  227       ], |  222       ], | 
|  228     }, |  223     }, | 
|  229   ], |  224   ], | 
|  230   'conditions': [ |  225   'conditions': [ | 
|  231     ['(OS=="linux" or OS=="freebsd" or OS=="openbsd") and not use_system_sqlite'
     , { |  226     ['(OS=="linux" or OS=="freebsd" or OS=="openbsd") and not use_system_sqlite'
     , { | 
|  232       'targets': [ |  227       'targets': [ | 
|  233         { |  228         { | 
|  234           'target_name': 'sqlite_shell', |  229           'target_name': 'sqlite_shell', | 
|  235           'type': 'executable', |  230           'type': 'executable', | 
|  236           'dependencies': [ |  231           'dependencies': [ | 
|  237             '../icu/icu.gyp:icuuc', |  232             '../icu/icu.gyp:icuuc', | 
|  238             'sqlite', |  233             'sqlite', | 
|  239           ], |  234           ], | 
|  240           'sources': [ |  235           'sources': [ | 
|  241             'src/shell.c', |  236             'src/src/shell.c', | 
|  242             'src/shell_icu_linux.c', |  237             'src/src/shell_icu_linux.c', | 
|  243           ], |  238           ], | 
|  244           'link_settings': { |  239           'link_settings': { | 
|  245             'link_languages': ['c++'], |  240             'link_languages': ['c++'], | 
|  246           }, |  241           }, | 
|  247         }, |  242         }, | 
|  248       ], |  243       ], | 
|  249     },] |  244     },] | 
|  250   ], |  245   ], | 
|  251 } |  246 } | 
|  252  |  247  | 
|  253 # Local Variables: |  248 # Local Variables: | 
|  254 # tab-width:2 |  249 # tab-width:2 | 
|  255 # indent-tabs-mode:nil |  250 # indent-tabs-mode:nil | 
|  256 # End: |  251 # End: | 
|  257 # vim: set expandtab tabstop=2 shiftwidth=2: |  252 # vim: set expandtab tabstop=2 shiftwidth=2: | 
| OLD | NEW |