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 'target_name': 'gcm_driver', | 8 'target_name': 'gcm_driver', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 }, | 100 }, |
101 ], | 101 ], |
102 'conditions': [ | 102 'conditions': [ |
103 ['OS == "android"', { | 103 ['OS == "android"', { |
104 'targets': [ | 104 'targets': [ |
105 { | 105 { |
106 'target_name': 'gcm_driver_java', | 106 'target_name': 'gcm_driver_java', |
107 'type': 'none', | 107 'type': 'none', |
108 'dependencies': [ | 108 'dependencies': [ |
109 '../base/base.gyp:base', | 109 '../base/base.gyp:base', |
| 110 # TODO(johnme): Fix the layering violation of depending on content/ |
| 111 '../content/content.gyp:content_java', |
110 '../sync/sync.gyp:sync_java', | 112 '../sync/sync.gyp:sync_java', |
111 ], | 113 ], |
112 'variables': { | 114 'variables': { |
113 'java_in_dir': 'gcm_driver/android/java', | 115 'java_in_dir': 'gcm_driver/android/java', |
114 }, | 116 }, |
115 'includes': [ '../build/java.gypi' ], | 117 'includes': [ '../build/java.gypi' ], |
116 }, | 118 }, |
117 { | 119 { |
118 'target_name': 'gcm_driver_jni_headers', | 120 'target_name': 'gcm_driver_jni_headers', |
119 'type': 'none', | 121 'type': 'none', |
120 'sources': [ | 122 'sources': [ |
121 'gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMD
river.java', | 123 'gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMD
river.java', |
122 ], | 124 ], |
123 'variables': { | 125 'variables': { |
124 'jni_gen_package': 'components/gcm_driver', | 126 'jni_gen_package': 'components/gcm_driver', |
125 }, | 127 }, |
126 'includes': [ '../build/jni_generator.gypi' ], | 128 'includes': [ '../build/jni_generator.gypi' ], |
127 }, | 129 }, |
128 ], | 130 ], |
129 }, | 131 }, |
130 ], | 132 ], |
131 ], | 133 ], |
132 } | 134 } |
OLD | NEW |