| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 ] | 112 ] |
| 113 } | 113 } |
| 114 | 114 |
| 115 if (is_win || is_mac || is_chromeos) { | 115 if (is_win || is_mac || is_chromeos) { |
| 116 # RLZ works on these platforms. | 116 # RLZ works on these platforms. |
| 117 deps += [ | 117 deps += [ |
| 118 "//rlz:rlz_lib", | 118 "//rlz:rlz_lib", |
| 119 ] | 119 ] |
| 120 } | 120 } |
| 121 | 121 |
| 122 if (cpu_arch == "x86" || cpu_arch == "x64") { |
| 123 # YASM is x86/x64 only. |
| 124 deps += [ "//third_party/yasm($host_toolchain)" ] |
| 125 } |
| 126 |
| 122 if (is_android) { | 127 if (is_android) { |
| 123 deps -= [ | 128 deps -= [ |
| 124 "//cc", | 129 "//cc", |
| 125 "//content/public/common", | 130 "//content/public/common", |
| 126 "//content/public/renderer", | 131 "//content/public/renderer", |
| 127 "//dbus", | 132 "//dbus", |
| 128 "//extensions/common/api:extensions_api", | 133 "//extensions/common/api:extensions_api", |
| 129 "//pdf", # Not compiled on Android in GYP yet, either. | 134 "//pdf", # Not compiled on Android in GYP yet, either. |
| 130 "//ppapi:ppapi_c", | 135 "//ppapi:ppapi_c", |
| 131 "//sandbox", | 136 "//sandbox", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 143 ] | 148 ] |
| 144 } | 149 } |
| 145 | 150 |
| 146 if (use_ozone) { | 151 if (use_ozone) { |
| 147 deps += [ | 152 deps += [ |
| 148 "//ui/events/ozone:events_ozone", | 153 "//ui/events/ozone:events_ozone", |
| 149 "//ui/events/ozone:events_ozone_evdev", | 154 "//ui/events/ozone:events_ozone_evdev", |
| 150 ] | 155 ] |
| 151 } | 156 } |
| 152 } | 157 } |
| OLD | NEW |