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

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

Issue 266153002: Port ui_base_jni_headers target to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 } 10 }
10 11
11 component("ui_base") { 12 component("ui_base") {
12 sources = [ 13 sources = [
13 "accelerators/accelerator.cc", 14 "accelerators/accelerator.cc",
14 "accelerators/accelerator.h", 15 "accelerators/accelerator.h",
15 "accelerators/accelerator_manager.cc", 16 "accelerators/accelerator_manager.cc",
16 "accelerators/accelerator_manager.h", 17 "accelerators/accelerator_manager.h",
17 "accelerators/menu_label_accelerator_util_linux.cc", 18 "accelerators/menu_label_accelerator_util_linux.cc",
18 "accelerators/menu_label_accelerator_util_linux.h", 19 "accelerators/menu_label_accelerator_util_linux.h",
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 "l10n/l10n_font_util.cc", 465 "l10n/l10n_font_util.cc",
465 "models/button_menu_item_model.cc", 466 "models/button_menu_item_model.cc",
466 "models/dialog_model.cc", 467 "models/dialog_model.cc",
467 "theme_provider.cc", 468 "theme_provider.cc",
468 "touch/touch_device.cc", 469 "touch/touch_device.cc",
469 "touch/touch_editing_controller.cc", 470 "touch/touch_editing_controller.cc",
470 "ui_base_types.cc", 471 "ui_base_types.cc",
471 ] 472 ]
472 473
473 deps += [ 474 deps += [
474 #":ui_base_jni_headers", 475 #":ui_base_jni_headers",
brettw 2014/05/05 17:16:13 I think you can uncomment this now.
tfarina 2014/05/05 17:57:07 Good catch. Done.
475 ] 476 ]
476 477
477 libs = [ 478 libs = [
478 "jnigraphics", 479 "jnigraphics",
479 ] 480 ]
480 } 481 }
481 482
482 if (is_android && is_android_webview_build) { 483 if (is_android && is_android_webview_build) {
483 deps += [ 484 deps += [
484 #TODO(GYP): port this component to GN. 485 #TODO(GYP): port this component to GN.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 534
534 if (!is_ios) { 535 if (!is_ios) {
535 sources += [ 536 sources += [
536 "ime/dummy_input_method.cc", 537 "ime/dummy_input_method.cc",
537 "ime/dummy_input_method.h", 538 "ime/dummy_input_method.h",
538 "ime/dummy_text_input_client.cc", 539 "ime/dummy_text_input_client.cc",
539 "ime/dummy_text_input_client.h", 540 "ime/dummy_text_input_client.h",
540 ] 541 ]
541 } 542 }
542 } 543 }
544
545 if (is_android) {
546 generate_jni("ui_base_jni_headers") {
547 sources = [
548 "../android/java/src/org/chromium/ui/base/Clipboard.java",
549 "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java",
550 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java",
551 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java",
552 "../android/java/src/org/chromium/ui/base/TouchDevice.java",
553 "../android/java/src/org/chromium/ui/base/ViewAndroid.java",
554 "../android/java/src/org/chromium/ui/base/WindowAndroid.java",
555 ]
556 jni_package = "base"
557 }
558 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698