Chromium Code Reviews| Index: third_party/libaddressinput/libaddressinput.gyp |
| diff --git a/third_party/libaddressinput/libaddressinput.gyp b/third_party/libaddressinput/libaddressinput.gyp |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e12e7e487b3f8069d853f1c0501b08acda842449 |
| --- /dev/null |
| +++ b/third_party/libaddressinput/libaddressinput.gyp |
| @@ -0,0 +1,90 @@ |
| +# Copyright 2013 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| +{ |
| + 'target_defaults': { |
| + 'cflags!': [ |
| + '-fvisibility=hidden', |
| + ], |
| + }, |
| + 'targets': [ |
| + { |
| + 'target_name': 'generated_messages', |
| + 'type': 'none', |
| + 'variables': { |
| + 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/', |
| + }, |
| + 'actions': [ |
| + { |
| + 'action_name': 'generate_messages', |
| + 'variables': { |
| + 'grit_grd_file': 'src/cpp/res/messages.grd', |
| + }, |
| + 'includes': [ |
| + '../../build/grit_action.gypi', |
| + ], |
| + }, |
| + ], |
| + 'includes': [ |
| + '../../build/grit_target.gypi', |
| + ], |
| + }, |
| + { |
| + 'target_name': 'libaddressinput', |
| + 'type': '<(component)', |
| + 'include_dirs+': [ |
|
please use gerrit instead
2013/11/20 00:04:19
I think that <(DEPS) might be forced upon all targ
please use gerrit instead
2013/11/20 00:10:21
s/DEPS/DEPTH/g
Dan Beam
2013/11/20 00:53:48
there's no more use of <(DEPTH) in this rule
|
| + 'chromium/', |
| + 'src/cpp/include/', |
| + 'src/cpp/src/', |
| + '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/', |
| + ], |
| + 'sources': [ |
| + 'chromium/util/json.cc', |
| + 'chromium/util/json.h', |
| + 'src/cpp/include/libaddressinput/address_field.h', |
| + 'src/cpp/include/libaddressinput/address_ui_component.h', |
| + 'src/cpp/include/libaddressinput/address_ui.h', |
| + 'src/cpp/include/libaddressinput/localization.h', |
| + 'src/cpp/src/address_field.cc', |
| + 'src/cpp/src/address_field_util.cc', |
| + 'src/cpp/src/address_ui.cc', |
| + 'src/cpp/src/localization.cc', |
| + 'src/cpp/src/region_data_constants.cc', |
| + 'src/cpp/src/rule.cc', |
| + ], |
| + 'dependencies': [ |
| + 'generated_messages', |
| + '<(DEPTH)/base/base.gyp:base', |
| + ], |
| + 'direct_dependent_settings': { |
| + 'include_dirs': [ |
| + 'chromium/', |
| + '<(DEPTH)/', |
| + 'src/cpp/include/', |
| + 'src/cpp/src/', |
| + '<(SHARED_INTERMEDIATE_DIR)/libaddressinput/', |
| + ], |
| + }, |
| + }, |
| + { |
| + 'target_name': 'libaddressinput_unittests', |
| + 'type': '<(gtest_target_type)', |
| + 'include_dirs+': [ |
| + '<(DEPTH)/testing/gtest/include/', |
| + ], |
| + 'sources': [ |
| + 'src/cpp/test/address_field_util_test.cc', |
| + 'src/cpp/test/address_ui_test.cc', |
| + 'src/cpp/test/localization_test.cc', |
| + 'src/cpp/test/region_data_constants_test.cc', |
| + 'src/cpp/test/rule_test.cc', |
| + 'src/cpp/test/util/json_test.cc', |
| + ], |
| + 'dependencies': [ |
| + 'libaddressinput', |
| + '<(DEPTH)/base/base.gyp:run_all_unittests', |
| + '<(DEPTH)/testing/gtest.gyp:gtest', |
| + ], |
| + }, |
| + ], |
| +} |