diff options
author | lambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-28 14:33:37 +0000 |
---|---|---|
committer | lambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-28 14:33:37 +0000 |
commit | eb69f2b5e8b506c7d2638f7c50c1acb0054b0b9b (patch) | |
tree | 59789cd985cc825513a9a5ae6b1c05184b7a583f /remoting/remoting_android.gypi | |
parent | 6a59f4f4eff10907d0747c23169ddd376942cb61 (diff) | |
download | chromium_src-eb69f2b5e8b506c7d2638f7c50c1acb0054b0b9b.zip chromium_src-eb69f2b5e8b506c7d2638f7c50c1acb0054b0b9b.tar.gz chromium_src-eb69f2b5e8b506c7d2638f7c50c1acb0054b0b9b.tar.bz2 |
Don't copy Chromoting Android resources into SHARED_INTERMEDIATE_DIR
These copies are no longer required, since the Android resources now
follow the correct directory layout. More importantly, this prevents
build failures resulting from stale copies of resources, which can
happen if an xml resource file is deleted (for example, if a CL that
adds a new XML file gets reverted).
This also moves the README file up a level, since the android resources
directory cannot contain any non-resource files.
NOTRY=true
Review URL: https://codereview.chromium.org/183863003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254103 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/remoting_android.gypi')
-rw-r--r-- | remoting/remoting_android.gypi | 65 |
1 files changed, 1 insertions, 64 deletions
diff --git a/remoting/remoting_android.gypi b/remoting/remoting_android.gypi index fb6d755..a10d404 100644 --- a/remoting/remoting_android.gypi +++ b/remoting/remoting_android.gypi @@ -51,70 +51,6 @@ 'resources/icon_host.png', ], }, - { - 'destination': '<(SHARED_INTERMEDIATE_DIR)/remoting/android/res/drawable', - 'files': [ - 'resources/android/drawable/list_item_selector.xml', - ], - }, - { - 'destination': '<(SHARED_INTERMEDIATE_DIR)/remoting/android/res/drawable-hdpi', - 'files': [ - 'resources/android/drawable-hdpi/ic_action_keyboard.png', - ], - }, - { - 'destination': '<(SHARED_INTERMEDIATE_DIR)/remoting/android/res/drawable-mdpi', - 'files': [ - 'resources/android/drawable-mdpi/ic_action_keyboard.png', - ], - }, - { - 'destination': '<(SHARED_INTERMEDIATE_DIR)/remoting/android/res/drawable-xhdpi', - 'files': [ - 'resources/android/drawable-xhdpi/ic_action_keyboard.png', - ], - }, - { - 'destination': '<(SHARED_INTERMEDIATE_DIR)/remoting/android/res/drawable-xxhdpi', - 'files': [ - 'resources/android/drawable-xxhdpi/ic_action_keyboard.png', - ], - }, - { - 'destination': '<(SHARED_INTERMEDIATE_DIR)/remoting/android/res/layout', - 'files': [ - 'resources/android/layout/account_dropdown.xml', - 'resources/android/layout/account_selected.xml', - 'resources/android/layout/desktop.xml', - 'resources/android/layout/host.xml', - 'resources/android/layout/main.xml', - 'resources/android/layout/pin_dialog.xml', - ], - }, - { - 'destination': '<(SHARED_INTERMEDIATE_DIR)/remoting/android/res/menu', - 'files': [ - 'resources/android/menu/chromoting_actionbar.xml', - 'resources/android/menu/desktop_actionbar.xml', - 'resources/android/menu/help_actionbar.xml', - ], - }, - { - 'destination': '<(SHARED_INTERMEDIATE_DIR)/remoting/android/res/values', - 'files': [ - 'resources/android/values/colors.xml', - 'resources/android/values/dimens.xml', - 'resources/android/values/strings.xml', - 'resources/android/values/styles.xml', - ], - }, - { - 'destination': '<(SHARED_INTERMEDIATE_DIR)/remoting/android/res/values-land', - 'files': [ - 'resources/android/values-land/dimens.xml', - ], - }, ], }, # end of target 'remoting_android_resources' { @@ -160,6 +96,7 @@ 'java_in_dir': 'android/java', 'R_package': 'org.chromium.chromoting', 'package_name': '<(_target_name)', + 'resource_dir': 'resources/android', 'additional_res_dirs': [ '<(SHARED_INTERMEDIATE_DIR)/remoting/android/res' ], 'additional_input_paths': [ '<(PRODUCT_DIR)/obj/remoting/remoting_android_resources.actions_rules_copies.stamp', |