| OLD | NEW |
| 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 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # GN version: //components/gcm_driver | 8 # GN version: //components/gcm_driver |
| 9 'target_name': 'gcm_driver', | 9 'target_name': 'gcm_driver', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 'gcm_driver/fake_gcm_client_factory.h', | 128 'gcm_driver/fake_gcm_client_factory.h', |
| 129 ], | 129 ], |
| 130 }], | 130 }], |
| 131 ], | 131 ], |
| 132 }, | 132 }, |
| 133 ], | 133 ], |
| 134 'conditions': [ | 134 'conditions': [ |
| 135 ['OS == "android"', { | 135 ['OS == "android"', { |
| 136 'targets': [ | 136 'targets': [ |
| 137 { | 137 { |
| 138 # GN version: //components/gcm_driver/android:gcm_driver_java |
| 138 'target_name': 'gcm_driver_java', | 139 'target_name': 'gcm_driver_java', |
| 139 'type': 'none', | 140 'type': 'none', |
| 140 'dependencies': [ | 141 'dependencies': [ |
| 141 '../base/base.gyp:base', | 142 '../base/base.gyp:base', |
| 142 # TODO(johnme): Fix the layering violation of depending on content/ | 143 # TODO(johnme): Fix the layering violation of depending on content/ |
| 143 '../content/content.gyp:content_java', | 144 '../content/content.gyp:content_java', |
| 144 '../sync/sync.gyp:sync_java', | 145 '../sync/sync.gyp:sync_java', |
| 145 ], | 146 ], |
| 146 'variables': { | 147 'variables': { |
| 147 'java_in_dir': 'gcm_driver/android/java', | 148 'java_in_dir': 'gcm_driver/android/java', |
| 148 }, | 149 }, |
| 149 'includes': [ '../build/java.gypi' ], | 150 'includes': [ '../build/java.gypi' ], |
| 150 }, | 151 }, |
| 151 { | 152 { |
| 152 # GN version: //components/gcm_driver:jni_headers | 153 # GN version: //components/gcm_driver/android:jni_headers |
| 153 'target_name': 'gcm_driver_jni_headers', | 154 'target_name': 'gcm_driver_jni_headers', |
| 154 'type': 'none', | 155 'type': 'none', |
| 155 'sources': [ | 156 'sources': [ |
| 156 'gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMD
river.java', | 157 'gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMD
river.java', |
| 157 ], | 158 ], |
| 158 'variables': { | 159 'variables': { |
| 159 'jni_gen_package': 'components/gcm_driver', | 160 'jni_gen_package': 'components/gcm_driver', |
| 160 }, | 161 }, |
| 161 'includes': [ '../build/jni_generator.gypi' ], | 162 'includes': [ '../build/jni_generator.gypi' ], |
| 162 }, | 163 }, |
| 163 ], | 164 ], |
| 164 }, | 165 }, |
| 165 ], | 166 ], |
| 166 ], | 167 ], |
| 167 } | 168 } |
| OLD | NEW |