Unbundle DevTools frontend from Content Shell on Android

As per our decision in the bug, there is no reason for bundling
DevTools FE with Content Shell on Android. Unbundling it makes
Content Shell compatible with chrome://inspect page.

BUG=289233

Review URL: https://codereview.chromium.org/96903002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238090 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/content_shell.gypi b/content/content_shell.gypi
index 44e0995..c4ef442 100644
--- a/content/content_shell.gypi
+++ b/content/content_shell.gypi
@@ -314,7 +314,6 @@
       'target_name': 'content_shell_pak',
       'type': 'none',
       'dependencies': [
-        'browser/devtools/devtools_resources.gyp:devtools_resources',
         'content_resources.gyp:content_resources',
         'content_shell_resources',
         '<(DEPTH)/net/net.gyp:net_resources',
@@ -329,6 +328,11 @@
             'browser/tracing/tracing_resources.gyp:tracing_resources',
           ],
         }],
+        ['OS!="android"', {
+          'dependencies': [
+            'browser/devtools/devtools_resources.gyp:devtools_resources',
+          ],
+        }],
       ],
       'variables': {
         'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py',
@@ -346,7 +350,6 @@
               '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak',
               '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/webui_resources.pak',
               '<(SHARED_INTERMEDIATE_DIR)/ui/ui_strings/ui_strings_en-US.pak',
-              '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
               '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.pak',
               '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pak',
               '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak',
@@ -360,6 +363,11 @@
                      '<@(pak_inputs)'],
           'conditions': [
             ['OS!="android"', {
+              'variables': {
+                'pak_inputs': [
+                  '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
+                ],
+              },
               'outputs': [
                 '<(PRODUCT_DIR)/content_shell.pak',
               ],