OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, # Use higher warning level. | 7 'chromium_code': 1, # Use higher warning level. |
8 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/ directxsdk)', | 8 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/ directxsdk)', |
9 'conditions': [ | 9 'conditions': [ |
10 ['inside_chromium_build==0', { | 10 ['inside_chromium_build==0', { |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
223 }, | 223 }, |
224 ], | 224 ], |
225 }, | 225 }, |
226 ], | 226 ], |
227 ['OS == "android"', { | 227 ['OS == "android"', { |
228 'targets': [ | 228 'targets': [ |
229 { | 229 { |
230 'target_name': 'common_aidl', | 230 'target_name': 'common_aidl', |
231 'type': 'none', | 231 'type': 'none', |
232 'variables': { | 232 'variables': { |
233 'aidl_interface_file': '../content/public/android/java/src/org/chromi um/content/common/common.aidl', | 233 'aidl_interface_file': 'public/android/java/src/org/chromium/content/ common/common.aidl', |
234 'input_package_path': 'org/chromium/content/common', | |
michaelbai
2012/07/09 18:28:11
It is a little weird to have input_package_path he
Steve Block
2012/07/09 19:52:07
Yes, we can get the package name from the aidl fil
jam
2012/07/10 00:53:59
I don't know much about gyp, but I'd prefer that t
Mark Mentovai
2012/07/10 12:30:04
You can’t make this work automatically without run
| |
234 }, | 235 }, |
235 'sources': [ | 236 'sources': [ |
236 '../content/public/android/java/src/org/chromium/content/common/ISand boxedProcessCallback.aidl', | 237 'public/android/java/src/org/chromium/content/common/ISandboxedProces sCallback.aidl', |
Mark Mentovai
2012/07/10 12:30:04
and use input_package_path here too? Or maybe eve
| |
237 '../content/public/android/java/src/org/chromium/content/common/ISand boxedProcessService.aidl', | 238 'public/android/java/src/org/chromium/content/common/ISandboxedProces sService.aidl', |
238 ], | 239 ], |
239 'includes': [ '../build/java_aidl.gypi' ], | 240 'includes': [ '../build/java_aidl.gypi' ], |
240 }, | 241 }, |
241 { | 242 { |
242 'target_name': 'content_java', | 243 'target_name': 'content_java', |
243 'type': 'none', | 244 'type': 'none', |
244 'dependencies': [ | 245 'dependencies': [ |
245 '../base/base.gyp:base_java', | 246 '../base/base.gyp:base_java', |
246 'content_common', | 247 'content_common', |
247 ], | 248 ], |
248 'variables': { | 249 'variables': { |
249 'package_name': 'content', | 250 'package_name': 'content', |
250 'java_in_dir': '../content/public/android/java', | 251 'java_in_dir': '../content/public/android/java', |
251 }, | 252 }, |
252 'includes': [ '../build/java.gypi' ], | 253 'includes': [ '../build/java.gypi' ], |
253 }, | 254 }, |
254 { | 255 { |
255 'target_name': 'content_jni_headers', | 256 'target_name': 'content_jni_headers', |
256 'type': 'none', | 257 'type': 'none', |
257 'includes': [ 'content_jni.gypi' ], | 258 'includes': [ 'content_jni.gypi' ], |
258 }, | 259 }, |
259 ], | 260 ], |
260 }], # OS == "android" | 261 }], # OS == "android" |
261 ], | 262 ], |
262 } | 263 } |
OLD | NEW |