OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 "display_observer.cc", | 253 "display_observer.cc", |
254 "selection_model.cc", | 254 "selection_model.cc", |
255 ] | 255 ] |
256 | 256 |
257 if (use_aura) { | 257 if (use_aura) { |
258 sources -= [ "screen_android.cc" ] | 258 sources -= [ "screen_android.cc" ] |
259 } else { | 259 } else { |
260 sources -= [ "path.cc" ] | 260 sources -= [ "path.cc" ] |
261 } | 261 } |
262 | 262 |
263 if (!is_android_webview_build) { | 263 # TODO(GYP) re-enable when base_java exists. |
264 deps += [ "//base:base_java" ] | 264 #if (!is_android_webview_build) { |
265 } | 265 # deps += [ "//base:base_java" ] |
| 266 #} |
266 | 267 |
267 deps += [ ":gfx_jni_headers" ] | 268 deps += [ ":gfx_jni_headers" ] |
268 libs = [ | 269 libs = [ |
269 "android", | 270 "android", |
270 "jnigraphics", | 271 "jnigraphics", |
271 ] | 272 ] |
272 } | 273 } |
273 | 274 |
274 if (is_android || is_ios) { | 275 if (is_android || is_ios) { |
275 sources -= [ | 276 sources -= [ |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 ] | 440 ] |
440 | 441 |
441 configs += [ "//build/config/linux:x11" ] | 442 configs += [ "//build/config/linux:x11" ] |
442 | 443 |
443 deps = [ | 444 deps = [ |
444 ":gfx_export", | 445 ":gfx_export", |
445 "//base" | 446 "//base" |
446 ] | 447 ] |
447 } | 448 } |
448 } | 449 } |
OLD | NEW |