diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-15 17:52:54 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-15 17:52:54 +0000 |
commit | f450287d9b98a4e05dee6c3f6081fc4c47df44b0 (patch) | |
tree | 0b80d79ae38dac9a0e0e638f954c73051cd8ca8c /ui/ui.gyp | |
parent | 703fe530a9caa267696aa7c3bc3a8dad1c4e5257 (diff) | |
download | chromium_src-f450287d9b98a4e05dee6c3f6081fc4c47df44b0.zip chromium_src-f450287d9b98a4e05dee6c3f6081fc4c47df44b0.tar.gz chromium_src-f450287d9b98a4e05dee6c3f6081fc4c47df44b0.tar.bz2 |
ui: Android changes.
A series of changes related to android code organization under ui, that came
after the discussion in https://codereview.chromium.org/62203014/.
- Rename ui_jni_registrar.* to ui_base_jni_registrar.*
- Create a base/ directory under ui/android/java/src/org/chromium/ui, and move
some java files there.
- Move Surface java files into ui/android/java/src/org/chromium/ui/gl/ directory.
- Rename ui_jni_headers to ui_base_jni_headers.
- Create a new ui_android.gyp file under ui/android to contain ui_java target.
BUG=299841
R=tedchoc@chromium.org, yfriedman@chromium.org
TBR=ben
Review URL: https://codereview.chromium.org/70843003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235369 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/ui.gyp')
-rw-r--r-- | ui/ui.gyp | 48 |
1 files changed, 10 insertions, 38 deletions
@@ -54,8 +54,8 @@ 'base/accessibility/accessible_text_utils.h', 'base/accessibility/accessible_view_state.cc', 'base/accessibility/accessible_view_state.h', - 'base/android/ui_jni_registrar.cc', - 'base/android/ui_jni_registrar.h', + 'base/android/ui_base_jni_registrar.cc', + 'base/android/ui_base_jni_registrar.h', 'base/android/view_android.cc', 'base/android/view_android.h', 'base/android/window_android.cc', @@ -561,7 +561,7 @@ 'base/ui_base_types.cc', ], 'dependencies': [ - 'ui_jni_headers', + 'ui_base_jni_headers', ], 'include_dirs': [ '<(SHARED_INTERMEDIATE_DIR)/ui', @@ -574,7 +574,7 @@ }], ['OS=="android" and android_webview_build==0', { 'dependencies': [ - 'ui_java', + 'android/ui_android.gyp:ui_java', ], }], ['OS=="android" or OS=="ios"', { @@ -621,7 +621,7 @@ ['OS=="android"' , { 'targets': [ { - 'target_name': 'ui_jni_headers', + 'target_name': 'ui_base_jni_headers', 'type': 'none', 'direct_dependent_settings': { 'include_dirs': [ @@ -629,11 +629,11 @@ ], }, 'sources': [ - 'android/java/src/org/chromium/ui/Clipboard.java', - 'android/java/src/org/chromium/ui/LocalizationUtils.java', - 'android/java/src/org/chromium/ui/SelectFileDialog.java', - 'android/java/src/org/chromium/ui/ViewAndroid.java', - 'android/java/src/org/chromium/ui/WindowAndroid.java', + 'android/java/src/org/chromium/ui/base/Clipboard.java', + 'android/java/src/org/chromium/ui/base/LocalizationUtils.java', + 'android/java/src/org/chromium/ui/base/SelectFileDialog.java', + 'android/java/src/org/chromium/ui/base/ViewAndroid.java', + 'android/java/src/org/chromium/ui/base/WindowAndroid.java', ], 'variables': { 'jni_gen_package': 'ui', @@ -641,34 +641,6 @@ }, 'includes': [ '../build/jni_generator.gypi' ], }, - { - 'target_name': 'ui_java', - 'type': 'none', - 'variables': { - 'java_in_dir': '../ui/android/java', - 'has_java_resources': 1, - 'R_package': 'org.chromium.ui', - 'R_package_relpath': 'org/chromium/ui', - 'java_strings_grd': 'android_ui_strings.grd', - }, - 'dependencies': [ - '../base/base.gyp:base_java', - 'window_open_disposition_java', - ], - 'includes': [ '../build/java.gypi' ], - }, - { - 'target_name': 'window_open_disposition_java', - 'type': 'none', - 'sources': [ - 'android/java/WindowOpenDisposition.template', - ], - 'variables': { - 'package_name': 'org/chromium/ui', - 'template_deps': ['base/window_open_disposition_list.h'], - }, - 'includes': [ '../build/android/java_cpp_template.gypi' ], - }, ], }], ['OS=="mac"', { |