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