OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this | 5 # This is the root build file for GN. GN will start processing by loading this |
6 # file, and recursively load all dependencies until all dependencies are either | 6 # file, and recursively load all dependencies until all dependencies are either |
7 # resolved or known not to exist (which will cause the build to fail). So if | 7 # resolved or known not to exist (which will cause the build to fail). So if |
8 # you add a new build file, there must be some path of dependencies from this | 8 # you add a new build file, there must be some path of dependencies from this |
9 # file to your new one or GN won't know about it. | 9 # file to your new one or GN won't know about it. |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 "//third_party/smhasher:cityhash", | 41 "//third_party/smhasher:cityhash", |
42 "//third_party/smhasher:murmurhash3", | 42 "//third_party/smhasher:murmurhash3", |
43 "//third_party/smhasher:pmurhash", | 43 "//third_party/smhasher:pmurhash", |
44 "//third_party/zlib", | 44 "//third_party/zlib", |
45 "//tools/gn", | 45 "//tools/gn", |
46 "//ui/events", | 46 "//ui/events", |
47 "//ui/gfx", | 47 "//ui/gfx", |
48 "//url", | 48 "//url", |
49 ] | 49 ] |
50 | 50 |
51 if (is_posix) { # TODO(brettw) should be use_openssl | 51 if (is_posix && !is_android) { # TODO(brettw) should be use_openssl |
52 deps += [ | 52 deps += [ |
53 "//third_party/openssl", | 53 "//third_party/openssl", |
54 ] | 54 ] |
55 } | 55 } |
56 if (is_linux) { | 56 if (is_linux) { |
57 deps += [ | 57 deps += [ |
58 "//third_party/freetype2", | 58 "//third_party/freetype2", |
59 ] | 59 ] |
60 } | 60 } |
| 61 |
| 62 if (is_android) { |
| 63 deps -= [ |
| 64 "//skia", |
| 65 "//third_party/libusb", |
| 66 "//tools/gn", |
| 67 "//ui/events", |
| 68 "//ui/gfx", |
| 69 ] |
| 70 } |
61 } | 71 } |
OLD | NEW |