Home | History | Annotate | Download | only in ppapi
      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
      3 # found in the LICENSE file.
      4 
      5 {
      6   'target_defaults': {
      7     'variables': {
      8       'nacl_win64_target': 0,
      9       'ppapi_ipc_target': 0,
     10     },
     11     'target_conditions': [
     12       # This part is shared between the targets defined below.
     13       ['ppapi_ipc_target==1', {
     14         'sources': [
     15           'proxy/nacl_message_scanner.cc',
     16           'proxy/nacl_message_scanner.h',
     17           'proxy/ppapi_messages.cc',
     18           'proxy/ppapi_messages.h',
     19           'proxy/ppapi_param_traits.cc',
     20           'proxy/ppapi_param_traits.h',
     21           'proxy/raw_var_data.cc',
     22           'proxy/raw_var_data.h',
     23           'proxy/resource_message_params.cc',
     24           'proxy/resource_message_params.h',
     25           'proxy/serialized_flash_menu.cc',
     26           'proxy/serialized_flash_menu.h',
     27           'proxy/serialized_handle.cc',
     28           'proxy/serialized_handle.h',
     29           'proxy/serialized_structs.cc',
     30           'proxy/serialized_structs.h',
     31           'proxy/serialized_var.cc',
     32           'proxy/serialized_var.h',
     33           'proxy/var_serialization_rules.h',
     34         ],
     35         'include_dirs': [
     36           '..',
     37         ],
     38         'target_conditions': [
     39           ['>(nacl_untrusted_build)==1 or >(nacl_win64_target)==1', {
     40             'sources!': [
     41               'proxy/serialized_flash_menu.cc',
     42             ],
     43           }],
     44         ],
     45       }],
     46     ],
     47   },
     48 }
     49