OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'includes': [ |
| 7 '../../build/common.gypi', |
| 8 ], |
| 9 'targets': [ |
| 10 { |
| 11 'target_name': 'sqlite', |
| 12 'product_name': 'sqlite3', |
| 13 'type': 'static_library', |
| 14 'sources': [ |
| 15 # This list contains all .h, .c, and .cc files in the directories |
| 16 # ext, preprocessed, and src, with the exception of src/shell* and |
| 17 # src/test*. Exclusions are applied below in the sources/ and |
| 18 # sources! sections. |
| 19 'ext/fts1/ft_hash.c', |
| 20 'ext/fts1/ft_hash.h', |
| 21 'ext/fts1/fts1.c', |
| 22 'ext/fts1/fts1.h', |
| 23 'ext/fts1/fts1_hash.c', |
| 24 'ext/fts1/fts1_hash.h', |
| 25 'ext/fts1/fts1_porter.c', |
| 26 'ext/fts1/fts1_tokenizer.h', |
| 27 'ext/fts1/fts1_tokenizer1.c', |
| 28 'ext/fts1/fulltext.c', |
| 29 'ext/fts1/fulltext.h', |
| 30 'ext/fts1/simple_tokenizer.c', |
| 31 'ext/fts1/tokenizer.h', |
| 32 'ext/fts2/fts2.c', |
| 33 'ext/fts2/fts2.h', |
| 34 'ext/fts2/fts2_hash.c', |
| 35 'ext/fts2/fts2_hash.h', |
| 36 'ext/fts2/fts2_icu.c', |
| 37 'ext/fts2/fts2_porter.c', |
| 38 'ext/fts2/fts2_tokenizer.c', |
| 39 'ext/fts2/fts2_tokenizer.h', |
| 40 'ext/fts2/fts2_tokenizer1.c', |
| 41 'ext/fts3/fts3.c', |
| 42 'ext/fts3/fts3.h', |
| 43 'ext/fts3/fts3_hash.c', |
| 44 'ext/fts3/fts3_hash.h', |
| 45 'ext/fts3/fts3_icu.c', |
| 46 'ext/fts3/fts3_porter.c', |
| 47 'ext/fts3/fts3_tokenizer.c', |
| 48 'ext/fts3/fts3_tokenizer.h', |
| 49 'ext/fts3/fts3_tokenizer1.c', |
| 50 'ext/icu/icu.c', |
| 51 'ext/rtree/rtree.c', |
| 52 'ext/rtree/rtree.h', |
| 53 'preprocessed/keywordhash.h', |
| 54 'preprocessed/opcodes.c', |
| 55 'preprocessed/opcodes.h', |
| 56 'preprocessed/parse.c', |
| 57 'preprocessed/parse.h', |
| 58 'preprocessed/sqlite3.h', |
| 59 'src/alter.c', |
| 60 'src/analyze.c', |
| 61 'src/attach.c', |
| 62 'src/auth.c', |
| 63 'src/bitvec.c', |
| 64 'src/btmutex.c', |
| 65 'src/btree.c', |
| 66 'src/btree.h', |
| 67 'src/btreeInt.h', |
| 68 'src/build.c', |
| 69 'src/callback.c', |
| 70 'src/complete.c', |
| 71 'src/date.c', |
| 72 'src/delete.c', |
| 73 'src/expr.c', |
| 74 'src/fault.c', |
| 75 'src/func.c', |
| 76 'src/global.c', |
| 77 'src/hash.c', |
| 78 'src/hash.h', |
| 79 'src/hwtime.h', |
| 80 'src/insert.c', |
| 81 'src/journal.c', |
| 82 'src/legacy.c', |
| 83 'src/loadext.c', |
| 84 'src/main.c', |
| 85 'src/malloc.c', |
| 86 'src/md5.c', |
| 87 'src/mem1.c', |
| 88 'src/mem2.c', |
| 89 'src/mem3.c', |
| 90 'src/mem4.c', |
| 91 'src/mem5.c', |
| 92 'src/mem6.c', |
| 93 'src/mutex.c', |
| 94 'src/mutex.h', |
| 95 'src/mutex_os2.c', |
| 96 'src/mutex_unix.c', |
| 97 'src/mutex_w32.c', |
| 98 'src/os.c', |
| 99 'src/os.h', |
| 100 'src/os_common.h', |
| 101 'src/os_os2.c', |
| 102 'src/os_symbian.cc', |
| 103 'src/os_unix.c', |
| 104 'src/os_win.c', |
| 105 'src/pager.c', |
| 106 'src/pager.h', |
| 107 'src/pragma.c', |
| 108 'src/prepare.c', |
| 109 'src/printf.c', |
| 110 'src/random.c', |
| 111 'src/select.c', |
| 112 'src/sqlite3ext.h', |
| 113 'src/sqliteInt.h', |
| 114 'src/sqliteLimit.h', |
| 115 'src/status.c', |
| 116 'src/table.c', |
| 117 'src/tclsqlite.c', |
| 118 'src/tokenize.c', |
| 119 'src/trigger.c', |
| 120 'src/update.c', |
| 121 'src/utf.c', |
| 122 'src/util.c', |
| 123 'src/vacuum.c', |
| 124 'src/vdbe.c', |
| 125 'src/vdbe.h', |
| 126 'src/vdbeInt.h', |
| 127 'src/vdbeapi.c', |
| 128 'src/vdbeaux.c', |
| 129 'src/vdbeblob.c', |
| 130 'src/vdbefifo.c', |
| 131 'src/vdbemem.c', |
| 132 'src/vtab.c', |
| 133 'src/where.c', |
| 134 ], |
| 135 'sources/': [ |
| 136 ['exclude', '^ext/(fts[13]|rtree)/'], |
| 137 ['exclude', '(symbian|os2)\\.cc?$'], |
| 138 ], |
| 139 'sources!': [ |
| 140 'src/journal.c', |
| 141 'src/md5.c', |
| 142 'src/tclsqlite.c', |
| 143 ], |
| 144 'defines': [ |
| 145 'SQLITE_ENABLE_FTS2', |
| 146 'SQLITE_ENABLE_BROKEN_FTS2', |
| 147 'SQLITE_ENABLE_ICU', |
| 148 'SQLITE_SECURE_DELETE', |
| 149 'THREADSAFE', |
| 150 '_HAS_EXCEPTIONS=0', |
| 151 ], |
| 152 'include_dirs': [ |
| 153 'preprocessed', |
| 154 'src', |
| 155 ], |
| 156 'dependencies': [ |
| 157 '../icu38/icu38.gyp:icui18n', |
| 158 '../icu38/icu38.gyp:icuuc', |
| 159 ], |
| 160 'direct_dependent_settings': { |
| 161 'include_dirs': [ |
| 162 'preprocessed', |
| 163 ], |
| 164 }, |
| 165 'conditions': [ |
| 166 ['OS=="win"', { |
| 167 'sources/': [['exclude', '_unix\\.cc?$']], |
| 168 }, { # else: OS!="win" |
| 169 'sources/': [['exclude', '_(w32|win)\\.cc?$']], |
| 170 }], |
| 171 ], |
| 172 }, |
| 173 ], |
| 174 } |
OLD | NEW |