Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Side by Side Diff: ui/gfx/BUILD.gn

Issue 666813002: GN: Fix Android component build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-clank
Patch Set: Actually undo gyp change Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 "nine_image_painter.h", 339 "nine_image_painter.h",
340 "path_aura.cc", 340 "path_aura.cc",
341 "screen_aura.cc", 341 "screen_aura.cc",
342 ] 342 ]
343 } 343 }
344 344
345 if (use_x11) { 345 if (use_x11) {
346 deps += [ 346 deps += [
347 "//ui/gfx/x", 347 "//ui/gfx/x",
348 ] 348 ]
349 configs += [
350 "//build/config/linux:x11",
351 ]
349 } else { 352 } else {
350 sources -= [ 353 sources -= [
351 "path_x11.cc", 354 "path_x11.cc",
352 ] 355 ]
353 } 356 }
354 357
355 if (use_pango) { 358 if (use_pango) {
356 sources += [ 359 sources += [
357 "pango_util.cc", 360 "pango_util.cc",
358 "pango_util.h", 361 "pango_util.h",
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 if (is_android) { 567 if (is_android) {
565 generate_jni("gfx_jni_headers") { 568 generate_jni("gfx_jni_headers") {
566 sources = [ 569 sources = [
567 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 570 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
568 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 571 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
569 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 572 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
570 ] 573 ]
571 jni_package = "gfx" 574 jni_package = "gfx"
572 } 575 }
573 } 576 }
OLDNEW
« third_party/cld/BUILD.gn ('K') | « ui/events/ipc/BUILD.gn ('k') | ui/gfx/ipc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698